tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bray, Ian" <>
Subject HHTP 302 redirect issue with Tomcat 5.0.28
Date Fri, 21 Oct 2005 10:30:02 GMT

I have a problem with Tomcat 5.0.28 (after upgrading from 4.1.29)
responding to a HTTP POST request with a 302 redirect. Requests to a
specified  URL (eg. /localhost/eaifclient) are being rejected with
a 302 response indicating a redirect to the same URL but with "/"
appended  (eg./localhost/eaifclient/). This appears to be random.
The same request can be repeated and will sporadically pass or
fail each time the application is re-started. 

I'm starting Tomcat using the org.apache.catalina.startup.Embedded
class, configuring the engine, host, contexts and connector and
then deploying a number of War files using deployer.install().

By overriding CoyotteConnector and CoyotteAdapter and adding tracing,
I can see that the original URL is ok, and that all of the contexts
exist, as shown by the following trace:
   Normalized URI: [/eaifserver]
   Mapping is:
   Wrapper is: null
   Dump of Mapper contextNames:
   Redirecting to: /eaifserver/

The requests that fail are different each time Tomcat is started, but
consistantly fail throughout the time that Tomcat is up while requests
for the other URLs succeed.



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It
may contain proprietary material, confidential information and/or be subject to legal privilege.
It should not be copied, disclosed to, retained or used by, any other party. If you are not
an intended recipient then please promptly delete this e-mail and any attachment and all copies
and inform the sender. Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message