i have two exploded wars that are identical except for a few configuration parameters.
if i deploy just one (put it under a.war directory in deploy directory) - all is fine
if i deploy both at the same time (a.war and b.war directories) - they influence each other and blow up
i have followed the following wiki entry:
http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
configuration:
- sun jdk 1.4.2_04
- jboss3.2.3
1. just deploying a.war
1.1 changing jbossweb-tomcat41.sar/META-INF/jboss-service.xml
<attribute name="Java2ClassLoadingCompliance">true</attribute> <attribute name="UseJBossWebLoader">false</attribute>
<attribute name="Java2ClassLoadingCompliance">false</attribute> <attribute name="UseJBossWebLoader">true</attribute>
<attribute name="Java2ClassLoadingCompliance">false</attribute> <attribute name="UseJBossWebLoader">false</attribute>
<jboss-web> <class-loading> <loader-repository> dot.com:loader=a.war </loader-repository> </class-loading> <jboss-web>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd"> <application> <display-name>a</display-name> <module> <web> <web-uri>a.war</web-uri> <context-root>/a</context-root> </web> </module> </application>
<jboss-app> <loader-repository>dot.com:loader=a.ear</loader-repository> </jboss-app>
x-posted (http://jboss.org/index.html?module=bb&op=viewtopic&p=3839853) to "Beginners Corner" forum, since i think that space is more appropriate