This content has been marked as final.
Show 1 reply
-
1. Next try : java.lang.NoClassDefFoundError: javax/ejb/EJBMeta
tschischka Aug 18, 2005 11:17 AM (in response to tschischka)Hello
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.