[jboss-user] [JNDI/Naming/Network] - Re: Proxy ClassCastException after successful EJB lookup

PeterJ do-not-reply at jboss.com
Sat Feb 17 21:17:15 EST 2007


skymic, you should have started a new post, not appended to an existing one.

I suspect that you are using EJB3 (you didn't say which version of ejb you are using), in which case you might want to try the lookup as:

Object ref = ic.lookup("SDOCI/remote/SDOCIBusinessService/remote");

If this does not work, use the jmx-console to invoke the list() method in the jboss:service=JNDIView mbean to list the entire JNDI tree. That should tell you what to use for the name.

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

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



More information about the jboss-user mailing list