Multiple Instances of Ofbiz - Same server

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Multiple Instances of Ofbiz - Same server

Gavin Mabie
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




Reply | Threaded
Open this post in threaded view
|

Re: Multiple Instances of Ofbiz - Same server

Varun Bhansaly
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.