Tomcat 9 and OpenJDK 11.0.2


#1

Have been running Lucee (5.3) on Tomcat v9 and OpenJDK 11.0.1 without problem. Tried GA 11.0.2 and get the following error when starting up Tomcat:

SEVERE [main] org.apache.catalina.core.ContainerBase.startInternal A child container failed during start
 java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[mysite.localhost].StandardContext[]]

The root context loads fine, but Tomcat shuts down with the above error when trying to initiate any other hosts in server.xml.

I know this isn’t likely Lucee specific, but wondered if anyone else had issues with 11.0.2 and Tomcat?


#2

Out of curiosity, are you running the latest Tomcat (9.0.16) as well? I had issues directly with Tomcat due to a known issue with that version’s catalina.sh. The fix suggested for the latest version was to use the catalina.sh from 9.0.13. Either way this sounds like a Tomcat issue.

My initial suggestion would be to grab a fresh copy of whatever version you are using and overwrite the JARs in the /lib folder and the contents of /bin. Just be sure to keep you setenv.sh file if you use custom settings there. If you’re using the Windows binary, I imagine the process is similar.


#3

I am having the same issue on 9.0.12 and 9.0.16