4 Replies Latest reply on Aug 15, 2002 9:38 AM by sgudipud

    JBoss support for multicontext

    sgudipud

      Hi,

      Please let me know, if JBoss supports multi-context. If there are docs/pointers to the same it would be very much appreciated.

      Regards,
      Srinivas

        • 1. Re: JBoss support for multicontext
          davidjencks

          What do you mean by multicontext?

          • 2. Re: JBoss support for multicontext
            sgudipud

            Hi,

            I ma placing the details requested below.

            We need to deploy 2 applications using the JBoss Appserver.

            These two applications have same jars but different versions.

            So we would specify something like abc.jar and xyz.jar in the JBoss classpath

            Our problem is both the jars share some classes with different versions.
            i.e Suppose A.class exist in abc.jar in a package like com.cisco.abc.A.class

            a different version of A.class also exists in the xyz.jar with the same packaging structure like com.cisco.abc.A.class(but different version)

            In JBoss ,suppose abc.jar is specified first in the classpath

            A.class(version1) gets loaded

            when xyz.jar is invoked

            JBossS will not reload the A.class(version2)

            We use Tomcat as the Webserver and JBoss as the AppServer

            Now Tomcat has this concept of MultiContext which allows the above scenario to be handled according to application loaded

            We would like to know if i understood the behavior of JBoss correctly.

            And if so How can the support for MultiContext be added to JBoss.

            Any pointers and help regarding above will be greatly appreciated
            and increase our support for JBoss.

            Regards,
            Srinivas

            • 3. Re: JBoss support for multicontext
              davidjencks

              Please pick a more appropriate forum. This doesn't have anything to do with datasources. Your question has been answered several times. Look for jboss-app.xml

              • 4. Re: JBoss support for multicontext
                sgudipud

                Hi,

                Apologies for posting this messge to this forum, Please let me know the right forum, where I can post this message.

                I searched for the jboss-apps.xml , I could not find it, I am using JBoss 3.0, please let me know , if there is a different file in this version of JBoss.

                Regards,
                Srinivas