|Error profiling Tomcat: JPIAgent can't load ACCollector [message #115504]
||Mon, 15 October 2007 13:07
Originally posted by: dittrich.alternate.de|
when I try to profile a tomcat application with TPTP I get
the folliwing error message:
[Error: FATAL ERROR: JPIAgent can't load ACCollector]
and tomcat doesn't start.
I searched this list and found another posting about this by
Jim O'Neill - but his solution is not working for me.
I have installed and configured absolutely fresh copies of:
Also I started with an empty workspace to make sure no
outdated versions of whatever hang around. I never had any
other TPTP version or so installed.
I configured the tomcat in
Window-Preferences-Server-Runtimes and created a web app to
launch with it. The server starts in normal and debugging
mode without problems.
But when I try to start the server in profiling mode, I get
to choose the profiling options (Execution time analysis
etc.) and after that tomcat fails to start with the error
Can anyone please help me with this problem?
Many thanks in advance
|Re: Error profiling Tomcat: JPIAgent can't load ACCollector [message #117572 is a reply to message #117527]
||Thu, 08 November 2007 12:59
Originally posted by: dittrich.alternate.de|
>> No way :) This is a really cool piece of software, I'm longing to see
>> it in action and use all the promising features :)
> Always nice to get some positive feedback :)
>> I thought this was due to the fact that the error says: "Error
>> occurred during initialization of VM". The VM is not started at all,
>> so the logger has no chance to do anything. But I might be wrong.
>> Anyway I retried with the same result: no log file created :(
> The "error occurred..." error message is quite generic. It indicates
> that the JVM has failed to successfully load and initialize the specific
> JVMTI agent (the JVMTI Profiler runtime in our case). The fact that no
> log file is created suggests that the JVM was simply not able to load
> This failure can be caused by any of the following reasons:
> 1. libJPIBootLoader.so does not appear in LD_LIBRARY_PATH and PATH. We
> know this is not the case with your environment.
> 2. libJPIBootLoader.so is incompatible with your Linux environment/JVM
> and therefore cannot be loaded by the JVM (or maybe the file is corrupted?)
> To check the latter, please provide the following information (make sure
> to execute the commands after setting the correct environment for
> running Tomcat):
> - output of "uname -a"
> - output of "file $JAVA_PROFILER_HOME/libJPIBootLoader.so"
> - output of "file $JAVA_HOME/bin/java"
> - output of "ld -d -r $JAVA_PROFILER_HOME/libJPI.so"
here you are:
dittrich@lxdittrich:~> uname -a
Linux lxdittrich 22.214.171.124-0.7-default #1 SMP Tue Oct 2 17:21:08 UTC 2007 i686 athlon i386 GNU/Linux
(Note: This is an OpenSuSe 10.2 with latest updates)
dittrich@lxdittrich:~> file $JAVA_PROFILER_HOME/libJPIBootLoader.so
/usr/local/eclipse/plugins/org.eclipse.tptp.platform.jvmti.r untime_4.4.1.v200709261752/agent_files/linux_ia32/libJPIBoot Loader.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
dittrich@lxdittrich:~> file $JAVA_HOME/bin/java
/usr/lib/java/bin/java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped
dittrich@lxdittrich:~> ld -d -r $JAVA_PROFILER_HOME/libJPI.so
ld: attempted static link of dynamic object `/usr/local/eclipse/plugins/org.eclipse.tptp.platform.jvmti. runtime_4.4.1.v200709261752/agent_files/linux_ia32/libJPI.so '
|Re: Error profiling Tomcat: JPIAgent can't load ACCollector [Urgent] [message #121052 is a reply to message #120852]
||Sat, 19 January 2008 03:50
| Zouaoui Anis
Registered: July 2009
could you please at least give me the last version successfully used and
tested under Red Hat Enterprise Linux 4.4 ?
I'm very disappointed. I hoped using TPTP in my project (since I'm
eclipse rcp developper), however, this serious and unsolved issue is
blocking me. I have no idea about the problem evoqued below.
Any news, suggestion is welcome !
anis a écrit :
> Asaf Yaffe a écrit :
>> Have you tried using the standalone Agent Controller instead of IAC?
> Hi All,
> I'm using standalone Agent, I've tried the 4.4.1, 4.5.0 version on
> I have the same error :
> Error: FATAL ERROR: JPIAgent can't load ACCollector.
> The ACCollector.so is visible in the LD_LIBRARY_PATH and the PATH and
> all dependencies seems to be ok.
> Tobias, did you found a solution for your issue ?
> Asaf, any suggestions ? which version of the AC has been successfully
> used under linux ?
> thank by advance for you help and contribution to this great tool.
Powered by FUDForum
. Page generated in 0.03914 seconds