This content has been marked as final. Show 1 reply
Now I have changed my strategy. Instead of config a global isolation in the
ear-deployer.xml I put a jboss-app.xml with the following content in my ear file:
<jboss-app> <loader-repository> my.app:loader=kt <loader-repository-config> java2ParentDelegation=true </loader-repository-config> </loader-repository> </jboss-app>
(in the ear-deployer.xml Isolated and CallByValue are set to false )
When I start the server I'm getting ClassCastExceptions on all my EJBs.
Touching the ear-deployer.xml without stopping the server causes a redeploying of my application. And now all went well my EJBs could be deployed??? Stopping and starting the server again throws ClassCastExceptions???
I'm using JBoss AS 4.0.1 / 4.0.2 and JDK 1.4.2_06.