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

Re: Redirect request to another Tomcat server

2008-05-14 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm The most powerful application server on earth. The only real POJO Application Server. --- - Origi

Re: Redirect request to another Tomcat server

2008-05-15 Thread Liang Xiao Zhu
Johnny Kewl escribió: --- HARBOR: http://coolharbor.100free.com/index.htm The most powerful application server on earth. The only real POJO Application Server. -

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 request to anoth

Re: Redirect request to another Tomcat server

2008-05-15 Thread Liang Xiao Zhu
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 detected a session that I dont want to response, and so I want to redirect this session, How I have to do that? Thanks in advance!!!

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
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
> 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 conn

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 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