[jboss-user] [EJB 3.0] - Re: Unable to call Stateful Session bean

fla83tn do-not-reply at jboss.com
Fri Jan 4 04:20:18 EST 2008


Yes..I do the following:


  | 	 try {
  |          		InitialContext ctx=new InitialContext();
  | 	                stateful=(UserStateful)ctx.lookup("NewsCrawler/UserStatefulBean/remote");
  | 		 } catch (ServiceLocatorException e) {
  | 			e.printStackTrace();
  | 	         }
  | 

The object is looked up correctly, but it is not an instance of UserStateful. It is an instance of Proxy. 
>From what you can see from the JndiView it says it is an instance of object...is it correct that it is an instance of Object? Shouldn't the JndiView tell me that is an Instance of Proxy?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116955#4116955

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116955



More information about the jboss-user mailing list