0 Replies Latest reply on Feb 4, 2005 12:59 PM by Luiz Santana

    JBoss 3.2.6 Classloader Problems

    Luiz Santana Newbie

      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:


      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)
      commons-logging.jar (1.0.2)
      commons-beanutils.jar (1.5)
      commons-collections.jar (2.1)
      commons-digester.jar (1.3)
      commons-lang.jar (1.0.1)
      commons-validator.jar (1.0.2)
      jaxen-full.jar (1.0 FCS)
      jstl.jar (1.1.2)
      saxpath.jar (1.0)
      standard.jar (1.1.2)
      struts-legacy.jar (1.0)
      jaxb-rt-1.0-ea.jar (1.0-ea)
      jaxb-xjc-1.0-ea.jar (1.0-ea)
      mail.jar (1.3.1)
      struts.jar (1.1)
      xalan.jar (impl vers. xalan-j_2_5_2)
      xercesImpl.jar (Xerces-J_2_3_0)

      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!