apm-agent-java: Bug: incompatibility with OpenJDK 1.8.0_242 (AdoptOpenJDK)
Describe the bug
java-agent 1.17.0 is incompatible with OpenJDK 1.8.0_242 (AdoptOpenJDK). if I launched a tomcat server (8.5.54) with java-agent 1.17.0, and OpenJDK 1.8.0_242 (AdoptOpenJDK), web applications are not started. If I run the same tomcat server with same apps, but with OpenJDK 1.8.0_212 (AdoptOpenJDK) or Oracle JDK 1.8.0_202, it works fine.
Steps to reproduce
Just start tomcat server with above configuration.
Expected behavior
tomcat starts cleanly and especially web apps are loaded.
Debug logs
I see no tomcat log at all at startup (when used with OpenJDK 1.8.0_212, I get tomcat startup logs).
APM logs:
2020-06-19 13:45:50,557 [main] INFO co.elastic.apm.agent.util.JmxUtils - Found JVM-specific OperatingSystemMXBean interface: com.sun.management.OperatingSystemMXBean
2020-06-19 13:45:52,384 [main] INFO co.elastic.apm.agent.configuration.StartupInfo - Starting Elastic APM 1.17.0 as my-project on Java 1.8.0_242 (AdoptOpenJDK) Linux 2.6.32-754.29.2.el6.x86_64
2020-06-19 13:45:52,475 [main] INFO co.elastic.apm.agent.impl.ElasticApmTracer - Tracer switched to RUNNING state
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 27 (13 by maintainers)
@eyalkoren sorry, totally forgot to reply. Your snapshot is running since 2 July ~14:00 without any issue.
I will try to test your snapshot fix next Tuesday.
@eyalkoren
That’s all I can find with the key
delay_initialization
.I guess we should look into this message:
That’s what I can find when searching for
5000
. Don’t know if all lines are relevant, if so, I will send you the log per mail.Those messages are just there two times, so yeah! it works as expected from you 😉