agent library failed to init: JPIBootLoader [message #131325] |
Fri, 13 June 2008 20:26  |
Eclipse User |
|
|
|
Originally posted by: frankca.gmail.com
I've seen lot of messages regarding this error, however, I still can't get
it to run. Can anyone give me the exact steps you did on Windows to
profile either Tomcat or standalone app? (I did follow exactly every steps
http://www.eclipse.org/tptp/home/downloads/installguide/agen tcontroller_44/windows/getting_started.html#Java_15)
Here's my test script - TO TEST THE SETUP ONLY:
@echo off
set TPTP_AC_HOME=C:\dev\tools\agntctrl-4.4.1
set JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.j avaprofiler
set PATH=%JAVA_PROFILER_HOME%;%PATH%;%TPTP_AC_HOME%\bin
set PATH=%PATH%;%JAVA_HOME%\bin
java
-agentlib:JPIBootLoader=JPIAgent:server=standalone;HeapProf: allocsites=true
When I execute it with TPTP AC 4.4.1, I get this error:
Error occurred during initialization of VM
agent library failed to init: JPIBootLoader
With TPTP AC 4.3.1, I get the usage error:
Usage: java [-options] class [args...]
(to execute a class)
...
Any helps is greatly appreciated.
-Frank
|
|
|
Re: agent library failed to init: JPIBootLoader [message #131386 is a reply to message #131325] |
Tue, 17 June 2008 09:40  |
Eclipse User |
|
|
|
Frank,
Your test script looks fine. I tried it on my environment (after
changing the first line to point to my local installation) and it worked
without problems.
Please check that all required Agent Controller files are actually
located in C:\dev\tools\agntctrl-4.4.1 (including all subdirectories
your script refers to).
If everything is fine, then please enable logging by defining the
following variables:
set MARTINI_LOGGER_DIRECTORY=<full path to an existing directory>
set MARTINI_LOGGER_LOG_LEVEL=5
Then repeat your test and post the generated log file here.
Thanks,
Asaf
--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
|
|
|
Powered by
FUDForum. Page generated in 0.05295 seconds