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