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 30358

Summary: Deadlock on startup when accessing WCO lock and loaders
Product: javaee Reporter: _ rkubacki <rkubacki>
Component: CodeAssignee: _ rkubacki <rkubacki>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 29473    
Attachments: thread dump of deadlock

Description _ rkubacki 2003-01-27 08:58:58 UTC
WCO posts mounting task to RP on startup that
fires events when libraries are mounted. This
causes TaglibSupport to check whether it should
add taglib elememnt to DD so it searches for its
object and thus initializes ServerRegistry.
TomcatInstance needs to recognize DO of its
server.xml by loadres.

At the same time WepAppObject is created by
loaders and its initialization waits for WCO lock
to restore its children
Comment 1 _ rkubacki 2003-01-27 10:25:48 UTC
Checking in web/advanced/src/org/netbeans/modules/web/ie/WebModule.java;
/cvs/web/advanced/src/org/netbeans/modules/web/ie/WebModule.java,v 
<--  WebModule.java
new revision: 1.58; previous revision: 1.57
done
Processing log script arguments...
More commits to come...
Checking in
web/advanced/src/org/netbeans/modules/web/taglib/TagLibSupport.java;
/cvs/web/advanced/src/org/netbeans/modules/web/taglib/TagLibSupport.java,v
 <--  TagLibSupport.java
new revision: 1.22; previous revision: 1.21
done
Processing log script arguments...
Comment 2 _ rkubacki 2003-01-27 13:06:28 UTC
Created attachment 8682 [details]
thread dump of deadlock
Comment 3 Petr Jiricka 2003-02-25 17:37:36 UTC
Verified in 20030225. The code is now removed.