** Description changed: + [Impact] + + * There was a software bug in the 8.0.32 release of tomcat8, + subsequently fixed in 8.0.33, with acessing past the end of a string. + + [Test Case] + + * @Samuel, are you able to provide an explicit testcase? + + [Regression Potential] + + * This is a strict backport from upstream of a bugfix. The regression + potential is very low, as the current tomcat8 code is broken. + + --- + Tomcat 8.0.32 has a known and corrected bug https://bz.apache.org/bugzilla/show_bug.cgi?id=58999 which in some cases prevents a webapp from executing. I have encountered this error. The fix will be to place a later version of Tomcat8 into the Ubuntu 16.04 repository. I encountered this error using: ---------------------------- OpenVPMS 1.8.1 (veterinary practice management webapp) MySQL 5.7.13 Open-jdk 1.8.0_91 - Tomcat 8.0.32 + Tomcat 8.0.32 mysql-connector-java-5.1.39 ---------------------------- The webapp in this case (OpenVPMS) runs under tomcat7 but not under this specific version of Tomcat (8.0.32). Instead, tomcat throws a 404-/openvpms error. The relevant portion of the tomcat log is: Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 3 - at java.lang.String.charAt(String.java:658) - at org.apache.catalina.loader.WebappClassLoaderBase.filter(WebappClassLoaderBase.java:2780) - at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1253) - at java.lang.ClassLoader.loadClass(ClassLoader.java:411) - at java.lang.ClassLoader.loadClass(ClassLoader.java:357) - at java.lang.Class.forName0(Native Method) - at java.lang.Class.forName(Class.java:348) + at java.lang.String.charAt(String.java:658) + at org.apache.catalina.loader.WebappClassLoaderBase.filter(WebappClassLoaderBase.java:2780) + at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1253) + at java.lang.ClassLoader.loadClass(ClassLoader.java:411) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + at java.lang.Class.forName0(Native Method) + at java.lang.Class.forName(Class.java:348) Thank you.
** Description changed: [Impact] - * There was a software bug in the 8.0.32 release of tomcat8, + * There was a software bug in the 8.0.32 release of tomcat8, subsequently fixed in 8.0.33, with acessing past the end of a string. [Test Case] - * @Samuel, are you able to provide an explicit testcase? + * The Apache bug provides a test case. [Regression Potential] * This is a strict backport from upstream of a bugfix. The regression potential is very low, as the current tomcat8 code is broken. --- Tomcat 8.0.32 has a known and corrected bug https://bz.apache.org/bugzilla/show_bug.cgi?id=58999 which in some cases prevents a webapp from executing. I have encountered this error. The fix will be to place a later version of Tomcat8 into the Ubuntu 16.04 repository. I encountered this error using: ---------------------------- OpenVPMS 1.8.1 (veterinary practice management webapp) MySQL 5.7.13 Open-jdk 1.8.0_91 Tomcat 8.0.32 mysql-connector-java-5.1.39 ---------------------------- The webapp in this case (OpenVPMS) runs under tomcat7 but not under this specific version of Tomcat (8.0.32). Instead, tomcat throws a 404-/openvpms error. The relevant portion of the tomcat log is: Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 3 at java.lang.String.charAt(String.java:658) at org.apache.catalina.loader.WebappClassLoaderBase.filter(WebappClassLoaderBase.java:2780) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1253) at java.lang.ClassLoader.loadClass(ClassLoader.java:411) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) Thank you. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1606331 Title: StringIndexOutOfBoundsException - Tomcat8.0.32 To manage notifications about this bug go to: https://bugs.launchpad.net/tomcat7/+bug/1606331/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
