-
1. Re: fuse esb hot deployment
ffang Dec 28, 2011 7:48 PM (in response to tnk)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 Dec 29, 2011 2:46 AM (in response to ffang)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 Dec 29, 2011 3:06 AM (in response to tnk)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 Mar 30, 2012 6:44 AM (in response to ffang)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 Mar 30, 2012 8:49 AM (in response to sanre6)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