You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "ajay@palinfocom.net" <aj...@palinfocom.net> on 2008/04/16 07:57:55 UTC

how to run multiple instance of ofbiz on server

Hello all,

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.

Ajay

Re: how to run multiple instance of ofbiz on server

Posted by Bruno Busco <br...@gmail.com>.
May be this Jacques contribution may help you.
http://docs.ofbiz.org/pages/viewpage.action?pageId=4098

-Bruno

2008/4/16, Raj Saini <ra...@gmail.com>:
>
> You will need to change various ports in ofbiz-container.xml in
> framework/base/config.xml. Look for Technical Setup Guide on wiki to see the
> list of ports.
>
> Raj
>
> ajay@palinfocom.net wrote:
>
> > Hello all,
> >
> > 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.
> >
> > Ajay
> >
> >
>
>

Re: how to run multiple instance of ofbiz on server

Posted by Raj Saini <ra...@gmail.com>.
I don't know what you mean by clone web store. Technically, nothing 
stops connecting two instances to same database. But I don't know it 
would make any business sense as for me two instances are operated by 
two different business entities unless they are part of a cluster and 
that is all together different story.

Raj

ajay@palinfocom.net wrote:
> Thank you Raj for quick reply.
>
> One thing i would like to ask is- is it possible to  use the same
> database for clone web store?
>
> Thanks for your suggestions.
> Ajay..
>
> Raj Saini wrote:
>   
>> You will need to change various ports in ofbiz-container.xml in
>> framework/base/config.xml. Look for Technical Setup Guide on wiki to
>> see the list of ports.
>>
>> Raj
>>
>> ajay@palinfocom.net wrote:
>>     
>>> Hello all,
>>>
>>> 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.
>>>
>>> Ajay
>>>   
>>>       
>
>   


Re: how to run multiple instance of ofbiz on server

Posted by Jacques Le Roux <ja...@les7arts.com>.
Please use rather user ML for such questions :
http://docs.ofbiz.org/display/OFBADMIN/Mailing+Lists#MailingLists-DeveloperList:dev@ofbiz.apache.org

Jacques

From: <aj...@palinfocom.net>
> Thank you Raj for quick reply.
> 
> One thing i would like to ask is- is it possible to  use the same
> database for clone web store?
> 
> Thanks for your suggestions.
> Ajay..
> 
> Raj Saini wrote:
>> You will need to change various ports in ofbiz-container.xml in
>> framework/base/config.xml. Look for Technical Setup Guide on wiki to
>> see the list of ports.
>>
>> Raj
>>
>> ajay@palinfocom.net wrote:
>>> Hello all,
>>>
>>> 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.
>>>
>>> Ajay
>>>   
>>
> 
>

Re: how to run multiple instance of ofbiz on server

Posted by "ajay@palinfocom.net" <aj...@palinfocom.net>.
Thank you Raj for quick reply.

One thing i would like to ask is- is it possible to  use the same
database for clone web store?

Thanks for your suggestions.
Ajay..

Raj Saini wrote:
> You will need to change various ports in ofbiz-container.xml in
> framework/base/config.xml. Look for Technical Setup Guide on wiki to
> see the list of ports.
>
> Raj
>
> ajay@palinfocom.net wrote:
>> Hello all,
>>
>> 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.
>>
>> Ajay
>>   
>


Re: how to run multiple instance of ofbiz on server

Posted by Raj Saini <ra...@gmail.com>.
You will need to change various ports in ofbiz-container.xml in 
framework/base/config.xml. Look for Technical Setup Guide on wiki to see 
the list of ports.

Raj

ajay@palinfocom.net wrote:
> Hello all,
>
> 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.
>
> Ajay
>   


Re: how to run multiple instance of ofbiz on server

Posted by Anil Patel <an...@hotwaxmedia.com>.
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:

> ajay@palinfocom.net 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
> ean@brainfood.com
> 214-720-0700 x 315
> Brainfood, Inc.
> http://www.brainfood.com
>


Re: how to run multiple instance of ofbiz on server

Posted by Ean Schuessler <ea...@brainfood.com>.
ajay@palinfocom.net 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
ean@brainfood.com
214-720-0700 x 315
Brainfood, Inc.
http://www.brainfood.com