https://bz.apache.org/bugzilla/show_bug.cgi?id=60101
Bug ID: 60101 Summary: 7.0.71 (RC): Jasper fails to initialize when running with SecurityManager enabled Product: Tomcat 7 Version: trunk Hardware: PC OS: Windows NT Status: NEW Severity: regression Priority: P2 Component: Jasper Assignee: dev@tomcat.apache.org Reporter: knst.koli...@gmail.com Steps to reproduce: 1. Unzip apache-tomcat-7.0.71.zip 2. set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_102 (or 6u45 - does not matter) 3. Start Tomcat with SecurityManager being enabled: catalina.bat start -security The following error is observed at startup: java.lang.ClassNotFoundException: org.apache.jasper.runtime.JspRuntimeLibrary$PrivilegedIntrospectHelper at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.apache.jasper.security.SecurityClassLoad.securityClassLoad(SecurityClassLoad.java:49) at org.apache.jasper.compiler.JspRuntimeContext.<clinit>(JspRuntimeContext.java:82) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.apache.catalina.core.JasperListener.lifecycleEvent(JasperListener.java:63) <...> I'll attach the log file (catalina.2016-09-09.log) with full stacktrace. This error is reported twice: the first time when it occurs in SecurityClassLoad.securityClassLoadand() and the second time when it pops up in JasperListener.lifecycleEvent(). 4. Visit http://localhost:8080/ The page fails with Error 500: java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org