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