[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with JBoss 5.0.0 GA and higher

jaikiran do-not-reply at jboss.com
Wed Apr 8 09:46:08 EDT 2009


anonymous wrote : i have a ClassCastException: can't cas javax.naming.reference to my EJB

See this http://www.jboss.org/index.html?module=bb&op=viewtopic&t=144888#4186763. In JBossAS-4.x, you just needed the jbossall-client.jar in the client classpath. However in JBossAS-5.x, you have to add jbossall-client.jar and all other jars that are in the MANIFEST.MF of that jar file, in the client's classpath.

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

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



More information about the jboss-user mailing list