Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 198552

Summary: -XrunpiAgent argument still being used with agent discoverer or instrument collector on java 6.0
Product: z_Archived Reporter: Natasha D'Silva <ndsilva>
Component: TPTPAssignee: Eugene Chan <ewchan>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: P1 CC: chanskw, jgwest, jkubasta
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: closed460
Bug Depends on:    
Bug Blocks: 200535    

Description Natasha D'Silva CLA 2007-08-01 12:44:56 EDT
Build ID: I20070625-1500

Steps To Reproduce:
Configure the AC to use Java 1.6, and then try profiling a java application and selecting the agent discoverer or instrument collector as a monitor type.
The launch fails with this message:

FATAL ERROR: JVMPI, an experimental interface, is no longer supported.
Please use the supported interface: the JVM Tool Interface (JVM TI).
For information on temporary workarounds contact: jvmpi_eol@sun.com
  Could not resolve to JVMPI interface
Error occurred during initialization of VM
-Xrun library failed to init: piAgent


This  means that old piAgent is still being launched. This is problematic and should be resolved.

More information:
Comment 1 Guru Nagarajan CLA 2007-08-01 13:14:31 EDT
  I agree with the bug reporter that this has to be resolved. This is in the common platform code where the JVM check happens. Assigning to Joanna to be assigned to a member of her team
Comment 2 Jonathan West CLA 2007-08-23 09:43:17 EDT
Unable to resolve in 4.4.1, retargetting to 4.5.
Comment 3 jkubasta CLA 2008-03-22 13:26:55 EDT
Jonathan investiagted and believes the fix will involve a rewrite of the Agent Discoverer GUI/Instrument Collector GUI functionality to use the new execution framework API, rather than the Hyades framework.
Comment 4 Eugene Chan CLA 2008-06-05 09:33:50 EDT
I double check with the latest TPTP 4.5 20080604 build. 
Instrument Collector is actually rewritten to support JVM 1.6 now and Agent Discover code is working with JVM 1.6 now.

As a result, I am closing this bug as WORKSFORME.
Comment 5 Paul Slauenwhite CLA 2009-06-30 13:22:39 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.