fr19k
fr19k
I didn't try it. My application uses G1GC Should i try SerialGC?
On another enviroment my application uses SerialGC, but the problem still exists
I think that i didn't enable inferred spans `2024-02-06 21:00:51,269 [main] INFO co.elastic.apm.agent.util.JmxUtils - Found JVM-specific OperatingSystemMXBean interface: com.sun.management.OperatingSystemMXBean 2024-02-06 21:00:51,372 [main] INFO co.elastic.apm.agent.util.JmxUtils - Found JVM-specific ThreadMXBean interface: com.sun.management.ThreadMXBean...
Ad.2 I added -XX:CompileCommand=exclude,co/elastic/apm/agent/collections/CachedKeyWeakConcurrentMap.getLookupKey Now the problematic frame is : # J 2489 c2 co.elastic.apm.agent.weakconcurrent.CachedLookupKey.get(Ljava/lang/Object;)Lco/elastic/apm/agent/weakconcurrent/CachedLookupKey; (16 bytes) @ 0x00007f1168fcfbc6 [0x00007f1168fcfac0+0x0000000000000106] ErrorFile in attachment [hss_err_pid1_2.txt](https://github.com/elastic/apm-agent-java/files/14278572/hss_err_pid1_2.txt)
JITC log will be available soon... I Added below instruction to command line `-XX:CompileCommand="exclude,co/elastic/apm/agent/collections/CachedKeyWeakConcurrentMap.*" -XX:CompileCommand="exclude,co/elastic/apm/agent/weakconcurrent/CachedLookupKey.*" -XX:CompileCommand="exclude,co/elastic/apm/agent/loginstr/reformatting/AbstractEcsReformattingHelper.*" ` and now problematic frame is: J 875 java.lang.System.identityHashCode(Ljava/lang/Object;)I [email protected] (0 bytes) @ 0x00007f5d84f568ce...
OK, i will check your suggestion with log manager I can confirm that workaround with -Delastic.apm.disable_instrumentations=log-reformatting works properly (application is not crashing)
What is the default java.util.logging.manager ? Tomcat seems to allows to overwrite java.util.logging.manager via LOGGING_MANAGER env, but i have specify proper class
If i set env variable LOGGING_MANAGER to java.util.logging.LogManager , application crashes at startup with below message ``` Error: Main method not found in class java.util.logging.LogManager, please define the main method...
Hi, > agent configuration: some config is passed through JVM variables, but the log reformatting seems enabled through env variables. Via env variables i'm passing ELASTIC_APM_SECRET_TOKEN, any other configs are...
Logback is used due there is plugin(logback-logstash-encoder) to sending logs directly to logstash