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:

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 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
-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.
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

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>

Then repeat your test and post the generated log file here.


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: Tue May 22 08:37:30 GMT 2018

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

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

Back to the top