Turn off the unified class loader behavior by setting the UseJBossWebLoader value to false:
<attribute name="UseJBossWebLoader">false</attribute> xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Moulton Sent: Friday, January 02, 2004 2:46 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Tomcat and Java2ClassLoadingCompliance attribute I have an application EAR that contains 1 ejb-jar and 2 war's. My web applications require the 'Java2ClassLoadingCompliance' attribute of the servlet container service to be disabled. During testing of JBoss-3.2.3 with Tomcat 4 I have run into problems when setting this attribute to 'false'. Previously I have only used Jetty with JBoss so forgive any ignorance with tomcat specific issues. One of my main problems stems from the use of FormProc in both of my applications. Each WAR has it's own formproc.xml in WEB-INF/classes, however only 1 formproc.xml is seen by both WAR's. This same behavior is seen with the 'Java2ClassLoadingCompliance' attribute enabled or disabled. Providing unique names to the configuration files solves the problem, however in JBoss-3.2.3 w/Jetty 4.2.15 I am able to run the application as expected with the 'Java2ClassLoadingCompliance' attribute disabled. In an attempt to troubleshoot I also started playing with the 'UseJbossWebLoader' attribute in tomcat's jboss-service.xml. I did notice that if both the 'UseJbossWebLoader' and 'Java2ClassLoadingCompliance' attributes are set to false, all deployed web applications, including jmx-console and web-console, break. What, if any, is the relationship between these 2 attributs? Are they mutually exclusive? Has anyone had any similar experiences, or possibly shed some light on what I might be doing wrong. Thanks, -- Mike .................................. Mike Moulton [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
