users@glassfish.java.net

Re: doing a lookup in a remote EJB

From: <forums_at_java.net>
Date: Fri, 19 Aug 2011 14:26:59 -0500 (CDT)

Can you print out the object returned from lookup before casting it to Foo? 
Is the ClassCastException from this line?  Could be a reference object.

Do you have all the classes in client classpath?


--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/835539