Vanita,

with the guidance given above you are able to control the listen port of
your ofbiz instance.

If I get your requirement correctly, you want to run two different instances
of ofbiz running on the same machine using different ports to be accessed?
So you need to have two copies of ofbiz in different logical paths on your
machine (well, you could run with one copy, but then that concept works only
on unix/linux and requires (a) deep level ofbiz config knowledge and (b)
some extended symlinking).

Well, moreover, your URLs will then not look nice. For example if you
configure your instance of OFBiz to listen on ports 18080 ans 28080. then
each user needs to know the appropriate ports to add into URI which will
then look like:
Instance A: http://localhost:18080/ecommerce/control/main
Instance B: http://localhost:28080/ecommerce/control/main

A very typical practice to "hide" these details from users is to use an
Apache in front of your ofbiz that translates a certain URL into the
destination using portmapping. Of course you could also have a network
device (Content Switch, Load Balancer, etc.) do this mapping for you.

Let me know if this goes the direction of your original question...

Regards


Carsten

2009/10/3 Vanita <[email protected]>

>
> It didn't solved my problem.
> Kindly,tell me where else i need to make changes?
>
> Vanita
>
> Vanita wrote:
> >
> > Hi
> >
> > I need to run ofbiz application on two different ports of tomcat.
> > Can anyone provide me all the required steps for it?
> >
> > Thanks in advance.
> >
> > Regards
> > Vanita Jain
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Running-multiple-ofbiz-code-on-different-ports-of-tomcat-tp25694873p25727738.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


-- 

Best

Carsten Schinzer

Waisenhausstr. 53a
80637 München
Germany

Reply via email to