You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by snowch <sn...@coralms.com> on 2009/05/21 12:24:17 UTC

multiple ofbiz instances?

My client has one public facing ofbiz server, but they would like to add an
additional ofbiz server just for internal users.  The internal users would
access an internal server using an internal IP and they never need to access
the external server.  Therefore, there is no need for tomcat clustering. 
Both internal and external servers would talk to the same ofbiz database. 

Does ofbiz work ok in the manner described above?

Many thanks in advance,

Chris
-- 
View this message in context: http://www.nabble.com/multiple-ofbiz-instances--tp23650815p23650815.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: multiple ofbiz instances?

Posted by Ashish Vijaywargiya <as...@hotwaxmedia.com>.
Yes this can be easily done in OFBiz.

Open ofbiz-containers.xml file. (framework/base/config/ofbiz-containers.xml)
Change the value of port in all the property by name "port". For ex. you 
can change http port from 8080 to 28080

Then open url.property file. (framework/webapp/config/url.properties)
Keep the value of http & https port same as you set in the 
ofbiz-containers.xml file.

So now we have two instance of OFBiz server on the same machine.

-- One is running on 8080 & another one is running on 28080 port.

For accessing the same database you should keep the settings of database 
same in entityengine.xml file.
This is all from my side.

Now its your turn to give it a try and if got stuck up somewhere in b/w 
then shoot an email on mailing list.
Thanks !

--
Ashish


snowch wrote:
> My client has one public facing ofbiz server, but they would like to add an
> additional ofbiz server just for internal users.  The internal users would
> access an internal server using an internal IP and they never need to access
> the external server.  Therefore, there is no need for tomcat clustering. 
> Both internal and external servers would talk to the same ofbiz database. 
>
> Does ofbiz work ok in the manner described above?
>
> Many thanks in advance,
>
> Chris
>