AW: Multiple Tomcats handled by one Apache

2003-11-21 Thread Wegener, Dierk
Hello,

I didn't find any hint in these links. So maybe anyone can describe
how to manage this.

For configuring the two different versions of Tomcat I think I have
to switch the mod_jk.conf including depending on the version I want to use.
So mod_jk.so should be able to forward requests to different ports.
Say that Tomcat 1 is a 3.3.1 and Tomcat 2 is a 4.1.24. Tomcat 1 uses
port 8007 and Tomcat 2 uses 8009 to listen to Apache. I setup virtual
hosts in Apache's httpd.conf which has different paths for including
the mod_jk.conf and different uris in the JkMounts.

That's the way I tried, but it doesn't work.

Dierk Wegener

-Ursprungliche Nachricht-
Von: Tim Funk [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 20. November 2003 18:44
An: Tomcat Users List
Betreff: Re: Multiple Tomcats handled by one Apache


Its possible. (Hopefully one of links describes it) ...
http://jakarta.apache.org/tomcat/faq/connectors.html


-Tim

Wegener, Dierk wrote:

> Hello,
> 
> is it possible to use different Tomcats (not multiple instances but real
> different versions)
> in one Apache installations? 
> 
> In workers.properties there is an entry for workers.tomcat_home which I
> suppose to mean
> that multiple instances of one Tomcat installation can be started as
> workers.
> 
> My problem is that several systems on one physical machine need different
> Tomcat versions
> but all have to be reachable on Port 80. So my approach was to load the
> mod_jk and to define
> VirtualHosts (in httpd.conf) where the Include-directives point to the
> different Tomcats. Using 
> different mount points for JkMount should direct the requests to the
correct
> application.
> 
> Unfortunately I am not able to get to work such a configuration.
> 
> Can anyone help? Thanks!!
> 
> Dierk Wegener
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Multiple Tomcats handled by one Apache

2003-11-21 Thread Wegener, Dierk
Hello,

can you please describe you managed to get to work?

Thank you!

Dierk Wegener

-Ursprungliche Nachricht-
Von: Bill Barker [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 21. November 2003 09:01
An: [EMAIL PROTECTED]
Betreff: Re: Multiple Tomcats handled by one Apache



"Wegener, Dierk" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I didn't find any hint in these links. So maybe anyone can describe
> how to manage this.
>
> For configuring the two different versions of Tomcat I think I have
> to switch the mod_jk.conf including depending on the version I want to
use.
> So mod_jk.so should be able to forward requests to different ports.
> Say that Tomcat 1 is a 3.3.1 and Tomcat 2 is a 4.1.24. Tomcat 1 uses
> port 8007 and Tomcat 2 uses 8009 to listen to Apache. I setup virtual
> hosts in Apache's httpd.conf which has different paths for including
> the mod_jk.conf and different uris in the JkMounts.
>
> That's the way I tried, but it doesn't work.
>

I don't know about you, but I have a similar config running for quite a
while now that works like a charm :).  Note that 8007 is the default port
for ajp12 (which is deprecated, even in Tomcat 3.3.x).  Both Tomcats should
be setup to have their ajp13 connector listening to the respective ports.

> Dierk Wegener
>
> -Ursprungliche Nachricht-
> Von: Tim Funk [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 20. November 2003 18:44
> An: Tomcat Users List
> Betreff: Re: Multiple Tomcats handled by one Apache
>
>
> Its possible. (Hopefully one of links describes it) ...
> http://jakarta.apache.org/tomcat/faq/connectors.html
>
>
> -Tim
>
> Wegener, Dierk wrote:
>
> > Hello,
> >
> > is it possible to use different Tomcats (not multiple instances but real
> > different versions)
> > in one Apache installations?
> >
> > In workers.properties there is an entry for workers.tomcat_home which I
> > suppose to mean
> > that multiple instances of one Tomcat installation can be started as
> > workers.
> >
> > My problem is that several systems on one physical machine need
different
> > Tomcat versions
> > but all have to be reachable on Port 80. So my approach was to load the
> > mod_jk and to define
> > VirtualHosts (in httpd.conf) where the Include-directives point to the
> > different Tomcats. Using
> > different mount points for JkMount should direct the requests to the
> correct
> > application.
> >
> > Unfortunately I am not able to get to work such a configuration.
> >
> > Can anyone help? Thanks!!
> >
> > Dierk Wegener
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Multiple Tomcats handled by one Apache

2003-11-24 Thread Wegener, Dierk
Hi,

btw I'm using Apache 1.3.27 and Tomcats 3.3.1a and 4.1.24
on Solaris 8. But testing doesn't even work on win2k.

Thanks

Dierk

-Ursprungliche Nachricht-
Von: Wegener, Dierk [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 21. November 2003 09:11
An: 'Tomcat Users List'
Betreff: AW: Multiple Tomcats handled by one Apache


Hello,

can you please describe you managed to get to work?

Thank you!

Dierk Wegener

-Ursprungliche Nachricht-
Von: Bill Barker [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 21. November 2003 09:01
An: [EMAIL PROTECTED]
Betreff: Re: Multiple Tomcats handled by one Apache



"Wegener, Dierk" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I didn't find any hint in these links. So maybe anyone can describe
> how to manage this.
>
> For configuring the two different versions of Tomcat I think I have
> to switch the mod_jk.conf including depending on the version I want to
use.
> So mod_jk.so should be able to forward requests to different ports.
> Say that Tomcat 1 is a 3.3.1 and Tomcat 2 is a 4.1.24. Tomcat 1 uses
> port 8007 and Tomcat 2 uses 8009 to listen to Apache. I setup virtual
> hosts in Apache's httpd.conf which has different paths for including
> the mod_jk.conf and different uris in the JkMounts.
>
> That's the way I tried, but it doesn't work.
>

I don't know about you, but I have a similar config running for quite a
while now that works like a charm :).  Note that 8007 is the default port
for ajp12 (which is deprecated, even in Tomcat 3.3.x).  Both Tomcats should
be setup to have their ajp13 connector listening to the respective ports.

> Dierk Wegener
>
> -Ursprungliche Nachricht-
> Von: Tim Funk [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 20. November 2003 18:44
> An: Tomcat Users List
> Betreff: Re: Multiple Tomcats handled by one Apache
>
>
> Its possible. (Hopefully one of links describes it) ...
> http://jakarta.apache.org/tomcat/faq/connectors.html
>
>
> -Tim
>
> Wegener, Dierk wrote:
>
> > Hello,
> >
> > is it possible to use different Tomcats (not multiple instances but real
> > different versions)
> > in one Apache installations?
> >
> > In workers.properties there is an entry for workers.tomcat_home which I
> > suppose to mean
> > that multiple instances of one Tomcat installation can be started as
> > workers.
> >
> > My problem is that several systems on one physical machine need
different
> > Tomcat versions
> > but all have to be reachable on Port 80. So my approach was to load the
> > mod_jk and to define
> > VirtualHosts (in httpd.conf) where the Include-directives point to the
> > different Tomcats. Using
> > different mount points for JkMount should direct the requests to the
> correct
> > application.
> >
> > Unfortunately I am not able to get to work such a configuration.
> >
> > Can anyone help? Thanks!!
> >
> > Dierk Wegener
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Multiple Tomcats handled by one Apache

2003-11-24 Thread Wegener, Dierk
Another hello,

so it seems that putting the "include mod_jk.conf" in a VirtualHost
directive is ignored by Apache. Every time I try I get a "workers
not found - jk will not work". 

Maybe someone can help me getting on - or say that it isn't possible
at all.

Thanx!

Dierk

-Ursprungliche Nachricht-
Von: Wegener, Dierk [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 24. November 2003 12:56
An: 'Tomcat Users List'
Betreff: AW: Multiple Tomcats handled by one Apache


Hi,

btw I'm using Apache 1.3.27 and Tomcats 3.3.1a and 4.1.24
on Solaris 8. But testing doesn't even work on win2k.

Thanks

Dierk

-Ursprungliche Nachricht-
Von: Wegener, Dierk [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 21. November 2003 09:11
An: 'Tomcat Users List'
Betreff: AW: Multiple Tomcats handled by one Apache


Hello,

can you please describe you managed to get to work?

Thank you!

Dierk Wegener

-Ursprungliche Nachricht-
Von: Bill Barker [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 21. November 2003 09:01
An: [EMAIL PROTECTED]
Betreff: Re: Multiple Tomcats handled by one Apache



"Wegener, Dierk" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I didn't find any hint in these links. So maybe anyone can describe
> how to manage this.
>
> For configuring the two different versions of Tomcat I think I have
> to switch the mod_jk.conf including depending on the version I want to
use.
> So mod_jk.so should be able to forward requests to different ports.
> Say that Tomcat 1 is a 3.3.1 and Tomcat 2 is a 4.1.24. Tomcat 1 uses
> port 8007 and Tomcat 2 uses 8009 to listen to Apache. I setup virtual
> hosts in Apache's httpd.conf which has different paths for including
> the mod_jk.conf and different uris in the JkMounts.
>
> That's the way I tried, but it doesn't work.
>

I don't know about you, but I have a similar config running for quite a
while now that works like a charm :).  Note that 8007 is the default port
for ajp12 (which is deprecated, even in Tomcat 3.3.x).  Both Tomcats should
be setup to have their ajp13 connector listening to the respective ports.

> Dierk Wegener
>
> -Ursprungliche Nachricht-
> Von: Tim Funk [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 20. November 2003 18:44
> An: Tomcat Users List
> Betreff: Re: Multiple Tomcats handled by one Apache
>
>
> Its possible. (Hopefully one of links describes it) ...
> http://jakarta.apache.org/tomcat/faq/connectors.html
>
>
> -Tim
>
> Wegener, Dierk wrote:
>
> > Hello,
> >
> > is it possible to use different Tomcats (not multiple instances but real
> > different versions)
> > in one Apache installations?
> >
> > In workers.properties there is an entry for workers.tomcat_home which I
> > suppose to mean
> > that multiple instances of one Tomcat installation can be started as
> > workers.
> >
> > My problem is that several systems on one physical machine need
different
> > Tomcat versions
> > but all have to be reachable on Port 80. So my approach was to load the
> > mod_jk and to define
> > VirtualHosts (in httpd.conf) where the Include-directives point to the
> > different Tomcats. Using
> > different mount points for JkMount should direct the requests to the
> correct
> > application.
> >
> > Unfortunately I am not able to get to work such a configuration.
> >
> > Can anyone help? Thanks!!
> >
> > Dierk Wegener
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]