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 - jps functionality doesn't work for application waiting for direct attach
Summary: jps functionality doesn't work for application waiting for direct attach
Status: VERIFIED WONTFIX
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-30 16:51 UTC by Alexander Kouznetsov
Modified: 2007-12-04 15:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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