2 Replies Latest reply on Dec 8, 2004 6:47 PM by Ved Dubey

    Classloader Issue

    dheerajchugh Newbie

      Hi,

      I am facing few issues with Class loading in JBoss. Though i gone through some of the documents on the net and they talk about how we can isolate the class loading for each application, so based upon that, i tried to use the following lines in conf/jboss-service.xml, but still it is not working for me. Even i am getting the message like this:-

      WARN [DeploymentInfo] Only the root deployment can set the loader repository, ingoring config=null


      <!-- EAR deployer, remove if you are not using Web layers -->

      <!-- Isolate all ears in their own classloader space -->
      true
      <!-- Enforce call by value to all remote interfaces -->
      true



      May be i am doing something wrong here, can you please guide me in setting this up. I am looking for what all steps i will have to perform if i want to run different applications using different versions of struts on a single instanace of JBoss 3.2.4

      Looking forward to your great help.


      Thanks,
      Dheeraj.

        • 1. Re: Classloader Issue
          dheerajchugh Newbie

           

          "dheerajchugh" wrote:
          Hi,

          I am facing few issues with Class loading in JBoss. Though i gone through some of the documents on the net and they talk about how we can isolate the class loading for each application, so based upon that, i tried to use the following lines in conf/jboss-service.xml, but still it is not working for me. Even i am getting the message like this:-

          WARN [DeploymentInfo] Only the root deployment can set the loader repository, ingoring config=null


          <!-- EAR deployer, remove if you are not using Web layers -->
           <mbean code="org.jboss.deployment.EARDeployer" name="jboss.j2ee:service=EARDeployer">
           <!-- Isolate all ears in their own classloader space -->
           <attribute name="Isolated">true</attribute>
           <!-- Enforce call by value to all remote interfaces -->
           <attribute name="CallByValue">true</attribute>
           </mbean>


          May be i am doing something wrong here, can you please guide me in setting this up. I am looking for what all steps i will have to perform if i want to run different applications using different versions of struts on a single instanace of JBoss 3.2.4

          Looking forward to your great help.


          Thanks,
          Dheeraj.


          • 2. Re: Classloader Issue
            Ved Dubey Newbie

            I am running into similar kind of issue, did you find any solution this problem?