Unresolved
Details
Details
Assignee
Unassigned
UnassignedReporter
Derrick Peavy
Derrick PeavyPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 16 May 2019 at 15:01
Updated 19 May 2021 at 11:20
Recently preformed minor point update on server and didn't catch that Ubuntu was updating java from the prior default included with the LTS package from 10.0.2 to 11.0.3.
Restarted server, Tomcat admin no longer working, No Lucee sites working any longer.
Tomcat is at /opt/tomcat and was version 9.0.16 prior to update. In an effort to solve the problems, I updated Tomcat to 9.0.20 it does not appear to matter. I also went down to 9.0.19 and back to 9.0.16 and then back to 9.0.20 it didn't matter problem was the same.
Installed java and reinstalled, didn't matter.
Problems happening on both a test instance at Digital Ocean (same OS, same kernel, same software) as well as own hardware server sunning same version of all software. Both worked fine before the upgrades.
To reproduce (hopefully):
In /opt/tomcat/conf my server.xml file is attached. Same file both before an after upgrade, only change is commenting out the second host context at apx. line 230 in server.xml. In order to get java/Tomcat to start up, I can now only have the default context and one additional host. But not more than one host.
I have tried removing all instances of Lucee and only have default Tomcat install. In which case, tomcat works just fine. You can access admin and other default apps.
As soon as you add the default Lucee instance in /opt/tomcat/ the default Tomcat apps stop working (replacing the default tomcat ROOT of course, please assume that). And even with all Tomcat default apps removed such that only the default Lucee instance in /opt/tomcat is present, the multi host problem persists.
If I start up Tomcat with only the default instance (/opt/tomcat/ROOT/WEB-INF/Lucee*), and the attached server.xml file, I can at least get the first site host to work. Doesn't matter if I install Lucee at that host or not. Any more than one host (plus default) and things do not work.
Here is /opt/tomcat/logs/catalina.2019-05-16.log file with attached server.xml file exactly as I have provided here:
*Great! *
Here is /opt/tomcat/logs/catalina.2019-05-16.log file with attached server.xml file if I uncomment the second host (again doesn't matter what else you do, copy Lucee to sites named in the server.xml file or not, empty WEB-INF directory or not, or even just the default Lucee install at /opt/tomcat). And I emphasize again that this setup is exactly the same as before upgrading Java - same server.xml file, same web directory structure, etc: