5 Replies Latest reply on Nov 16, 2008 7:46 AM by alesj

    Hot deployment of deployers in Jboss5?

    vickyk

      Does hot deployment of the deployers work, I have not been able to get this working while writing new set of deployers?

        • 1. Re: Hot deployment of deployers in Jboss5?
          alesj

          What did you try and didn't work?

          Deployers are plain beans as all othe beans we install in jbossas or mc.
          See multiple examples of this in jbossas instance's deployers directory.

          • 2. Re: Hot deployment of deployers in Jboss5?
            vickyk

             

            "alesj" wrote:
            What did you try and didn't work?

            Deployers are plain beans as all othe beans we install in jbossas or mc.
            See multiple examples of this in jbossas instance's deployers directory.

            I have been trying to make the changes in the slee.deployer and then placing the changed one in the jboss5/server/default/deployers folder, I was expecting the new slee deployments will go through the changed deployers but it did not.
            I was not able to get it working without bouncing back the Jboss5.


            • 3. Re: Hot deployment of deployers in Jboss5?
              alesj

               

              "vickyk" wrote:

              I have been trying to make the changes in the slee.deployer and then placing the changed one in the jboss5/server/default/deployers folder, I was expecting the new slee deployments will go through the changed deployers but it did not.

              What/where/how slee.deployer?
              Changed how?
              New slee deployments?

              I'm not a mind reader or slee project lurker.
              Take your time to explain things properly. ;-)

              "vickyk" wrote:

              I was not able to get it working without bouncing back the Jboss5.

              Bouncing what back?
              Yeeez .... :-)

              • 4. Re: Hot deployment of deployers in Jboss5?
                vickyk

                okay let us make it simpler, if I made changes in the jca.deployer related jars and then update those changes in the JBOSS/server/default/deployers folder, will the new deployment of the .rar go through the changed/updated jca.deployer without restarting the server.
                I hope I am clear this time ;)

                • 5. Re: Hot deployment of deployers in Jboss5?
                  alesj

                  OK, I finally see what you mean. :-)

                  You actually mentioned this in your first post,
                  although it was still missing a small important detail.

                  No, deployers are not hot re-deployed.
                  Since we only scan deploy directory for changes.

                  You can drop you 'hot' deployer into deploy.
                  But then you must be careful that it really gets
                  deployed/installed before any deployment that it might handle.
                  e.g. proper explicit dependencies ;-)