You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
log info
10-1700:27:11.989INFOPinpointStarter : pinpointagentstartednormally.
88888888ba88888b8888888888ba ,ad8888ba, 88888b8888888888888888 ,8P8888 `8b8888 ,8Pd8' `8b 88 88 `8b 88 88
88aaaaaa8P' 88 88 `8b 88 88aaaaaa8P'88da888888 `8b8888888888 `8b8888Y8, ,8P8888 `8b8888888888 `88888 `"Y8888Y"' 88 88 `888 88
https://github.com/pinpoint-apm/pinpoint
:: Pinpoint Version :: 3.0.1-SNAPSHOT
:: pinpoint.profiler.profiles.active :: release
:: pinpoint.applicationName :: d-spd-product-api
:: pinpoint.agentName :: d-spd-product-api
:: profiler.transport.module :: GRPC
:: profiler.transport.grpc.collector.ip :: 200.0.10.235
:: profiler.transport.grpc.agent.collector.port :: 9991
:: profiler.transport.grpc.metadata.collector.port :: 9991
:: profiler.transport.grpc.stat.collector.port :: 9992
:: profiler.transport.grpc.span.collector.port :: 9993
:: profiler.spandatasender.transport.type :: UDP
:: profiler.statdatasender.transport.type :: UDP
:: profiler.sampling.enable :: true
:: profiler.sampling.type :: COUNTING
:: profiler.sampling.counting.sampling-rate :: 20
:: profiler.sampling.percent.sampling-rate :: 100
openjdk 21.0.4 2024-07-16 LTS
OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode, sharing)
WARN StatusConsoleListener No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2
WARN StatusConsoleListener Unable to register Log4j shutdown hook because JVM is shutting down. Using SimpleLogger
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?
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.
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?
log info
The text was updated successfully, but these errors were encountered: