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 94614 - Profiler fails to instrument GlassFish with Profile All Classes
Summary: Profiler fails to instrument GlassFish with Profile All Classes
Status: VERIFIED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-06 12:51 UTC by Alexander Kouznetsov
Modified: 2007-05-07 15:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (2.06 KB, text/plain)
2007-02-06 12:52 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-02-06 12:51:27 UTC
Profiler 070205
NetBeans IDE Dev (Build 200702011900)
1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251
Sun Java System Application Server 9.1 (build b33)

Steps to reproduce:
- Deploy OrderSystem sample app
(http://www.netbeans.org/nonav/issues/showattachment.cgi/37566/order_system.zip)
to GlassFish server
- Start the server in Profile mode
- Perform attach using the following parameters: OrderSystem Project, Analyze
Performance, Part of Application with listOrders.jsp from OrderSystem-war
selected as a source of root method, Profile All Classes.
- Go to application page and try to save a new entry
- RESULT: IDE is trying to perform instrumentation and fails with the message
that profiled application does not respond. If you click Yes to close connection
and stop profiling the following exception is thrown (attached):
java.lang.IllegalStateException: zip file closed

Then the server becomes unmanageable and user needs to kill its process.
Comment 1 Alexander Kouznetsov 2007-02-06 12:52:12 UTC
Created attachment 38097 [details]
Exception
Comment 2 J Bachorik 2007-03-19 10:36:34 UTC
could you provide a thread dump from the IDE running the profiler right before
closing the non-responding connection?
Comment 3 Alexander Kouznetsov 2007-03-26 14:26:51 UTC
I'm not able to reproduce this with
Profiler 070323
NetBeans IDE Dev (Build 200703251800)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251
Sun Java System Application Server 9.1 (build b33)
Comment 4 Alexander Kouznetsov 2007-05-07 11:45:22 UTC
Experienced deadlock (issue 103421) during an attempt to reproduce this issue.
Comment 5 Alexander Kouznetsov 2007-05-07 15:27:38 UTC
One more deadlock: Issue 103439
Comment 6 Alexander Kouznetsov 2007-05-07 15:45:15 UTC
Verified with
Profiler 070504
NetBeans IDE Dev (Build 070507)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251
Sun Java System Application Server 9.1 (build b41d-beta2)