Lucee 5.3.1.1.02 Memory Leak / (Felix?) issues when upgrading default jdk from 10.0.2 to 11.0.3

Description

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:

 

 

Environment

Ubuntu Server 18.04.2
Kernel 4.15.0-50-generic (SMP) x86_64
Tomcat 9.0.20
MySQL 8, but not an issue because of start up problems with Lucee/Tomcat/Java

Activity

Derrick Peavy 
21 May 2019 at 13:44

Yes, Open JDK. Versions 10.0.0.2, and 11.0.1 worked fine. Versions 11.0.2 and 11.0.3 and 12.0.1 did not.

Pothys - MitrahSoft 
21 May 2019 at 13:17

, So this issue was related to jdk. Right?

Derrick Peavy 
17 May 2019 at 01:59

For now, ( LDEV-2215 lucee's bundled felix version does not support jrt protocol ) appears to be a solution as was pointed out to me.

I switched back to Open JDK 11.0.1 (11+28) and things appear to be good again!

Unresolved

Details

Assignee

Reporter

Priority

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