Fixed
Details
Details
Assignee
Unassigned
UnassignedReporter
Markus Wollny
Markus WollnyPriority
Labels
Fix versions
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
Sprint
None
Affects versions
Created 1 June 2022 at 13:20
Updated 24 August 2022 at 08:30
Resolved 24 August 2022 at 08:30
I get the following warning on startup:
WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender (file:/opt/lucee/jar/lucee-5.3.9.133.jar) to method java.net.URLClassLoader
So I added --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED to JAVA_OPTS. The original warning disappeared, instead I now get a warning about another such issue, but this time caused by lucee.commons.lang.ClassUtil:
Jun 01 15:00:26 testbox tomcat9[97002]: Starting Servlet engine: [Apache Tomcat/9.0.43 (Debian)] Jun 01 15:00:27 testbox tomcat9[97002]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JA> Jun 01 15:00:28 testbox tomcat9[97002]: WARNING: An illegal reflective access operation has occurred Jun 01 15:00:28 testbox tomcat9[97002]: WARNING: Illegal reflective access by lucee.commons.lang.ClassUtil (jar:/var/lucee/config/server/lucee-server/patches/5.3.9.141.lco) to constructor com.sun.org.apache.xerces.internal.jaxp.Document> Jun 01 15:00:28 testbox tomcat9[97002]: WARNING: Please consider reporting this to the maintainers of lucee.commons.lang.ClassUtil Jun 01 15:00:28 testbox tomcat9[97002]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations