[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException in remote EJB3.0 lookup from tomcat w

skymic do-not-reply at jboss.com
Wed Feb 21 06:25:50 EST 2007


Hi all,

I have some additional information.
when lookup the same remote EJB from a junit test (different VM from JBoss VM) everthing works fine.

Here the looked up class is $Proxy1. The narrow after the lookup including classcat wroks fine.

The lookedup class in my tomcat webapp is: javax.naming.Reference
The narrow failes with :
Caused by: java.lang.ClassCastException: javax.naming.Reference
	at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:212)

Any help?





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

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



More information about the jboss-user mailing list