1 Reply Latest reply on Jun 24, 2004 11:34 AM by anton maximov

    deploying two identical webapps independently

    anton maximov Newbie

      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:

      - 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>


      blows up - javax.servlet.ServletException: org/xml/sax/Attributes
      although this file is present in a jar under WEB-INF/lib

      1.2 changing jbossweb-tomcat41.sar/META-INF/jboss-service.xml

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


      blows up

      1.3 changing jbossweb-tomcat41.sar/META-INF/jboss-service.xml

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


      blows up

      1.4 created a.war/WEB-INF/jboss-web.xml with the following:



      blows up

      1.5 tried 1.4 with 1.1-1.3


      blows up

      1.6 put a.war into a.ear, put b.war into b.ear

      created application.xml:
      <!DOCTYPE application PUBLIC
       "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"

      and jboss-app.xml

      same with b.ear/b.war, with proper changes

      result: blows up with javax.servlet.ServletException: org/xml/sax/Attributes

      i am very-very confused. thank you for your help