how to run multiple instance of ofbiz on server

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

how to run multiple instance of ofbiz on server

Ajay @ Pal InfoCom
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
Reply | Threaded
Open this post in threaded view
|

Re: how to run multiple instance of ofbiz on server

rajsaini
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

[hidden email] 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
>  

Reply | Threaded
Open this post in threaded view
|

Re: how to run multiple instance of ofbiz on server

Bruno Busco
May be this Jacques contribution may help you.
http://docs.ofbiz.org/pages/viewpage.action?pageId=4098

-Bruno

2008/4/16, Raj Saini <[hidden email]>:

>
> 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
>
> [hidden email] 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
> >
> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: how to run multiple instance of ofbiz on server

Ajay @ Pal InfoCom
In reply to this post by rajsaini
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
>
> [hidden email] 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
>>  
>

Reply | Threaded
Open this post in threaded view
|

Re: how to run multiple instance of ofbiz on server

rajsaini
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

[hidden email] 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
>>
>> [hidden email] 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
>>>  
>>>      
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: how to run multiple instance of ofbiz on server

Jacques Le Roux
Administrator
In reply to this post by Ajay @ Pal InfoCom
Please use rather user ML for such questions :
http://docs.ofbiz.org/display/OFBADMIN/Mailing+Lists#MailingLists-DeveloperList:dev@...

Jacques

From: <[hidden email]>

> 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
>>
>> [hidden email] 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
>>>  
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: how to run multiple instance of ofbiz on server

Ean Schuessler
In reply to this post by Ajay @ Pal InfoCom
[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

Reply | Threaded
Open this post in threaded view
|

Re: how to run multiple instance of ofbiz on server

Anil Patel-3
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
>


smime.p7s (3K) Download Attachment