5 Replies Latest reply on Mar 30, 2012 8:49 AM by ffang

    fuse esb hot deployment

    tnk

      Hi,

      how to disable hot deployment on apache-servicemix-4.4.0-fuse-00-43 ?

        • 1. Re: fuse esb hot deployment
          ffang

          Hi,

           

          You mean you want that when you copy bundle into deploy folder, it won't take effect?

          If so, the deploy folder is controlled by the etc/org.apache.felix.fileinstall-deploy.cfg, you can modify that file to disable it.

           

          Freeman

          • 2. Re: fuse esb hot deployment
            tnk

            What values should be set in "org.apache.felix.fileinstall-deploy.cfg"? I can't find any property to turn this service off. One option is to set "felix.fileinstall.poll" to 0, this will cause file scaning thread to wait for unlimited time (wait(0)). But if thread gets interrupted it will install bundles. Other option is to set "felix.fileinstall.bundles.new.start" = false, in this case bundles will be installed but not started. For security reasons I need to disable hot deployment, is there any setting to do it?

            Thanks.

            • 3. Re: fuse esb hot deployment
              ffang

              Hi,

               

              You can specify felix.fileinstall.dir as other empty folder which other users has no write permission, by this way no one can drop bundle in the hotdeploy folder.

               

              Freeman

              • 4. Re: fuse esb hot deployment
                sanre6

                what the OP and me want is if a bundle  is deployed into the hot deploy folder , servicemix should not start the bundle immediately , so that i can start/stop thru remote ssh .

                • 5. Re: fuse esb hot deployment
                  ffang

                  Hi,

                   

                  You can also edit

                  etc/org.apache.felix.fileinstall-deploy.cfg,

                   

                  add

                  felix.fileinstall.bundles.new.start=false

                  property

                   

                  This one control start the new bundle automatically or not.

                   

                  Freeman