Hi, I get the following error when I execute my EJB client. Please note that the Client is being run as a standalone JAVA class in Eclipse and the EJB is deployed in JBoss 4.2 (hence they are in separate JVMs)
The Error java.lang.ClassCastException: org.jboss.serial.io.MarshalledObjectForLocalCalls at $Proxy0.login(Unknown Source) at ejb.client.EJBClient.main2(EJBClient.java:33) at ejb.client.EJBClient.main(EJBClient.java:14)
Thanks for any help and suggestions ~ Vikas
Joined: Nov 08, 2007
I ran it in Eclipse 3.3, deployed to JBoss 4.2.1, (on a Mac) no problems.
After the following lines were changed...
Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read( JavaRanchFAQ);
Joined: Apr 11, 2008
Hi Bill, Thanks for pointing that out. The blunder I made was that the EJB was deployed on Jboss 4.2, but the server jars in the client's classpath were from Jboss 5.0
I appreciate the help and apologize for my naiveness :-(