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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to