Rediect to another Tomcat instance...

2012-10-31 Thread Tony Anecito
Hi All,
 
I need to do a redirect from one Tomcat instance to another on the same 
physical server. That should be possible correct?
 
Regards,
-Tony

Re: Rediect to another Tomcat instance...

2012-10-31 Thread André Warnier

Tony Anecito wrote:

Hi All,
 
I need to do a redirect from one Tomcat instance to another on the same physical server. That should be possible correct?
 


From the way you phrase this, I guess you mean proxy rather than re-direct.  If so, 
as far as I know you are out of luck, because I think Tomcat doesn't do proxy.


If you provide a bit more details about what exactly you want to do, maybe someone can 
help you better.


P.S.
Tony, you've been on this list for a while.  I never hurts to provide Tomcat version, host 
type etc..  Saves time later, usually.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Rediect to another Tomcat instance...

2012-10-31 Thread Tony Anecito
Hi Andre,
 
I have a blog app that I want to isolate to another Tomcat instance and leave 
my web services on my exsting one. Can I not run the second Tomcat service on 
port 82 for example and redirect requests for my blog to the second Tomcat 
running of port 82?
 
Does that help?
-Tony

--- On Wed, 10/31/12, André Warnier a...@ice-sa.com wrote:


From: André Warnier a...@ice-sa.com
Subject: Re: Rediect to another Tomcat instance...
To: Tomcat Users List users@tomcat.apache.org
Date: Wednesday, October 31, 2012, 3:02 PM


Tony Anecito wrote:
 Hi All,
  I need to do a redirect from one Tomcat instance to another on the same 
physical server. That should be possible correct?
  

From the way you phrase this, I guess you mean proxy rather than 
re-direct.  If so, as far as I know you are out of luck, because I think 
Tomcat doesn't do proxy.

If you provide a bit more details about what exactly you want to do, maybe 
someone can help you better.

P.S.
Tony, you've been on this list for a while.  I never hurts to provide Tomcat 
version, host type etc..  Saves time later, usually.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Rediect to another Tomcat instance...

2012-10-31 Thread Caldarale, Charles R
 From: Tony Anecito [mailto:adanec...@yahoo.com] 
 Subject: Re: Rediect to another Tomcat instance...


 I have a blog app that I want to isolate to another Tomcat instance and 
 leave my web services on my exsting one. Can I not run the second Tomcat
 service on port 82 for example and redirect requests for my blog to the 
 second Tomcat running of port 82?

This is the most popular mechanism:

http://tuckey.org/urlrewrite/

You can install it as a filter in your default (ROOT) webapp, and it can 
redirect to wherever you want.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Rediect to another Tomcat instance...

2012-10-31 Thread Tony Anecito
Many thanks Chuck!

--- On Wed, 10/31/12, Caldarale, Charles R chuck.caldar...@unisys.com wrote:


From: Caldarale, Charles R chuck.caldar...@unisys.com
Subject: RE: Rediect to another Tomcat instance...
To: Tomcat Users List users@tomcat.apache.org
Date: Wednesday, October 31, 2012, 4:04 PM


 From: Tony Anecito [mailto:adanec...@yahoo.com] 
 Subject: Re: Rediect to another Tomcat instance...


 I have a blog app that I want to isolate to another Tomcat instance and 
 leave my web services on my exsting one. Can I not run the second Tomcat
 service on port 82 for example and redirect requests for my blog to the 
 second Tomcat running of port 82?

This is the most popular mechanism:

http://tuckey.org/urlrewrite/

You can install it as a filter in your default (ROOT) webapp, and it can 
redirect to wherever you want.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org