Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316213

Summary: Deadlock when restarting web server
Product: [WebTools] WTP ServerTools Reporter: Steven Hugg <hugg>
Component: jst.serverAssignee: Angel Vera <arvera>
Status: CLOSED DUPLICATE QA Contact: Angel Vera <arvera>
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
stack trace (kill -3) during deadlock none

Description Steven Hugg CLA 2010-06-08 17:20:10 EDT
Build Identifier: 20100218-1602

Using WTP against Tomcat 6: The web server starts correctly the first time (actually have to Close/Reopen project to get it to publish correctly, but unknown if that is related to this deadlock). Eventually Tomcat must be restarted because Tomcat has lots of issues with classloaders and PermGenSpace (also not related). Sometimes restart works. Eventually, the IDE will deadlock in the middle of "Starting server xxx". Stack trace is attached.

eclipse -clean seemed to not have any effect.


Reproducible: Always

Steps to Reproduce:
1. Start Eclipse
2. Close and Reopen project
3. Start web server ("Tomcat 6.0 at localhost" in my environment)
4. Restart web server one or more times
Comment 1 Steven Hugg CLA 2010-06-08 17:20:58 EDT
Created attachment 171472 [details]
stack trace (kill -3) during deadlock
Comment 2 Olivier Thomann CLA 2010-06-08 17:22:36 EDT
Moving to WebTools
Comment 3 Angel Vera CLA 2011-02-09 16:33:52 EST
I think this one will be resolved by bug# 328067, although the stacktrace is sligthly different since the main thread seems to be in use by the org.eclipse.wst.internet.monitor.ui.internal.view.MonitorView$1, but the part that is common is core.internal.Server.startImpl2, which was changed by bug# 328067.

*** This bug has been marked as a duplicate of bug 328067 ***