Hi,

This is likely due to the problem that the version of class on your client is 
different from server.

E.g.
You call the EJB from a servlet, thus servlet is client.
On your servlet, you will have some class of your EJB.
If you make some changes to your EJB and redeploy your EJB, but didn't update 
your WAR app, your servlet will connect to the EJB expecting the old version  
of the class, and thus cause the Exception.
You may wish to try to update both the EJB and WAR.

Note that this is also common if you are using Hibernate.
i.e. even though you have change some class in the mapping classes and you EJB 
using it has been updated, you still need to update the hibernate.sar for 
example.

Hope this helps.

Cheers.


Han Ming


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to