Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » agent library failed to init: JPIBootLoader
agent library failed to init: JPIBootLoader [message #131325] Sat, 14 June 2008 00:26 Go to next message
Eclipse UserFriend
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 13:40 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
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
Previous Topic:No "UML2 Class Interactions" and "Method Invocation" info for Tomcat webapp
Next Topic:GEF GUI Testing with AGR
Goto Forum:
  


Current Time: Fri Apr 26 01:32:27 GMT 2024

Powered by FUDForum. Page generated in 0.03817 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top