... until the collector arrives ...

This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)

2005-05-10

JBOSS

By default, JBoss uses a unified class loader model where the JARs from all archives are shared.  This is contrary to the Servlet specification which says that each application should be isolated from the others.  Fortunately, this behaviour can be turned off by changing an entry in server\default\deploy\jbossweb-tomcat50.sar\META-INF\jboss-service.xml:

 <attribute name="UseJBossWebLoader">false</attribute>

As of JBoss 4.0.2, this is the default setting.  See also:

http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

and

http://jira.jboss.com/jira/browse/JBAS-1691

Blog Archive