viviotech / lucee-installer

BitRock Installer XML config and files for the Lucee installers
http://lucee.viviotech.net/
9 stars 2 forks source link

With Java 10 Tomcat will not Start #94

Closed pfreitag closed 5 years ago

pfreitag commented 6 years ago

When I switch the JVM to Java 10 (I am using 10.0.2) the Tomcat Service does not start. It turns out it is because the system property java.endorsed.dirs is not supported on Java 10. -Djava.endorsed.dirs=C:\lucee\tomcat\endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules.

I wrote up the details here: https://www.petefreitag.com/item/851.cfm

utdream commented 6 years ago

Awesome. Thanks Pete. Very helpful!

utdream commented 5 years ago

Notes on this:

This specific issue looks to have been addressed by rjung in Tomcat 8.5.24, but I failed to implement it until now. Using the updated catalina[.sh|.bat] scripts from this release on (there have been a couple fixes to it in newer releases) Tomcat will now properly ignore the "endorsed" aspect of the JRE if it's not supported.

I performed a successful test of running Oracle's OpenJDK 11.0.1 on Lucee 5.3 RC and with the new changes from the updated catalina.sh, things can proceed largely unchanged, but more work is needed to polish it and make it nice. For example, there is a lot of excessive output in various logs that doesn't need to be there. A SystemD script would be particularly helpful for modern releases of CentOS and Ubuntu... See issue 93.

utdream commented 5 years ago

This issue appears to be resolved by the Tomcat folks, so going to close this at this time.