I remember listing all the files that needed modifying with regards to ofbiz 
earlier this year. if you search the forum using this email, you may find the 
post.

Farouk Alhassan
Java Enterprise Developer
www.faroukalhassan.com | [email protected]
www.bespokecode.co.uk
Contact Me  

--- @ WiseStamp Signature. Get it now

--- On Sat, 3/10/09, James McGill <[email protected]> wrote:

From: James McGill <[email protected]>
Subject: Re: Running multiple ofbiz code on different ports of tomcat
To: [email protected]
Date: Saturday, 3 October, 2009, 23:05

On Sat, Oct 3, 2009 at 4:01 AM, Vanita <[email protected]> wrote:

>
> It didn't solved my problem.
> Kindly,tell me where else i need to make changes?
>
>

You will have to change various ports in framework/base/config

You may want to change the bind address from 0.0.0.0 to the address of a
particular interface in ofbiz-containers.xml
and then change various ports for the connectors in that file.  (For
instance, ajp/8009, bsh 9999-9990, and http/https (8080, 8443).)

I think there's also a JNDI port (1099) and a change here probably requires
corresponding changes elsewhere.

Personally, I think it's a better bet to use Apache as the front-end and
redirect on a per-URL basis to a single appserver config.
There are many benefits from using mod-proxy+mod-rewrite or  AJP.

We have several test / devel configurations of OFBiz, and use Xen VM's on
CentOS to manage them.  Then it's just a simple
ProxyPass / Location config in Apache to give them outside names, and we can
do stuff like host-based authentication, and it's easy to move things
around.


-- 
James McGill
Phoenix AZ



      

Reply via email to