0 Replies Latest reply on Oct 18, 2004 5:37 AM by erez harari

    WAR level classloader within EARs

    erez harari Novice

      i'm using jboss 3.2.5 and deploy an EAR with multiple WARs.

      i need to have a separate classloader for each WAR.

      if i was not using an EAR, i would use jboss-web.xml:

      <class-loading java2ClassLoadingCompliance='false'>

      that way i have an isolation and i also control classloader name so i can filter my logs based on it using org.apache.log4j.spi.Filter.

      however, since i'm using an EAR, i can only use jbossweb-tomcat50.sar/META-INF/jboss-service.xml:
      <attribute name="UseJBossWebLoader">false</attribute>

      when using this option:
      i do not have control of the classloader name

      i get many exceptions logged to the console

      any ideas?