Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pinpoint 3.0.0, java version issue #11591

Open
huijikim00 opened this issue Oct 17, 2024 · 2 comments
Open

pinpoint 3.0.0, java version issue #11591

huijikim00 opened this issue Oct 17, 2024 · 2 comments

Comments

@huijikim00
Copy link

huijikim00 commented Oct 17, 2024

I'm using Pinpoint 3.0.0.
Currently, I'm using Java version 21.
While using Pinpoint, the following log occurs only with Java 21 version, and the pinpoint agent does not run normally.
I understand that from Pinpoint version 3.0.0, Java 21 version can be used,
but can I get some information about this log?


  • Pinpoint Agent load failure

@huijikim00
Copy link
Author

It seems unrelated to the Java version.
Let me ask differently.
Looking at a log like "Caused by: java.lang.NoClassDefFoundError: com/lmax/disruptor/EventTranslatorVararg", it appears that an error is occurring due to a missing class/library.
Does the Pinpoint agent need to possess all the classes/libraries of the service being monitored?

@emeroad
Copy link
Member

emeroad commented Oct 17, 2024

Caused by: java.lang.NoClassDefFoundError: com/lmax/disruptor/EventTranslatorVararg
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(Unknown Source)
	at java.base/java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.base/java.net.URLClassLoader.defineClass(Unknown Source)
	at java.base/java.net.URLClassLoader$1.run(Unknown Source)
	at java.base/java.net.URLClassLoader$1.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.net.URLClassLoader.findClass(Unknown Source)
	at com.navercorp.pinpoint.bootstrap.java9.classloader.Java9ClassLoader.loadClass(Java9ClassLoader.java:111)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	at pinpoint.agent/pinpoint.agent/org.apache.logging.log4j.core.async.AsyncLoggerContextSelector.createContext(AsyncLoggerContextSelector.java:46).
         //  AsyncLoggerContextSelector  <--- AsyncLogger ??

It looks like you have set up async logging in log4j-agent.xml.
I recommend removing the async config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants