Hi,
I have a Web Start POS thin client that I want to monitor but I cannot successfully pass the -javaagent argument to it on startup. I can successfully pass the -javaagent argument to the initial Web Start process that (I am told) downloads the jars, but this quickly launches the actual process that I want to monitor and it does not get passed the -javaaagent argument. I am not enough of a Web Start expert to know how this second process gets launched and so far I can't figure out the right place to slip in my -javaagent argument, although it seems like it should be allowable.
I created a deployment.config file and made use of deployment.properties mandatory. I thought this would definitely work since it should apply to all apps using the JRE:
deployment.javaws.jre.0.args=-javaagent\:/custom/AppDynamics/javaagent.jar
And I tried modifying the JNLP even though the -javaagent argument does not appear to be supported:
<j2se version="1.6+" initial-heap-size="74m" max-heap-size="256m" java-vm-args="-javaagent:/custom/AppDynamics/javaagent.jar -Dappdynamics.agent.tierName=IGEL -Dappdynamics.agent.nodeName=igel509"/>
These did not work. So I think I did not do it correctly or the -javaagent argument is not supported.
JRE 1.6_22
Any suggestions would be great. My client is really excited to monitored their POS thin client.
Regards,
Dave