tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Tulley" <JTUL...@novell.com>
Subject RE: response.sendRedirect() finite loop?!
Date Wed, 03 Dec 2003 17:48:55 GMT
Also, are you using the latest mod_jk?   We had some thread hangs (never
saw what you are seeing), that cleared up by moving to 1.2.5 mod_jk.

>>> Yoav.Shapira@mpi.com 12/3/03 7:05:52 AM >>>

Howdy,
I've never seen something like this with tomcat, and I don't know
enough
about mod_jk to comment intelligently.  If you don't need Apache,
don't
use it ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Stuart Stephen [mailto:stuart.stephen@talkics.com] 
>Sent: Wednesday, December 03, 2003 7:37 AM
>To: Tomcat Users List
>Subject: RE: response.sendRedirect() finite loop?!
>
>Hi,
>
>On further investigation it would appear that this is not a Tomcat
issue.
>It
>seems to be something to do with mod_jk. When a response.sendRedirect
>occurs
>it does not apply it properly. Or at least something is not executing
>properly.
>
>The setup we have is Apache 2.0.48, Tomcat 4.1.29, and mod_jk between
them
>working with mod_ssl. I tested the code without using apache between
me
and
>Tomcat and everything worked as expected.
>
>Any suggestions or comments??
>
>Regards
>Stuart
>
>-----Original Message-----
>From: Stuart Stephen [mailto:stuart.stephen@talkics.com] 
>Sent: 03 December 2003 10:06
>To: tomcat-user@jakarta.apache.org 
>Subject: response.sendRedirect() finite loop?!
>
>
>talk2UtimeHi all,
>
>I am getting strange entries in my test_service_log.2003-12-03.txt.
>
>In my JSP which gets executed before this I am running a
>response.sendRedirect("/test/RedirectToMe.jsp"); with a return;
afterwards.
>So this should only get executed once. However. According to my logs
its
>being accessed 1333 times in just SIX seconds [line count / 2]. I am
the
>ONLY person on the server and therefore this is strange occurance!
>
>I checked the corresponding apache logs and this servlet was not in
the
>logs, the servlet before hand which does the redirect was the only
servlet
>that has been accessed externally. This is true from what the user
sees.
>
>Is this a bug in Tomcat 4.1.29 or has something changed? I've been
using
>Tomcat for a few years now and I've never seen anything like this?
>
>Regards,
>
>Stuart Stephen
>
>2003-12-03 09:32:08 StandardContext[/t2ut]: Mapping
contextPath='/test'
>with
>requestURI='/test/RedirectToMe.jsp' and
relativeURI='/RedirectToMe.jsp'
>2003-12-03 09:32:08 StandardContext[/t2ut]: Mapped to servlet 'jsp'
with
>servlet path '/RedirectToMe.jsp' and path info 'null' and update=true
>2003-12-03 09:32:08 StandardContext[/t2ut]: Mapping
contextPath='/test'
>with
>requestURI='/test/RedirectToMe.jsp' and
relativeURI='/RedirectToMe.jsp'
>2003-12-03 09:32:08 StandardContext[/t2ut]: Mapped to servlet 'jsp'
with
>servlet path '/RedirectToMe.jsp' and path info 'null' and update=true
>...
>...
>...
>2003-12-03 09:32:14 StandardContext[/t2ut]: Mapping
contextPath='/t2ut'
>with
>requestURI='/t2ut/RoomTimes.jsp' and relativeURI='/RoomTimes.jsp'
>2003-12-03 09:32:14 StandardContext[/t2ut]: Mapped to servlet 'jsp'
with
>servlet path '/RoomTimes.jsp' and path info 'null' and update=true
>2003-12-03 09:32:14 StandardContext[/t2ut]: Mapping
contextPath='/t2ut'
>with
>requestURI='/t2ut/RoomTimes.jsp' and relativeURI='/RoomTimes.jsp'
>2003-12-03 09:32:14 StandardContext[/t2ut]: Mapped to servlet 'jsp'
with
>servlet path '/RoomTimes.jsp' and path info 'null' and update=true
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org 
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org 




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org 
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org 


Jeff Tulley  (jtulley@novell.com)
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message