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 58270 - IDE doesn't stop Tomcat when debugger stops at breakpoint
Summary: IDE doesn't stop Tomcat when debugger stops at breakpoint
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-25 11:01 UTC by Jiri Skrivanek
Modified: 2006-03-24 13:05 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 Jiri Skrivanek 2005-04-25 11:01:29 UTC
IDE doesn't stop Tomcat process during shutdown when debugger stops at
breakpoint. To reproduce:

- create web application from template
- add breakpoint to index.jsp
- start debugger (F5) and wait until it stops at breakpoint
- shutdown IDE
- check Task Manager (java.exe) or try http://localhost:8084/ to see Tomcat
server is still alive

Build RC1 200504200735, JDK1.5.0_02, WindowsXP.
Comment 1 Sherold Dev 2005-04-25 14:26:14 UTC
We should check not only isRunning but also isSuspended.

TM -> 4.2.
Comment 2 Sherold Dev 2005-12-08 16:04:57 UTC
F.

Checking in src/org/netbeans/modules/j2ee/deployment/impl/ServerInstance.java;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ServerInstance.java,v
 <--  ServerInstance.java
new revision: 1.72; previous revision: 1.71
done
Comment 3 Jiri Skrivanek 2005-12-09 09:09:48 UTC
Verified in build 20051209-0700.