I've followed an elastic document which is to configure agent JAVA in APM. in final steps when tomcat has been restarted then I can see Catalina.out file only shows the below result. unfortunately, my application also not come out.
2020-08-16 11:03:56,213 [main] INFO co.elastic.apm.agent.util.JmxUtils - Found JVM-specific OperatingSystemMXBean interface: com.sun.management.OperatingSystemMXBean
2020-08-16 11:03:56,404 [main] INFO co.elastic.apm.agent.configuration.StartupInfo - Starting Elastic APM 1.18.0.RC1 as CMS-172-21-95-132 on Java 1.7.0_79 Runtime version: 1.7.0_79-b15 VM version: 24.79-b02 (Oracle Corporation) Linux 3.10.0-1127.el7.x86_64
2020-08-16 11:04:00,398 [main] INFO co.elastic.apm.agent.impl.ElasticApmTracer - Tracer switched to RUNNING state
Does the Java process just hang when you launch it, or does it exit immediately?
If it hangs, it could be a deadlock. Please create and upload a thread dump for your Tomcat while it hangs. You can list all running Java process using the jps cmd line tool. Once you located the pid corresponding your Tomcat process, run jstack <pid> > /path/to/thread-dump.log to create a thread dump.
If you can produce and upload a thread dump as suggested above, that may be very useful to see.
That's because you are using an old Oracle JDBC driver. However, we just added support for Java 1.4 bytecode, so try this snapshot instead.
I can't say why you don't get anything else - could be the same reason.
Also, make sure your application_packages config contains the root package of your application code. If not, you should either remove it or set it right.
In any case, it's much better to provide full logs than partial screenshots.
Looks fine - agent is polling for remote configuration every 30 seconds and sending metrics every 30 seconds.
Please share logs or parts of logs instead of screenshots.
Also, share your entire agent setting - did you add a dependency somewhere to the agent jar?
The only place you should refer to the agent jar is in the setenv.sh script in the javaagent setting. If anything else is aware of agent jar - remove them.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.