https://bz.apache.org/bugzilla/show_bug.cgi?id=62224
Bug ID: 62224 Summary: SafeForkJoinWorkerThreadFactory breaks class loading on org.apache.naming.java.javaURLContextFactory Product: Tomcat 8 Version: 8.5.x-trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: nob...@gmail.com Target Milestone: ---- Tomcat 8.0.42 introduces a change to install a different ForkJoinWorkerThreadFactory into Java using a System property in an unconditional way. Link to the change from 8.0.42: https://github.com/apache/tomcat80/compare/TOMCAT_8_0_41...TOMCAT_8_0_42#diff-738f0383c5c3a3e5bbd162aa59a114c6R470 We have tried to bisect Tomcat versions from 9.0.6 to 8.0.42 and all version upgrades have yielded to the following exception: javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.naming.java.javaURLContextFactory [Root exception is java.lang.ClassNotFoundException: org.apache.naming.java.javaURLContextFactory] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313) at javax.naming.InitialContext.init(InitialContext.java:244) at javax.naming.InitialContext.<init>(InitialContext.java:192) When trying Tomcat 8.0.41, the exception does not appear anymore. When trying Tomcat 8.0.42, when we remove the following Listener from server.xml, the exception does not occur any more: <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/> -- 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