This is the classical classloading problem disccused in JBoss Admin Guide under 
section.
2.2.2.1. ClassCastExceptions - I'm Not Your Type

It says and solution is provided.
anonymous wrote : This type of error is common when redeploying an application 
to which other applications are holding references to classes from the 
redeployed application. For example, a standalone WAR accessing an EJB. If you 
are redeploying an application, all dependent applications must flush their 
class references. Typically this requires that the dependent applications 
themselves be redeployed.
  | 
  | An alternate means of allowing independent deployments to interact in the 
presence of redeployment would be to isolate the deployments by configuring the 
EJB layer to use the standard call-by-value semantics rather than the 
call-by-reference JBoss will default to for components collocated in the same 
VM. An example of how to enable call-by-value semantics is presented in Chapter 
5, EJBs on JBoss 

I hope this helps.

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

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


-------------------------------------------------------
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-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to