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 redirects

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 abo

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 conn

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 Liang Xiao Zhu
ssage- 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 mean can I redirect the Tomcat sess

RE: Redirect request to another Tomcat server

2008-05-15 Thread Peter Crowther
the valve runs. - 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 sess

Re: Redirect request to another Tomcat server

2008-05-15 Thread Liang Xiao Zhu
che.org 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 would like to know where is the point to change that. Basically, in one Tomcat Server I recieve the request I

RE: Redirect request to another Tomcat server

2008-05-15 Thread Propes, Barry L
you'd probably have to hard code an http path in there, but I don't think you could salvage a session could you? Maybe you could. -Original Message- From: ubekhet [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 6:36 PM To: users@tomcat.apache.org Subject: Redirect

Re: Redirect request to another Tomcat server

2008-05-15 Thread Liang Xiao Zhu
. --- - Original Message - From: "ubekhet" <[EMAIL PROTECTED]> To: 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 Serve

Re: Redirect request to another Tomcat server

2008-05-14 Thread Johnny Kewl
. --- - Original Message - From: "ubekhet" <[EMAIL PROTECTED]> To: 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 wo

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. is probably the easiest :-) -- Hassan Schroeder [EMAIL

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 I