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 76782 - Debug file sometimes restarts server running in debug mode
Summary: Debug file sometimes restarts server running in debug mode
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Libor Kotouc
URL:
Keywords:
Depends on:
Blocks: 73392
  Show dependency tree
 
Reported: 2006-05-24 09:44 UTC by Libor Kotouc
Modified: 2006-06-19 09:28 UTC (History)
1 user (show)

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 Libor Kotouc 2006-05-24 09:44:18 UTC
This bug is random I can reproduce it reliably during several IDE restarts.
1. open IDE
2. create web project for Tomcat
3. debug project
4. debug file (index.jsp)

The server is restarted during the debug task although it is already running in
the debug mode:
...
debug:
Stopping server Bundled Tomcat (5.5.16)
Waiting for Tomcat...
Tomcat server stopped.
Starting debug server Bundled Tomcat (5.5.16)
Waiting for Tomcat...
Tomcat server started.
...

I did not try to reproduce the bug with another server.

This issue relates to the issue 73392 from the user's point of view, thus I am
setting it also as a blocking P2, although it is different technical problem.
Comment 1 Sherold Dev 2006-05-24 13:46:33 UTC
TM -> 5.5

The issue was in the Tomcat plug-in. F.

Checking in src/org/netbeans/modules/tomcat5/ide/StartTomcat.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/ide/StartTomcat.java,v 
<--  StartTomcat.java
new revision: 1.72.6.4.2.4; previous revision: 1.72.6.4.2.3
done

The same issue still exists in the JBoss plug-in -> reassigning
Comment 2 Libor Kotouc 2006-05-24 16:10:07 UTC
Fixed also for the JBoss plugin.

Checking in JBStartRunnable.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/Attic/JBStartRunnable.java,v
 <--  JBStartRunnable.java
new revision: 1.1.2.5; previous revision: 1.1.2.4
done
Checking in JBStartServer.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/JBStartServer.java,v
 <--  JBStartServer.java
new revision: 1.17.8.5.2.9; previous revision: 1.17.8.5.2.8
done
Comment 3 Michal Mocnak 2006-06-19 09:28:36 UTC
Verified