This discussion is archived
1 Reply Latest reply: Jun 24, 2009 9:15 AM by 800578 RSS

remote profiling problem with JProfiler: Could not find agent library...

800339 Newbie
Currently Being Moderated
Hello there:

I wanted to profile a java application on the server with JProfiler, the agent script goes like this:

LD_LIBRARY_PATH=...
PATH=....

export LD_LIBRARY_PATH
export PATH

java -showversion -server -Xss256k -agentlib:jprofilerti=port=8849 -Xbootclasspath/a:/home/pqa/tools/jprofiler5/bin/agent.jar -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Xconcurrentio ....

The values for LD_LIBRARY_PATH and PATH and the bulky VM part are omitted in the above, but you get the idea.

However, when I tried to run this script, I encountered this error:

"Could not find agent library on the library path or in the local directory: jprofilerti"

I am not sure what more I need to do to address this issue.I did some google before coming here but no valuable clues found either.

Any thoughts?

Thanks,
sway