4 Replies Latest reply on Feb 6, 2012 3:13 PM by amathewjboss1

    Jboss 5.1 hot deployment issue

    amathewjboss1

      We have an application running on JBoss 5.1.0.

       

      I am trying to find out a list of jboss configuration files which can cause a hot deployment if we changes them during run time. I read in the forum that removing 'hdscanner-jboss-beans.xml' will completely disable the hot deployment process. But I really don't want to disable it completely. For example, we don't want to hot deploy our application's .ear file when we change the any other jboss configuration file (like ds.xml files).

       

      Any thoughts please?

       

      Thanks

      Anil Mathew

        • 1. Re: Jboss 5.1 hot deployment issue
          wdfink

          The hot deployment must undeploy the application because of it's dependencies.

          You can not stop XY-ds.xml before the application which depend on is undeployed.

           

          If a deployment should be undeployed, redeploy is just a undeploy-deploy, ALL dependencies are stopped before and restarted afterwards.

          • 2. Re: Jboss 5.1 hot deployment issue
            amathewjboss1

            Thanks Wolf for the reply.

             

            Your comments make sense in terms of changing the ds.xml files. But I wonder how JBoss decides to do a undeploy/deploy process? I assume does it have a list of files and if any of those files are changed, then it will do a hot deployment? I am trying to find out that list of files which JBoss uses to decide on undeploy/deploy process.

             

             

            Thanks

            Anil Mathew

            • 3. Re: Jboss 5.1 hot deployment issue
              wdfink

              With AS4 there was a configuration file where the suffixes are specified.

               

              In AS5 I remember only the path definition and the exclusion list with regexpr here: conf/bootstrap/profile.xml

              Also here are some other configuration for deployers

              • 4. Re: Jboss 5.1 hot deployment issue
                amathewjboss1

                Thank you so much and it helps.