Does $AGENT_HOME/lib contain libpiAgent.so?

 

Are you on a 64-bit system? (We’ve seen “Could not find…” when attempting to mix and match 32- and 64-bit JVM/piAgent-library.)

 

Finally… I’ve found that sometimes sub-shells are involved, and thus you might want to throw “export” in front of all your defines in /etc/profile.

--

     RDS

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Nami
Sent: Tuesday, August 01, 2006 1:34 PM
To: TPTP Tracing and Profiling Tools Project developer discussions
Subject: [tptp-tracing-profiling-tools-dev] Re: Couldn't start the AgentController in JBoss bootstrap

 

More data on this. The exact error is this:

Error occurred during the initialization of VM

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

 

My run.sh (snippet):

JAVA_OPTS="$JAVA_OPTS -XrunpiAgent:server=standalone,filters=filter.txt,file=trace.trcxml -Dprogram.name=$PROGNAME

 

My etc/profile file:

JAVA_HOME="/usr/java/jdk1.5.0_07"

AGENT_HOME="/home/agent"

LD_LIBRARY_PATH="$AGENT_HOME/lib"

JBOSS_HOME="/home/jboss-3.2.7"

PATH="$JAVA_HOME/bin:$AGENT_HOME/bin:$LD_LIBRARY_PATH:$PATH"


Thanks in advance and best regards

 

Rafael Mauricio Nami
 

2006/8/1, Rafael Nami <[EMAIL PROTECTED]>:

Hi everyone

I'm trying to start  the agent controller (4.2 version) in a Linux RedHat box, in the standalone way.

I'm still with jboss 3.2.7 so far, but we're moving to a 4.04 setup already.

I've edited the .bash_profile file to add AGENT_HOME, LD_LIBRARY_PATH, added the $AGENT_HOME/bin variable to

the PATH variable, but it doesn't work either (When jboss starts, it complains that no agent is in the classpath...) Where could I possibly go wrong???

 

Thanks in advance and Best regards

 

Rafael Mauricio Nami

 

_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to