[jboss-user] [Installation, Configuration & Deployment] - Classcast exception when multiple deployments of same app

mhassel do-not-reply at jboss.com
Thu May 10 19:09:22 EDT 2007


We are trying to deploy the same ear (with different configuration files, datasources, etc) multiple times in JBoss.

Every app works perfectly fine by itself, as soon as we deploy two of them, the first deployment stops working as soon as we try to acquire a session bean remote interface via the initial context with the following classcast exception:

Caused by: java.lang.ClassCastException: $Proxy118 cannot be cast to com.absu.poweron.ejb.CircuitDataManager

Our Jboss-app.xml is set to use isolated class loading:

anonymous wrote : <jboss-app>
  |       <loader-repository> testing:loader=testing.ear </loader-repository> 
  | </jboss-app>

and we tried to enable/disable the "CallByValue" flag in both the ear-deployer.xml and the jboss-app without success.

Does anyone have any ideas???? Thanks!

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

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



More information about the jboss-user mailing list