tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: [GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed
Date Thu, 20 May 2010 09:27:49 GMT
On 20/05/2010 03:00, Konstantin Kolinko wrote:
> The problem is that the request for /foo servlet on Gump is not
> served, but is redirected to /foo/, and that redirection loses the
> "jsessionid" parameter.
> 
>         // Must have a real docBase - just use temp
>         Context ctx =
>         tomcat.addContext("/", System.getProperty("java.io.tmpdir"));
> 
> Finally, now I am _able_ to reproduce the issue. It happens if I
> create a subdirectory "foo" in the system temporary directory.
> 
> Losing jsessionid on a redirection is a bug.

Fantastic. I'm gald we cracked this one. I can reproduce it too.

Working on a fix now...

On reflection, unless anyone objects, I am going to leave the debug code
in CoyoteAdapter. The overhead is minimal and it has proved very useful.

Mark



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


Mime
View raw message