This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 114264

Summary: jps functionality doesn't work for application waiting for direct attach
Product: profiler Reporter: Alexander Kouznetsov <mrkam>
Component: BaseAssignee: issues@profiler <issues>
Status: VERIFIED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Alexander Kouznetsov 2007-08-30 16:51:09 UTC
Product Version: NetBeans IDE Dev (Build 200708270000) 
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

Steps to reproduce:
- Start any application with direct attach options, do not perform attach
- Run jps
- RESULT: "Could not synchronize with target" message
- Try to perform dynamic attach
- RESULT: "<Error getting running processes>" in Select Process dialog
Comment 1 Tomas Hurka 2007-08-30 16:54:12 UTC
run jps from command line and you will get same result. This is not bug in profiler.
Comment 2 Alexander Kouznetsov 2007-08-30 17:06:44 UTC
As I understand Profiler Agent does not allow Profiled JVM to communicate with jps while it is waiting for Direct
Attach. Am I right?
Comment 3 Tomas Hurka 2007-09-11 17:04:24 UTC
There is no direct communication between Profiled JVM and jps. jps uses named shared memory region to pass information between JVMs.
Comment 4 Alexander Kouznetsov 2007-12-04 15:30:20 UTC
Filed new JDK issue http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6637230