Hi:
I seem to be stuck trying to get a simple object instrance tracking feature to show up in the dashboard.
Environment:
JDK version : JDK1.7.0_71
Linux 2.6.32-220.el6.x86
Agent logs says:
[Thread-0] 05 Jan 2015 22:56:25,137 INFO InstanceCountingManager - ######### Initializing Instance Tracking ##############
[Thread-0] 05 Jan 2015 22:56:25,154 INFO JMapHistoInstanceCounter - Using JMap Histo Option: -all
[Thread-0] 05 Jan 2015 22:56:30,486 INFO InstanceCountingManager - Instance Tracking is [enabled]
I have a simple standalone java class which in a loop keeps adding to a ArrayList -- no matter how long I run it nothing shows up in the "Memory" subtab of the app dynamics UI ..
When i try instance tracking i see this on the screen
There is no object instance data. This could be caused by the following reasons:
[1] This feature is only supported for Sun JVMs. It does not work for JRockit or IBM JVMs.
[2] tools.jar is not in the JVM classpath. You must add it to the classpath and restart the JVM.
I have added tools.jar to the classpath while starting this standalone java class. Even added the tools.jat to the jre/lib/ext. No luck with any of the approaches
I am using a 15 day trial.
Could you please suggest what I might be doing wrong.
Thanks
Sriram
Hi,
Can you confirm whethere you have copied tools.jar from <jdk7_home>/lib/tools.jar to <jdk_home>/jre/lib/ext path and have opened new terminal or command prompt and restarted JVM if not please do the same,
If thre is any disconnect, please send the logs folder under <AppServerAgent_dir>/logs path to assist you further.
Regards,
Arun
Hi,
We understood that Object instance tracking on tomcat worked after changes to java.io.tmp in catalina.sh , Can you please send the catalina.sh with and without changes and agent logs before and after restart which would help us to analyze how it affected from agent logs.
Regards,
Arun
Do we have any followup on this fix?
Hi,
Did the provided suggestion helped? if not please send the logs requested to assist you further.
Regards,
Arun