You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by ga...@urbannex.co.za on 2012/07/12 10:08:49 UTC

Multiple Instances of Ofbiz - Same server

Hi guys

I am struggling to get two instances of ofbiz running on the same  
server.  I've gone through the mailing lists and established and  
executed the following:

1.	Changed the ADMIN_PORT in startofbiz.sh and stopofbiz.sh;
2.	Changed ajp-connector, http-connector and https-connector values in  
ofbiz-containers.xml;
3.	Changed port.https and port.http in url.properties;
4.	Changed <thread-pool send-to-pool and <run-from-pool name in  
serviceengine.xml.

I get an Address already in use error when I start to run the second  
instance.  Both instances work fine and listens to the proper ports  
when run alone.  What else should I be doing?

Thanks

Gavin





Re: Multiple Instances of Ofbiz - Same server

Posted by Varun Bhansaly <vb...@gmail.com>.
At the very basic these will have to be changed - 
It works for me in v10.04

ADMIN_PORT -> startofbiz.sh
ADMIN_PORT -> stopofbiz.sh
jndi port -> framework/base/config/jndi.properties
ajp port -> framework/base/config/ofbiz-containers.xml
http port -> framework/base/config/ofbiz-containers.xml
https port -> framework/base/config/ofbiz-containers.xml
beanshell terminal port -> framework/base/config/ofbiz-containers.xml
naming -> framework/base/config/ofbiz-containers.xml
rmi -> framework/base/config/ofbiz-containers.xml
http port -> framework/webapp/config/url.properties
https ports -> framework/webapp/config/url.properties

This
https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-Widgetssetting
should help as well.




--
View this message in context: http://ofbiz.135035.n4.nabble.com/Multiple-Instances-of-Ofbiz-Same-server-tp4634724p4634725.html
Sent from the OFBiz - User mailing list archive at Nabble.com.