Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316213 - Deadlock when restarting web server
Summary: Deadlock when restarting web server
Status: CLOSED DUPLICATE of bug 328067
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: jst.server (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Angel Vera CLA
QA Contact: Angel Vera CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-08 17:20 EDT by Steven Hugg CLA
Modified: 2011-02-09 16:33 EST (History)
1 user (show)

See Also:


Attachments
stack trace (kill -3) during deadlock (32.99 KB, text/plain)
2010-06-08 17:20 EDT, Steven Hugg CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***