DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43839>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43839





------- Additional Comments From [EMAIL PROTECTED]  2008-01-03 18:50 -------
Created an attachment (id=21341)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21341&action=view)
Patch for java.org.apache.catalina.connector.CoyoteAdapter

The change of parseSessionCookiesId has problem. If access a invalid web
application path it will throw NullPointerException. This is unexpect. The
normal is return 404. The follow is the steps.
1. Deploy a web application that is name 'CookiesBug' in webapps. 
2. Start tomcat.
3. Access /cookiesBug. Notice the characters are all in lower.
4. Will show NullPointerExecption at line 554 of class
java.org.apache.catalina.connector.CoyoteAdapter.

   The reason is the access URL is invalid and tomcat can't find the context
element for it. So it will throw NullPointerExecption. From
'http://tomcat.apache.org/tomcat-6.0-doc/config/context.html', I think if can't
find the context, tomcat should trate it as default value, the 'cookies' is
true. So we should get session tracing from cookies.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to