mod-jk2 multi-site config

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

mod-jk2 multi-site config

Daniel Kunkel
Hi

I'm a bit confused trying to get multiple sites up and running using
mod_jk2 and not the reasonably well documented mod_jk.  

Does anyone have this working who can share their configuration files?

Thanks

--
Daniel

*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-
Have a GREAT Day!

Daniel Kunkel           [hidden email]
BioWaves, LLC           http://www.BioWaves.com
14150 NE 20th St. Suite F1
Bellevue, WA 98007
800-734-3588    425-895-0050
http://www.Apartment-Pets.com  http://www.SatelliteRadioZone.com
http://www.Cards-Visa.com       http://www.ColorGlasses.com
*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-


Reply | Threaded
Open this post in threaded view
|

Re: mod-jk2 multi-site config

Walter Vaughan
Daniel Kunkel wrote:
> I'm a bit confused trying to get multiple sites up and running using
> mod_jk2 and not the reasonably well documented mod_jk.

Well I was confused a first why you were looking at mod_jk2 since *I* thought it
had been depreciated since 2003. On the other hand, since Apache 2.2 is
production quality, you may want to start googling on mod_proxy_ajp, since it
appears to be the way of the future.

 From http://rimuhosting.com/mod_jk2.jsp ...

<quote>
Apache 2.2, FC5, mod_proxy and 'Where is mod_jk2'?

Apache 2.2 introduces a mod_proxy_ajp module.  It is available in some newer
distros, e.g. FC5.  This module pretty much deprecates the need for mod_jk2.
Instead of having the Location tags with mod_jk2 in Apache you would put a
directive like this inside your VirtualHost definition:

ProxyPass /tomcat ajp://127.0.0.1:8009

This will forward all requests to http://yourip/tomcat to tomcat's ROOT webapp.
Or you could use:

ProxyPass /tomcat ajp://127.0.0.1:8009/jsp-examples
</quote>

On the otherhand setting up mod_jk2 shouldn't be that much different from the
instructions I gave on the old wiki site...

--
Walter
Reply | Threaded
Open this post in threaded view
|

Re: mod-jk2 multi-site config

Daniel Kunkel
Thanks Walter

That's great news...  Hopefully Apache 2.2 will come standard in the new
Redhat/Centos 5 which should be out later this year.

I guess it brings up one other question I've wondered about...  running
multiple OFBiz instances each in their own virtual machine, and tied to
their own ip address.

I'm of course assuming that 127.0.0.1 will reflect back to each vm
independently, but that's probably true.

Has anyone tried this?

Meanwhile, upgrading to apache 2.2 is not an option, so if someone does
have a current version of config files for running multiple instances of
OFBiz, I'd appreciate the chance to see how you got it working.

Thanks

Daniel



On Wed, 2006-08-30 at 21:41 -0400, Walter Vaughan wrote:

> Daniel Kunkel wrote:
> > I'm a bit confused trying to get multiple sites up and running using
> > mod_jk2 and not the reasonably well documented mod_jk.
>
> Well I was confused a first why you were looking at mod_jk2 since *I* thought it
> had been depreciated since 2003. On the other hand, since Apache 2.2 is
> production quality, you may want to start googling on mod_proxy_ajp, since it
> appears to be the way of the future.
>
>  From http://rimuhosting.com/mod_jk2.jsp ...
>
> <quote>
> Apache 2.2, FC5, mod_proxy and 'Where is mod_jk2'?
>
> Apache 2.2 introduces a mod_proxy_ajp module.  It is available in some newer
> distros, e.g. FC5.  This module pretty much deprecates the need for mod_jk2.
> Instead of having the Location tags with mod_jk2 in Apache you would put a
> directive like this inside your VirtualHost definition:
>
> ProxyPass /tomcat ajp://127.0.0.1:8009
>
> This will forward all requests to http://yourip/tomcat to tomcat's ROOT webapp.
> Or you could use:
>
> ProxyPass /tomcat ajp://127.0.0.1:8009/jsp-examples
> </quote>
>
> On the otherhand setting up mod_jk2 shouldn't be that much different from the
> instructions I gave on the old wiki site...
>
> --
> Walter

Reply | Threaded
Open this post in threaded view
|

Re: mod-jk2 multi-site config

cjhowe
In regards to the virtual machines, that is correct
and is essentially the basis for Amazon's EC2 service.

http://www.amazon.com/gp/browse.html?node=201590011

--- Daniel Kunkel <[hidden email]> wrote:

> Thanks Walter
>
> That's great news...  Hopefully Apache 2.2 will come
> standard in the new
> Redhat/Centos 5 which should be out later this year.
>
> I guess it brings up one other question I've
> wondered about...  running
> multiple OFBiz instances each in their own virtual
> machine, and tied to
> their own ip address.
>
> I'm of course assuming that 127.0.0.1 will reflect
> back to each vm
> independently, but that's probably true.
>
> Has anyone tried this?
>
> Meanwhile, upgrading to apache 2.2 is not an option,
> so if someone does
> have a current version of config files for running
> multiple instances of
> OFBiz, I'd appreciate the chance to see how you got
> it working.
>
> Thanks
>
> Daniel
>
>
>
> On Wed, 2006-08-30 at 21:41 -0400, Walter Vaughan
> wrote:
> > Daniel Kunkel wrote:
> > > I'm a bit confused trying to get multiple sites
> up and running using
> > > mod_jk2 and not the reasonably well documented
> mod_jk.
> >
> > Well I was confused a first why you were looking
> at mod_jk2 since *I* thought it
> > had been depreciated since 2003. On the other
> hand, since Apache 2.2 is
> > production quality, you may want to start googling
> on mod_proxy_ajp, since it
> > appears to be the way of the future.
> >
> >  From http://rimuhosting.com/mod_jk2.jsp ...
> >
> > <quote>
> > Apache 2.2, FC5, mod_proxy and 'Where is mod_jk2'?
> >
> > Apache 2.2 introduces a mod_proxy_ajp module.  It
> is available in some newer
> > distros, e.g. FC5.  This module pretty much
> deprecates the need for mod_jk2.
> > Instead of having the Location tags with mod_jk2
> in Apache you would put a
> > directive like this inside your VirtualHost
> definition:
> >
> > ProxyPass /tomcat ajp://127.0.0.1:8009
> >
> > This will forward all requests to
> http://yourip/tomcat to tomcat's ROOT webapp.
> > Or you could use:
> >
> > ProxyPass /tomcat
> ajp://127.0.0.1:8009/jsp-examples
> > </quote>
> >
> > On the otherhand setting up mod_jk2 shouldn't be
> that much different from the
> > instructions I gave on the old wiki site...
> >
> > --
> > Walter
>
>