[jboss-cvs] JBossAS SVN: r58508 - trunk/tomcat/src/resources

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Nov 17 20:33:42 EST 2006


Author: scott.stark at jboss.org
Date: 2006-11-17 20:33:41 -0500 (Fri, 17 Nov 2006)
New Revision: 58508

Modified:
   trunk/tomcat/src/resources/war-deployers-beans.xml
Log:
Save in progress web app classloading deployer

Modified: trunk/tomcat/src/resources/war-deployers-beans.xml
===================================================================
--- trunk/tomcat/src/resources/war-deployers-beans.xml	2006-11-18 00:35:08 UTC (rev 58507)
+++ trunk/tomcat/src/resources/war-deployers-beans.xml	2006-11-18 01:33:41 UTC (rev 58508)
@@ -41,6 +41,36 @@
       <property name="relativeOrder">2001</property>
    </bean>
 
+   <!-- Allow for war local class loaders: in testing
+   <bean name="WarClassLoaderDeployer" class="org.jboss.web.tomcat.tc6.deployers.WarClassLoaderDeployer">
+      <install bean="MainDeployer" method="addDeployer">
+         <parameter><this/></parameter>
+      </install>
+      <uninstall bean="MainDeployer" method="removeDeployer">
+         <parameter><this/></parameter>
+      </uninstall>
+      <!- - CLASSLOADER_DEPLOYER - 1 - ->
+      <property name="relativeOrder">3999</property>
+      <!- - 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.
+      - ->
+      <property name="useJBossWebLoader">false</property>
+      <!- - The list of package prefixes that should not be loaded without
+         delegating to the parent class loader before trying the web app
+         class loader. The packages listed here are those tha are used by
+         the web container implementation and cannot be overriden. The format
+         is a comma separated list of the package names. There cannot be any
+         whitespace between the package prefixes.
+         This setting only applies when UseJBossWebLoader=false.
+         - ->
+      <property name="filteredPackages">javax.servlet,org.apache.commons.logging</property>
+   </bean>
+  -->
+
+   <!-- The WebMetaData to service mbean deployer -->
    <bean name="WarDeployer" class="org.jboss.web.tomcat.tc6.deployers.TomcatDeployer">
       <install bean="MainDeployer" method="addDeployer">
          <parameter><this/></parameter>




More information about the jboss-cvs-commits mailing list