> From: Tomislav Petrović [mailto:t.petro...@inet.hr] > Subject: Re: Webapp reloading issue and intermittent 404 errors > > Don't know have to check with customer, but actual index varies in each > occurrence of stack trace, sometimes it is even -1.
Here's the code of interest: 127 while (true) { 128 int index = normalized.indexOf("//"); 129 if (index < 0) 130 break; 131 normalized = normalized.substring(0, index) + 132 normalized.substring(index + 1); 133 } Given the test on lines 129-130, it is impossible to have a -1 at line 131 - unless there's a JVM bug. You could try running with a -client option instead of -server (if it's available on your platform), or create a .hotspot_compiler file in the Tomcat current directory containing this line: exclude org.apache.catalina.util.RequestUtil normalize - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org