Simple answer: not OOTB. Yes you need to at least reload the application server. Since OOTB Tomcat is embedded in OFBiz, this means to restart OFBiz

A way you could investigate is to use Geronimo: 
https://cwiki.apache.org/GMOxDOC21/deployment.html#Deployment-Hotdeployment
This does not mean it's easy...
Once upon a time, I got to run OFBiz in Geronimo
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=7045153
Recently some cleaning in OFBiz removed a hacky way I used to deregister the 
RMI dispatcher
http://svn.apache.org/viewvc?view=revision&revision=1363656
So before this you should not find issues with Geronimo, after it should still work but if you use RMI you will maybe a non blocking issue when closing OFBiz

HTH

Jacques

From: "David Cervera" <[email protected]>
Hi,

Is there any way to load/deploy a new webapp without restarting OFBiz?
(better from Java code)

Or, can the components (one of them or all) be reloaded without restarting?
I've used method "loadComponents" of class "ComponentContainer" to
reload all components, it seems that it deploys the new webapps (defined
in the "ofbiz-component.xml" file of one component), but they aren't
accessible via browser. Maybe it needs a Tomcat reload or something
similar... any idea?

Thanks in advance!

--
David
DiSiD Technologies, S.L. -http://www.disid.com


Reply via email to