I´ve been developing Entreprise Apps for some time now and I´ve never had any problems to run multiple ears in the same JBoss instance. What i usually do is I add/modify the following code in JBOSS_HOME/server/default/conf/jboss-service.xml:
<mbean code="org.jboss.deployment.EARDeployer" name="jboss.j2ee:service=EARDeployer">
And in JBOSS_HOME/server/default/deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml:
However, I have to use the same jar versions in all apps. Now, I´ve switched to MyEclipse IDE and the EAR structure is a little different since the IDE handles automatically jar versions and all. It deploys fine until I made those changes in the JBoss 3.2.6 configuration. When I change the files above I get the following exception:
I have no idea what that is... when i set UseJBossWebLoader to true, which means that the jboss classloader should override all other jars and the isolated attr is set to false, it deploys fine, but when i try to deploy multiple ears, i get the exception above. I dont have any libs that could compromise the application, just the usual ones that exist in all my other apps:
activation.jar (Impl version 1.0.2)
jaxen-full.jar (1.0 FCS)
xalan.jar (impl vers. xalan-j_2_5_2)
Is there any jar in the list above that might be conflicting with JBoss 3.2.6?
I have no idea what Im doing wrong, could somebody please help me? Thanks!