[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

"Could not find agent library on the library path or in the local directory" error from JBOSS for YourKit

Asked by Leva01 in CYGWIN, Jboss Application Server, System Diagnostic Software

Tags: YourKit with JBOSS under CYGWIN, jboss

I am trying to run YourKit profiler with JBOSS in CYGWIN environment (Linux emulation)

Added the following path to JBOSS run.sh:

JAVA_TOOL_OPTIONS="-agentlib: jboss/yjp-8.0.16/bin/solaris-x86-32/libyjpagent.so=sessionname=JBoss $JAVA_TOOL_OPTIONS"
export JAVA_TOOL_OPTIONS

but the following error is receved:

Picked up JAVA_TOOL_OPTIONS: -agentlib:/jboss/yjp-8.0.16/bi
n/solaris-x86-32/libyjpagent.so=sessionname=JBoss
Error occurred during initialization of VM
Could not find agent library on the library path or in the local directory: /jboss/yjp-8.0.16/bin/solaris-x86-32/libyjpagent.so

Using -agentpath option does not help too.

The system used is 32-bit, same as libs. Location of the lib is correct too

Please help.



 
[+][-]09/25/09 03:01 AM, ID: 25421413Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/25/09 12:59 PM, ID: 25426703Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625