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 49726 - Server not restarted to debug mode
Summary: Server not restarted to debug mode
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-30 09:53 UTC by L Martinek
Modified: 2006-03-24 09:50 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 L Martinek 2004-09-30 09:53:16 UTC
[Build 200409291800, JDK 1.5.0]

If Tomcat is already running in non-debug mode and
you start debugging, server is not restarted to
debug mode, webmodule is only redeployed.

How to reproduce:
1. If Tomcat is running, stop it.
2. Run a webmodule.
3. Debug a webmodule. 
Tomcat is not running in debug mode and debugger
can't connect to it.

org.netbeans.api.debugger.jpda.DebuggerStartException:
Connection refused: connect
Comment 1 Martin Grebac 2004-09-30 10:08:25 UTC
Wrong category
Comment 3 Nam Nguyen 2004-09-30 13:43:26 UTC
I realized it yesterday and fixed in j2ee branch.  Will put the fix in
trunk now.
Comment 4 Nam Nguyen 2004-09-30 14:30:29 UTC
Fixed.
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ServerInstance.java,v
 <--  ServerInstance.java
new revision: 1.33; previous revision: 1.32
Comment 5 L Martinek 2005-02-09 17:25:20 UTC
verified (better late than never :-)