You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pete Nelson <pe...@ci.stpaul.mn.us> on 2003/01/09 15:07:10 UTC

Re: [users@httpd] Can one instance of Apache serve 2 different tomcatapp servers on single machine

I was once running Tomcat 4 and Apache 2 on a Win2k machine, and at the
time since there was no working module for Win32 & tomcat, I used the
ReverseProxy & ProxyPass directives to have requests for certain folders
proxy to the port of the Tomcat server.  This may be an option for you,
as it would allow you to run two instances of tomcat, and have different
apps proxy to differing versions.  The biggest trick you'd face would be
configuring the different Tomcat versions so they use completely
different ports (not just the HTTP interface, but the APJ12, APJ13
interfaces as well).

--
Pete Nelson, Web Developer
<pe...@ci.stpaul.mn.us>
http://www.ci.stpaul.mn.us/


>>> jaqui@shaw.ca 01/08/03 08:17PM >>>
no idea personally, though it's a good idea to not hit reply and change 
the subject when posting, you don't start a new thread when you do and 
it makes it harder to track for getting answers. ;)

Ashish Kulkarni wrote:
> Hi.
> I have one Instance of Apache2.0.39 running on my
> windows 2000 
> I have also installed tomcat4.0.4 and tomcat4.1.12 on
> the same server,
> Can i configure apache to work with both, 
> Like can i have 2 application /app1 running on
> tomcat4.0.4 and /app2 running on tomcat4.1.12 and use
> single  instance of apache so if i do
> http://localhost/app1/index.jsp will go to tomcat4.0.4
> and
> http://localhost/app2/index.jsp will go to
> tomcat4.1.12
> if this is possible , how to do it
> Ashish
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: [users@httpd] Can one instance of Apache serve 2 different tomcatapp servers on single machine

Posted by Ashish Kulkarni <ku...@yahoo.com>.
Hi,
I was able to use apache serve 2 different tomcat
using 
ProxyPass and reverse proxy.
But still not able to use AJP13 to connect to
different tomcat depending upon application name
has any one done it before
--- Pete Nelson <pe...@ci.stpaul.mn.us> wrote:
> I was once running Tomcat 4 and Apache 2 on a Win2k
> machine, and at the
> time since there was no working module for Win32 &
> tomcat, I used the
> ReverseProxy & ProxyPass directives to have requests
> for certain folders
> proxy to the port of the Tomcat server.  This may be
> an option for you,
> as it would allow you to run two instances of
> tomcat, and have different
> apps proxy to differing versions.  The biggest trick
> you'd face would be
> configuring the different Tomcat versions so they
> use completely
> different ports (not just the HTTP interface, but
> the APJ12, APJ13
> interfaces as well).
> 
> --
> Pete Nelson, Web Developer
> <pe...@ci.stpaul.mn.us>
> http://www.ci.stpaul.mn.us/
> 
> 
> >>> jaqui@shaw.ca 01/08/03 08:17PM >>>
> no idea personally, though it's a good idea to not
> hit reply and change 
> the subject when posting, you don't start a new
> thread when you do and 
> it makes it harder to track for getting answers. ;)
> 
> Ashish Kulkarni wrote:
> > Hi.
> > I have one Instance of Apache2.0.39 running on my
> > windows 2000 
> > I have also installed tomcat4.0.4 and tomcat4.1.12
> on
> > the same server,
> > Can i configure apache to work with both, 
> > Like can i have 2 application /app1 running on
> > tomcat4.0.4 and /app2 running on tomcat4.1.12 and
> use
> > single  instance of apache so if i do
> > http://localhost/app1/index.jsp will go to
> tomcat4.0.4
> > and
> > http://localhost/app2/index.jsp will go to
> > tomcat4.1.12
> > if this is possible , how to do it
> > Ashish
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> > http://mailplus.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > The official User-To-User support forum of the
> Apache HTTP Server
> Project.
> > See <URL:http://httpd.apache.org/userslist.html>
> for more info.
> > To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
> >    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail:
> users-help@httpd.apache.org
> > 
> > 
> 
> 
> 
>
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> > BEGIN:VCARD
> VERSION:2.1
> X-GWTYPE:USER
> FN:Nelson, Pete
> N:Nelson;Pete
> ORG:;TMS-IS
> TEL;WORK:651-266-6780
> EMAIL;WORK;PREF:Pete.Nelson@ci.stpaul.mn.us
> END:VCARD
> 
> 
> >
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
users-help@httpd.apache.org


=====


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org