multiple ofbiz instances?

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

multiple ofbiz instances?

snowch
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
Reply | Threaded
Open this post in threaded view
|

Re: multiple ofbiz instances?

Ashish Vijaywargiya-5
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
>  

smime.p7s (4K) Download Attachment