Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Could not find agent library on the library path or in the local directory: JPIBootLoader
Could not find agent library on the library path or in the local directory: JPIBootLoader [message #987567] Tue, 27 November 2012 08:09 Go to next message
Hao Wen Hao is currently offline Hao Wen HaoFriend
Messages: 3
Registered: November 2012
Junior Member
Hi All ,

I want to profile weblogic server .Below actions are what I have done .

1.ACServer is running standalone , version is 4.7.2 .JDK is specified to be jdk1.6.0_10.

2.Weblogic Server is 10.3.3. I add the arguments -agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf into java option arguments in server start bat .

Error encountered when the server started . Could not find agent library on the library path or in the local directory: JPIBootLoader

Is there any advice about the weblogic server profiling ? Thank you in advance .
Re: Could not find agent library on the library path or in the local directory: JPIBootLoader [message #987658 is a reply to message #987567] Tue, 27 November 2012 13:18 Go to previous messageGo to next message
Torsten Stolpmann is currently offline Torsten StolpmannFriend
Messages: 37
Registered: July 2009
Member
Have a look at this discussion: http://www.eclipse.org/forums/index.php/m/510479/, I suspect that you mixed 32/64 bit VMs in agent controller and application server.

Torsten
Re: Could not find agent library on the library path or in the local directory: JPIBootLoader [message #988777 is a reply to message #987658] Mon, 03 December 2012 06:13 Go to previous messageGo to next message
Hao Wen Hao is currently offline Hao Wen HaoFriend
Messages: 3
Registered: November 2012
Junior Member
Hi Torsten ,

Thank you for your reply .Resolved by adding below config in startWeblogic.bat


Set TPTP_AC_HOME=(Path to your agent controller)
 set JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.javaprofiler
 Set PATH=%JAVA_PROFILER_HOME%;%PATH%;%TPTP_AC_HOME%\bin
 Set PATH=%PATH%;%JAVA_HOME%\bin


Wen Hao
SOLVED: profiling weblogic server with tptp [was: Re: Could not find agent library on the library pa [message #988783 is a reply to message #988777] Mon, 03 December 2012 07:28 Go to previous message
Heiner Westphal is currently offline Heiner WestphalFriend
Messages: 18
Registered: July 2009
Junior Member
Hi Wen Hao,

thank you so much for posting the solution.

I changed the subject so question and answer easy to find.

Best reagrds and thanks again!

Heiner

Am 03.12.2012 07:13, schrieb Hao Wen Hao:
> Hi Torsten ,
>
> Thank you for your reply .Resolved by adding below config in
> startWeblogic.bat
>
>
> Set TPTP_AC_HOME=(Path to your agent controller)
>  set
> JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.javaprofiler
>  Set PATH=%JAVA_PROFILER_HOME%;%PATH%;%TPTP_AC_HOME%\bin
>  Set PATH=%PATH%;%JAVA_HOME%\bin
>
>
> Wen Hao
....
The original question had been:
> Hi All ,
>
> I want to profile weblogic server .Below actions are what I have
> done .
>
> 1.ACServer is running standalone , version is 4.7.2 .JDK is
> specified to be jdk1.6.0_10.
>
> 2.Weblogic Server is 10.3.3. I add the arguments
> -agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf into java option
> arguments in server start bat .
>
> Error encountered when the server started . Could not find agent
> library on the library path or in the local directory: JPIBootLoader
>
> Is there any advice about the weblogic server profiling ? Thank
> you in advance .
Previous Topic:Trying to extend TPTP to show SQL queries execution time
Next Topic:setconfig.bat needs JRE that supports JAXP
Goto Forum:
  


Current Time: Thu Apr 25 20:52:48 GMT 2024

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

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

Back to the top