23 Jul 2018 03:38 AM
Some of my java app works as soon as it startup. But some of them does not work after it startup.
I checked that with `jps -lv`, I think the reason is no agentpath at the end of the startup command. Could you share what I can do to get the deep reason for the `agentpath` is not appended.
23 Jul 2018 07:17 AM
Dynatrace Oneagent does not add or modify any arguments for the JVM process. I'm not sure about the technical details, but I think it uses JVMTI for this. If some Java processes do not start after oneagent installation, be sure to check the Oneagent Java logs, logs from your application and stdout/stderr of the Java process (if applicable).
23 Jul 2018 01:22 PM
I did not found any logs in the stdout about oneagent.
You mean that oneagent startup a daemon process, and change the startup command when the java process startup for appending the agentpath
at the end. Could you confirm with your technical developer about this?
23 Jul 2018 01:22 PM
I did not found any logs in the stdout about oneagent.
You mean that oneagent startup a daemon process, and change the startup command when the java process startup for appending the `agentpath` at the end. Could you confirm with your technical developer about this?
23 Jul 2018 05:04 PM
King, Can you clarify the issue. Are you reporting that some of your Java apps will not run when OneAgent is installed on your host? If this is true, then I suggest you open a support case.
OneAgent hooks itself into the JVM differently than the approach used by AppMon. You will not see "agentpath" on the java command line.
24 Jul 2018 01:57 AM
@Joseph M. H. No, I am pretty sure. Oneagent append `-agentpath` at the end of the command.
I can see it when I checked it with `jps -lv`. But some of service is not appended.
24 Jul 2018 05:36 PM
King, Can you clarify my first question: You stated "... but some of them does not work after startup". Are you saying that your JVM is not running correctly after adding Dynatrace OneAgent?
25 Jul 2018 07:32 AM
yes, you can see the picture in the previous reply.