Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
6279 | minor | always | 08-15-19 01:21 | 08-15-19 13:18 | |
|
|||||
Reporter: | nam | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.62 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.63 | ||
|
|||||
Summary: | 0006279: resin fails to start with javaagent on JDK11 | ||||
Description: |
(rep by M. Shimomura) resin fails to start with a javaagent on JDK11. It works fine with JDK8. It appears to be a problem with all agents: https://discuss.newrelic.com/t/java-11-application-using-resin-4-0-58-unable-to-start-using-4-9-0-jar-files/64299 [^] For some reason, the LogManager is null: https://github.com/openjdk/jdk11u/blob/737d8437886ad97c6ed21a25b9911c10b3886f61/src/java.logging/share/classes/java/util/logging/Logger.java#L654 [^] http://search.maven.org/remotecontent?filepath=org/jolokia/jolokia-jvm/1.6.2/jolokia-jvm-1.6.2-agent.jar [^] resin.properties: jvm_args : -javaagent:../jolokia-jvm-1.6.2-agent.jar $ bin/resin.sh console java.lang.ExceptionInInitializerError at com.caucho.loader.DynamicClassLoader.addRoot(DynamicClassLoader.java:538) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:205) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:156) at com.caucho.loader.SystemClassLoader.init(SystemClassLoader.java:117) at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1606) at com.caucho.loader.SystemClassLoader.loadClassImpl(SystemClassLoader.java:253) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1548) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1529) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:234) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:223) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.logging/java.util.logging.LogManager.<clinit>(LogManager.java:223) at java.logging/java.util.logging.Logger.demandLogger(Logger.java:648) at java.logging/java.util.logging.Logger.getLogger(Logger.java:717) at java.logging/java.util.logging.Logger.getLogger(Logger.java:701) at com.caucho.vfs.FilePath.<clinit>(FilePath.java:56) at com.caucho.vfs.Vfs.<clinit>(Vfs.java:414) at com.caucho.loader.DynamicClassLoader.appendToClassPathForInstrumentation(DynamicClassLoader.java:672) Caused by: java.lang.NullPointerException at java.logging/java.util.logging.Logger.demandLogger(Logger.java:654) at java.logging/java.util.logging.Logger.getLogger(Logger.java:717) at java.logging/java.util.logging.Logger.getLogger(Logger.java:701) at com.caucho.loader.Loader.<clinit>(Loader.java:54) ... 18 more java.lang.NoClassDefFoundError: Could not initialize class com.caucho.loader.JarLoader at com.caucho.loader.DynamicClassLoader.addRoot(DynamicClassLoader.java:538) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:205) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:156) at com.caucho.loader.SystemClassLoader.init(SystemClassLoader.java:117) at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1606) at com.caucho.loader.SystemClassLoader.loadClassImpl(SystemClassLoader.java:253) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1548) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1529) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:234) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:223) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.logging/java.util.logging.LogManager.<clinit>(LogManager.java:223) at java.logging/java.util.logging.Logger.demandLogger(Logger.java:648) at java.logging/java.util.logging.Logger.getLogger(Logger.java:717) at java.logging/java.util.logging.Logger.getLogger(Logger.java:701) at com.caucho.vfs.FilePath.<clinit>(FilePath.java:56) at com.caucho.vfs.Vfs.<clinit>(Vfs.java:414) at com.caucho.loader.DynamicClassLoader.appendToClassPathForInstrumentation(DynamicClassLoader.java:672) java.lang.NoClassDefFoundError: Could not initialize class com.caucho.loader.JarLoader at com.caucho.loader.DynamicClassLoader.addRoot(DynamicClassLoader.java:538) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:205) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:156) at com.caucho.loader.SystemClassLoader.init(SystemClassLoader.java:117) at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1606) at com.caucho.loader.SystemClassLoader.loadClassImpl(SystemClassLoader.java:253) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1548) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1529) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:234) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:223) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.logging/java.util.logging.LogManager.<clinit>(LogManager.java:223) at java.logging/java.util.logging.Logger.demandLogger(Logger.java:648) at java.logging/java.util.logging.Logger.getLogger(Logger.java:717) at java.logging/java.util.logging.Logger.getLogger(Logger.java:701) at com.caucho.vfs.FilePath.<clinit>(FilePath.java:56) at com.caucho.vfs.Vfs.<clinit>(Vfs.java:414) at com.caucho.loader.DynamicClassLoader.appendToClassPathForInstrumentation(DynamicClassLoader.java:672) java.lang.NoClassDefFoundError: Could not initialize class com.caucho.loader.JarLoader at com.caucho.loader.DynamicClassLoader.addRoot(DynamicClassLoader.java:538) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:205) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:156) at com.caucho.loader.SystemClassLoader.init(SystemClassLoader.java:117) at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1606) at com.caucho.loader.SystemClassLoader.loadClassImpl(SystemClassLoader.java:253) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1548) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1529) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:234) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:223) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.logging/java.util.logging.LogManager.<clinit>(LogManager.java:223) at java.logging/java.util.logging.Logger.demandLogger(Logger.java:648) at java.logging/java.util.logging.Logger.getLogger(Logger.java:717) at java.logging/java.util.logging.Logger.getLogger(Logger.java:701) at com.caucho.vfs.FilePath.<clinit>(FilePath.java:56) at com.caucho.vfs.Vfs.<clinit>(Vfs.java:414) at com.caucho.loader.DynamicClassLoader.appendToClassPathForInstrumentation(DynamicClassLoader.java:672) java.lang.NoClassDefFoundError: Could not initialize class com.caucho.loader.JarLoader at com.caucho.loader.DynamicClassLoader.addRoot(DynamicClassLoader.java:538) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:205) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:156) at com.caucho.loader.SystemClassLoader.init(SystemClassLoader.java:117) at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1606) at com.caucho.loader.SystemClassLoader.loadClassImpl(SystemClassLoader.java:253) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1548) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1529) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:234) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:223) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.logging/java.util.logging.LogManager.<clinit>(LogManager.java:223) at java.logging/java.util.logging.Logger.demandLogger(Logger.java:648) at java.logging/java.util.logging.Logger.getLogger(Logger.java:717) at java.logging/java.util.logging.Logger.getLogger(Logger.java:701) at com.caucho.vfs.FilePath.<clinit>(FilePath.java:56) at com.caucho.vfs.Vfs.<clinit>(Vfs.java:414) at com.caucho.loader.DynamicClassLoader.appendToClassPathForInstrumentation(DynamicClassLoader.java:672) java.lang.NoClassDefFoundError: Could not initialize class com.caucho.loader.JarLoader at com.caucho.loader.DynamicClassLoader.addRoot(DynamicClassLoader.java:538) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:205) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:156) at com.caucho.loader.SystemClassLoader.init(SystemClassLoader.java:117) at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1606) at com.caucho.loader.SystemClassLoader.loadClassImpl(SystemClassLoader.java:253) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1548) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1529) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:234) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:223) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.logging/java.util.logging.LogManager.<clinit>(LogManager.java:223) at java.logging/java.util.logging.Logger.demandLogger(Logger.java:648) at java.logging/java.util.logging.Logger.getLogger(Logger.java:717) at java.logging/java.util.logging.Logger.getLogger(Logger.java:701) at com.caucho.vfs.FilePath.<clinit>(FilePath.java:56) at com.caucho.vfs.Vfs.<clinit>(Vfs.java:414) at com.caucho.loader.DynamicClassLoader.appendToClassPathForInstrumentation(DynamicClassLoader.java:672) java.lang.NoClassDefFoundError: Could not initialize class com.caucho.loader.JarLoader at com.caucho.loader.DynamicClassLoader.addRoot(DynamicClassLoader.java:538) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:205) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:156) at com.caucho.loader.SystemClassLoader.init(SystemClassLoader.java:117) at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1606) at com.caucho.loader.SystemClassLoader.loadClassImpl(SystemClassLoader.java:253) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1548) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1529) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:234) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:223) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.logging/java.util.logging.LogManager.<clinit>(LogManager.java:223) at java.logging/java.util.logging.Logger.demandLogger(Logger.java:648) at java.logging/java.util.logging.Logger.getLogger(Logger.java:717) at java.logging/java.util.logging.Logger.getLogger(Logger.java:701) at com.caucho.vfs.FilePath.<clinit>(FilePath.java:56) at com.caucho.vfs.Vfs.<clinit>(Vfs.java:414) at com.caucho.loader.DynamicClassLoader.appendToClassPathForInstrumentation(DynamicClassLoader.java:672) java.lang.NoClassDefFoundError: Could not initialize class com.caucho.loader.JarLoader at com.caucho.loader.DynamicClassLoader.addRoot(DynamicClassLoader.java:538) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:205) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:156) at com.caucho.loader.SystemClassLoader.init(SystemClassLoader.java:117) at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1606) at com.caucho.loader.SystemClassLoader.loadClassImpl(SystemClassLoader.java:253) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1548) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1529) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:234) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:223) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.logging/java.util.logging.LogManager.<clinit>(LogManager.java:223) at java.logging/java.util.logging.Logger.demandLogger(Logger.java:648) at java.logging/java.util.logging.Logger.getLogger(Logger.java:717) at java.logging/java.util.logging.Logger.getLogger(Logger.java:701) at com.caucho.vfs.FilePath.<clinit>(FilePath.java:56) at com.caucho.vfs.Vfs.<clinit>(Vfs.java:414) at com.caucho.loader.DynamicClassLoader.appendToClassPathForInstrumentation(DynamicClassLoader.java:672) java.lang.NoClassDefFoundError: Could not initialize class com.caucho.loader.JarLoader at com.caucho.loader.DynamicClassLoader.addRoot(DynamicClassLoader.java:538) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:205) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:156) at com.caucho.loader.SystemClassLoader.init(SystemClassLoader.java:117) at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1606) at com.caucho.loader.SystemClassLoader.loadClassImpl(SystemClassLoader.java:253) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1548) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1529) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:234) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:223) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.logging/java.util.logging.LogManager.<clinit>(LogManager.java:223) at java.logging/java.util.logging.Logger.demandLogger(Logger.java:648) at java.logging/java.util.logging.Logger.getLogger(Logger.java:717) at java.logging/java.util.logging.Logger.getLogger(Logger.java:701) at com.caucho.vfs.FilePath.<clinit>(FilePath.java:56) at com.caucho.vfs.Vfs.<clinit>(Vfs.java:414) at com.caucho.loader.DynamicClassLoader.appendToClassPathForInstrumentation(DynamicClassLoader.java:672) java.lang.NoClassDefFoundError: Could not initialize class com.caucho.loader.JarLoader at com.caucho.loader.DynamicClassLoader.addRoot(DynamicClassLoader.java:538) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:205) at com.caucho.loader.SystemClassLoader.initClasspath(SystemClassLoader.java:156) at com.caucho.loader.SystemClassLoader.init(SystemClassLoader.java:117) at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1606) at com.caucho.loader.SystemClassLoader.loadClassImpl(SystemClassLoader.java:253) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1548) at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1529) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:234) at java.logging/java.util.logging.LogManager$1.run(LogManager.java:223) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.logging/java.util.logging.LogManager.<clinit>(LogManager.java:223) at java.logging/java.util.logging.Logger.demandLogger(Logger.java:648) at java.logging/java.util.logging.Logger.getLogger(Logger.java:717) at java.logging/java.util.logging.Logger.getLogger(Logger.java:701) at com.caucho.vfs.FilePath.<clinit>(FilePath.java:56) at com.caucho.vfs.Vfs.<clinit>(Vfs.java:414) at com.caucho.loader.DynamicClassLoader.appendToClassPathForInstrumentation(DynamicClassLoader.java:672) Unexpected error (113) returned by AddToSystemClassLoaderSearch Unable to add ../jolokia-1.6.2/agents/jolokia-jvm.jar to system class path - the system class loader does not define the appendToClassPathForInstrumentation method or the method failed FATAL ERROR in native method: processing of -javaagent failed |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|