Re: Redirect request to another Tomcat server

2008-05-15 Thread Liang Xiao Zhu
. --- - Original Message - From: ubekhet [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, May 15, 2008 1:35 AM Subject: Redirect request to another Tomcat server Hi everyone, I am wondering, if there is some posibility to redirect the request from one Tomcat

RE: Redirect request to another Tomcat server

2008-05-15 Thread Propes, Barry L
to another Tomcat server Hi everyone, I am wondering, if there is some posibility to redirect the request from one Tomcat Server to another one. I would like to know where is the point to change that. Basically, in one Tomcat Server I recieve the request I will check the headers and then depending

Re: Redirect request to another Tomcat server

2008-05-15 Thread Liang Xiao Zhu
: Redirect request to another Tomcat server Hi everyone, I am wondering, if there is some posibility to redirect the request from one Tomcat Server to another one. I would like to know where is the point to change that. Basically, in one Tomcat Server I recieve the request I will check

RE: Redirect request to another Tomcat server

2008-05-15 Thread Peter Crowther
. - Peter -Original Message- From: Liang Xiao Zhu [mailto:[EMAIL PROTECTED] Sent: 15 May 2008 17:42 To: Tomcat Users List Subject: Re: Redirect request to another Tomcat server Yes, maybe you are right that I couldn't salvage a session. So, How can manage that using as session, I

Re: Redirect request to another Tomcat server

2008-05-15 Thread Liang Xiao Zhu
: Liang Xiao Zhu [mailto:[EMAIL PROTECTED] Sent: 15 May 2008 17:42 To: Tomcat Users List Subject: Re: Redirect request to another Tomcat server Yes, maybe you are right that I couldn't salvage a session. So, How can manage that using as session, I mean can I redirect the Tomcat sessions? For example, I

RE: Redirect request to another Tomcat server

2008-05-15 Thread Peter Crowther
From: Liang Xiao Zhu [mailto:[EMAIL PROTECTED] But, what happen if I want using Session instead of Request? mean, I want to refuse session according the number of session I have currently!!! And them redirect the refused session to other tomcat server You are taking an action when a

Re: Redirect request to another Tomcat server

2008-05-15 Thread Johnny Kewl
Hi Johnny Kewl, With response.sendRedirect(newUrl); I have to invoke this in some web applications, but I want to modified Tomcat sources for to do that, and the class Http11NioProtocol and Http11NioProcessor dont have sendRedirect() methods!!! Any idea for redirect the request from the

Re: Redirect request to another Tomcat server

2008-05-15 Thread Johnny Kewl
Liang, I think whats bothering all of us, is that sometimes the concept itself is going wrong, and that what I think the other guys are asking. As you can see, you now getting into cookie management and all that heavy stuff, and eventually maybe suicide ;) If its load sharing, maybe think

Re: Redirect request to another Tomcat server

2008-05-15 Thread Alan Chaney
Liang I don't understand what NIO has to do with it. The response.sendRedirect() is part of the servlet spec and what type connector you are using in Tomcat should have no effect on this. I'd appreciate it if someone would correct me here if I am wrong. As a matter of interest I use

Redirect request to another Tomcat server

2008-05-14 Thread ubekhet
Hi everyone, I am wondering, if there is some posibility to redirect the request from one Tomcat Server to another one. I would like to know where is the point to change that. Basically, in one Tomcat Server I recieve the request I will check the headers and then depending of some parameters

Re: Redirect request to another Tomcat server

2008-05-14 Thread Hassan Schroeder
On Wed, May 14, 2008 at 4:35 PM, ubekhet [EMAIL PROTECTED] wrote: I am wondering, if there is some posibility to redirect the request from one Tomcat Server to another one. http://tuckey.org/urlrewrite/ is probably the easiest :-) -- Hassan Schroeder [EMAIL

Re: Redirect request to another Tomcat server

2008-05-14 Thread Johnny Kewl
. --- - Original Message - From: ubekhet [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, May 15, 2008 1:35 AM Subject: Redirect request to another Tomcat server Hi everyone, I am wondering, if there is some posibility to redirect the request from one Tomcat Server to another one. I