Can you give me the result of "java –version"? (I'm looking for whether the JVM you downloaded version 1.5.0_07 of is a 32-bit one or a 64-bit one… it has to match the piAgent.so's expected call interface … 32- or 64-bit interface).
And, precisely which zipfile did you download for the agent controller? I'm presuming tptpdc.linux_ia32-TPTP-4.2.0.zip … if so, that JVM needs to be the 32-bit version.
--
RDS
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Rafael Nami
Sent: Tuesday, August 01, 2006 2:02 PM
To: TPTP Tracing and Profiling Tools Project developer discussionsSubject: Re: [tptp-tracing-profiling-tools-dev] Re: Couldn't start theAgentController in JBoss bootstrap
2006/8/1, Smith, Randy D <[EMAIL PROTECTED] >:
Does $AGENT_HOME/lib contain libpiAgent.so?
Yes
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.)
I'm in a 64 bit machine. I guess that's the main problem...
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.
I'll try right now this
Thanks and best regards
Rafael Mauricio nami
--
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
_______________________________________________
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
_______________________________________________ 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