Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » JVMTI agen not available
JVMTI agen not available [message #130236] Sun, 18 May 2008 15:22 Go to next message
Eclipse UserFriend
Originally posted by: roland.depratti.cox.net

I am running TPTP 4.3.1 under Eclipse 3.2.2 in WinXP/SP2.

I can run profiling under the non-agent method successfully, but when I
try to use the Agent controller I receive errors:

The agent controller is started as a windows service
- When hitting Test Availing in the profile configuration, I get:
The JVMTI agent org.eclipse.tptp. jvtmi is not available. I was an
earlier post from Asaf concerning checking that the profiler plugin is
installed in the AC Server plugin directory and it is. I also turned
on
the Martini log and have attached that file.

- When I try to run a profile I get the following message:

org.eclipse.core.runtime.CoreException
Agent Controller is unavailable under port -1. Make sure that the
service is started and the port number is correct under preferences.

org.eclipse.tptp.platform.execution.exceptions.AgentControll erUnavailableExcept
ion: Error: Unable to connect to the Agent Controller.port out of
range: -1
at
org.eclipse.tptp.platform.execution.client.core.internal.Nod eImpl.connect
(Unknown Source) at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.uti l.AgentControllerDelegate$1$EstablishConnection.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)

My basic purpose is to do profiling and track elapsed time at the line
level. The eclipse profiling from the earlier method gives me method level
stats, but because I am using jdbc in this application, I am having hard
time determining which of my code calls to a jdbc method is responsible.

Thanks,

- rd
Re: JVMTI agen not available (forgot Martini log) [message #130250 is a reply to message #130236] Sun, 18 May 2008 15:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: roland.depratti.cox.net

Sorry,

Here is the output form the Martini log:

=============================================
Process ID: 2920
Process command line: "c:\Program Files\Java\jre1.5.0_13\bin\java.exe"
-agentlib:JPIBootLoader=JPIAgent:server=controlled;CGProf
org.eclipse.tptp.martini.HeapProxy
Machine name: DELLE520
=============================================
Type Date Time TID Level Client Message
Informative 05/18/08 14:58:25 2208 0 CJVMTIInterface Using JVMTI
Re: JVMTI agen not available [message #130517 is a reply to message #130236] Wed, 28 May 2008 08:11 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Roland DePratti wrote:
> I am running TPTP 4.3.1 under Eclipse 3.2.2 in WinXP/SP2.

TPTP 4.3.1 is an early version and the JVMTI Profiler was not yet
stable. I strongly suggest to upgrade to Eclipse 3.3 and TPTP 4.4.1.

Thanks,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:TPTP 4.4.1 standalone AC use works for HeapProf, but not GCProf
Next Topic:TPTP and Ganymede M7
Goto Forum:
  


Current Time: Sat Apr 20 04:01:35 GMT 2024

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

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

Back to the top