Posted by
Anil Patel-3 on
URL: http://ofbiz.116.s1.nabble.com/how-to-run-multiple-instance-of-ofbiz-on-server-tp189886p189888.html
Here are all modifications that you need to make.
Index: framework/base/config/ofbiz-containers.xml
===================================================================
--- framework/base/config/ofbiz-containers.xml (revision 643361)
+++ framework/base/config/ofbiz-containers.xml (working copy)
@@ -34,7 +34,7 @@
<!-- load the naming (JNDI) server -->
<container name="naming-container"
class="org.ofbiz.base.container.NamingServiceContainer">
- <property name="port" value="1099"/>
+ <property name="port" value="1098"/>
</container>
<!-- RMI Service Dispatcher -->
@@ -151,7 +151,7 @@
<property name="maxSpareThreads" value="50"/>
<property name="maxThreads" value="200"/>
<property name="minSpareThreads" value="4"/>
- <property name="port" value="8009"/>
+ <property name="port" value="8008"/>
<property name="tcpNoDelay" value="true"/>
<property name="soTimeout" value="60000"/>
<property name="tomcatAuthentication" value="true"/>
@@ -186,7 +186,7 @@
<property name="maxThreads" value="100"/>
<property name="minSpareThreads" value="4"/>
<property name="noCompressionUserAgents" value=""/>
- <property name="port" value="8080"/>
+ <property name="port" value="8088"/>
<property name="restrictedUserAgents" value=""/>
<property name="server" value=""/>
<property name="socketBuffer" value="9000"/>
@@ -224,7 +224,7 @@
<property name="maxThreads" value="100"/>
<property name="minSpareThreads" value="4"/>
<property name="noCompressionUserAgents" value=""/>
- <property name="port" value="8443"/>
+ <property name="port" value="8448"/>
<property name="restrictedUserAgents" value=""/>
<property name="server" value=""/>
<property name="socketBuffer" value="9000"/>
@@ -250,7 +250,7 @@
<!-- load BeanShell remote telnet server -->
<container name="beanshell-container"
class="org.ofbiz.base.container.BeanShellContainer">
<!-- the port below and port-1 will be opened by beanshell -->
- <property name="telnet-port" value="9990"/>
+ <property name="telnet-port" value="9998"/>
<property name="app-name" value="OFBiz"/>
</container>
</ofbiz-containers>
Index: framework/webapp/config/url.properties
===================================================================
--- framework/webapp/config/url.properties (revision 643361)
+++ framework/webapp/config/url.properties (working copy)
@@ -22,11 +22,11 @@
# HTTPS Port (Secure port)
port.https.enabled=Y
-port.https=8443
+port.https=8448
force.https.host=
# HTTP Port (Not Secure port)
-port.http=8080
+port.http=8088
force.http.host=
# Static Content URLs to make it easy to move the serving load for
static content to other machines
On Apr 26, 2008, at 3:36 PM, Ean Schuessler wrote:
>
[hidden email] wrote:
>> I need to run two instances of ofbiz on server. Is it possible?
>> If the answer is yes, then please anyone can guide how to achieve
>> this?
>> I will be very thankful.
>>
> Xen :-D
>
> (oh, and this question is better suited to the user list...)
>
> --
> Ean Schuessler, CTO
>
[hidden email]
> 214-720-0700 x 315
> Brainfood, Inc.
>
http://www.brainfood.com>