jboss配置参数

ear-deployer.xml

 $ {JBOSS_HOME}/server/default/deploy/ear-deployer.xml

 

     <!-- A flag indicating if ear deployments should have their own scoped
      class loader to isolate their classes from other deployments.
      -->
      <attribute name="Isolated">false</attribute>

 

jboss-service.xml

$ {JBOSS_HOME}/server/default/deploy/jboss-web.deployer/META-INF/jboss-service.xml

 

     <!-- Get the flag indicating if the normal Java2 parent first class
           loading model should be used over the servlet 2.3 web container first
           model.
      -->
      <attribute name="Java2ClassLoadingCompliance">false</attribute>

 

     <!-- A flag indicating if the JBoss Loader should be used. This loader
           uses a unified class loader as the class loader rather than the tomcat
           specific class loader.
           The default is false to ensure that wars have isolated class loading
           for duplicate jars and jsp files.
      -->
      <attribute name="UseJBossWebLoader">true</attribute>

 

 

参考资料

Jboss Admin Tutorial(jboss AS 5)第14章"Class Loading on JBoss"

http://marakana.com/bookshelf/jboss_admin_tutorial/index.html

你可能感兴趣的:(jboss)