Tuesday, May 29, 2012

DynaTrace Error - Could not find agent library in absolute path

In DynaTrace we need to install the agent on the JVM what requires performance monitoring. Once the agent is installed you can start the process that you want to instrument dynamically as

spatel@xyz:~> java -agentpath:/home/spatel/dynatrace-3.5.0/agent/lib64/libdtagent.so=name=xyz,server=dynatraceserver InfiniteLoop

Sometime you may get this error, 
spatel@xyz:~> java -agentpath:/home/spatel/dynatrace-3.5.0/agent/lib64/libdtagent.so=name=xyz,server=dynatraceserver InfiniteLoop
Error occurred during initialization of VM
Could not find agent library in absolute path: /home/spatel/dynatrace-3.5.0/agent/lib64/libdtagent.so

this error is little misleading, it somehow feels that the agent is not available at that location. But if you go and check the libdtagent.so is available. 

The real issue here is the agent that installed in compatible with the JVM. In the above case the the JVM is 32 bit and dynatrace agent installed is 64 bit. So we install the dynatrace 32 bit agent and it resolves the issue.

spatel@xyz:~> java -agentpath:/home/spatel/dynatrace-3.5.0/agent/lib/libdtagent.so=name=xyz,server=dynatraceserver InfiniteLoop
2012-05-29 09:45:49 info    [native] CPU0: cpu MHz: 2666.7610 (min/max MHz:  0.0000/ 0.0000)  cpu has TSC: yes, ConstantTSC: yes
2012-05-29 09:45:49 info    [native] CPU1: cpu MHz: 2666.7610 (min/max MHz:  0.0000/ 0.0000)  cpu has TSC: yes, ConstantTSC: yes
2012-05-29 09:45:49 info    [native] High-resolution hardware timer detected.
2012-05-29 09:45:49 info    [native] ---------------------------------------------------------------------------------
2012-05-29 09:45:49 info    [native] dynaTrace Agent for Java (c) 2004-2010 dynaTrace software GmbH, www.dynatrace.com
2012-05-29 09:45:49 info    [native] ---------------------------------------------------------------------------------
2012-05-29 09:45:49 info    [native] Version ..................... 3.5.0.2248 , build date Oct 27 2010
2012-05-29 09:45:49 info    [native] Command line is java -agentpath:/home/spatel/dynatrace-3.5.0/agent/lib/libdt

Saturday, March 28, 2009

Debt: The next big American crisis Dateline - March-27

I watched the Dateline on March-27 on NBC. It was about "Debt: The next big American crisis".

It was shocking to see the vicious cycle of credit card debt. Once u get pulled into it, there is no way out of it. The credit card allows to us to live beyond our means or income source. But in some case there is really not much we can do about it. The life sometime bring so many huge and critical situation where you have limited option. The medical expenses in US are so huge (sometime unrealistic) that it can crush the finance stability of well to do families.

Also it was horrify to see the tactics being used by these debt collection agencies. Some of them cross the boundary, act like mafia. The recording of fone calls from employee of these agencies proved they are goons. I can feel what these families would be going through.

American government having one of biggest budget cannot acts against them. It's surprising. Is this inaction from government bodies gives these debt agencies some sort of unintended support?

How much are credit card companies to be blamed for this? They are ones ready to addict young college going student to Credit card without educating them how to use them effective.

We to some exact are also responsible for this. But if we make some mistakes, do we have to pay this high price.............

Saturday, May 24, 2008