question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: incompatibility with OpenJDK 1.8.0_242 (AdoptOpenJDK)

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:27 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
philippkahrcommented, Jul 5, 2020

@eyalkoren sorry, totally forgot to reply. Your snapshot is running since 2 July ~14:00 without any issue.

1reaction
fbaligandcommented, Jul 5, 2020

I will try to test your snapshot fix next Tuesday.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release Notes - Open source, prebuilt OpenJDK binaries
AdoptOpenJDK provides prebuilt OpenJDK binaries from a fully open source set of build scripts and infrastructure. Supported platforms include Linux, macOS, ...
Read more >
Support - Open source, prebuilt OpenJDK binaries
Our support means that you can raise an issue to describe a bug you have found in the build, and we will work...
Read more >
FAQ | AdoptOpenJDK - Open source, prebuilt OpenJDK binaries
I've found a bug - help! ... If you are an end-user of our builds, we would first recommend trying it with the...
Read more >
Migrating to AdoptOpenJDK from Oracle Java
AdoptOpenJDK focuses on LTS releases (e.g. Java 8 and 11) and provides two VM ... will continue to update OpenJDK 8 and OpenJDK...
Read more >
Supported Platforms - Open source, prebuilt OpenJDK binaries
AdoptOpenJDK provides prebuilt OpenJDK binaries from a fully open source set of build scripts and infrastructure. Supported platforms include Linux, macOS, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found