3 Replies Latest reply on Aug 27, 2004 7:19 PM by mtb2ride

    Hot deployment with jboss3.2.5/4.0RC1

    chen_comp

      I have a application deployed as expanded dictionary plus some utility jar. It is no problem for first time deployment. When I touch the application.xml for hot deployment, I get following warning and application is not working anymore:

      14:41:37,281 WARN [DeploymentInfo] Only the root deployment can set the loader
      repository, ingoring config=null

      Any help is much appreciated.


      Chen

        • 1. Re: Hot deployment with jboss3.2.5/4.0RC1
          mtb2ride

          What type of app are you deploying, WAR, SAR, EAR? Are you using the <loader-repository> element to set up a separate loader repository for your app? I tested the hot deploy, using a SAR with a definded loader-repository and deployed in expanded format on Jboss 3.2.5. There were no problems.

          Thank
          Steve

          • 2. Re: Hot deployment with jboss3.2.5/4.0RC1
            chen_comp

            It is deployed as expanded EAR format. No seperate loader repository for application.
            The hierarchichy will be something like:
            test.ear
            lib/utility1.jar
            lib/utility2.jar
            META-INF/application.xml
            ejb.jar
            test.war
            META-INF/manifest.mf

            Inside manifest.mf, "Class-Path" is used to refer utility jar files inside lib directory. Some jar files is going to be shared by both WEB and EJB tiers.


            Thanks

            Chen

            • 3. Re: Hot deployment with jboss3.2.5/4.0RC1
              mtb2ride

              Chen,

              Sorry so late to repsond. I'm now getting the same error in a different situation. But I have another couple of questions for you.

              1. What version of Jboss ?
              2. You're not using a jboss-app.xml file correct? I don't see it in your post. I'm thinking that the classpath entries in you META-INF are causing jboss to think you are trying to alter the classloader. I know its not logical, but it may be worth it to put a jboss-app.xml descriptor in place with a scoped loader-repository.

              Just and Idea

              Thanks