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 79397

Summary: web app annotation merged dd provider doesn't send events on servlet entries.
Product: javaee Reporter: _ pcw <pcw>
Component: CodeAssignee: Martin Adamek <madamek>
Status: RESOLVED FIXED    
Severity: blocker CC: pjiricka
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 77568    
Bug Blocks: 80015    

Description _ pcw 2006-06-29 01:35:14 UTC
Create a javaEE5 web module and add a servlet.

No "new servlet" event is send by the merged dd provider even though the servlet
entry is added to web.xml.

Perhaps the merged dd provider is not merging the standard descriptor with the
annotations?
Comment 1 _ pcw 2006-06-29 01:36:32 UTC
(You can test this by performing the above steps, then open sun-web.xml and
double click the "Sun Web Application" tree node to open it.  There will not a
servlet sub node.

If you perform these same steps in J2EE 1.4, you will see the servlet page that
should be there.
Comment 2 _ pcw 2006-07-11 00:21:48 UTC
Additionally, no event is sent when <security-role> is added either.
Comment 3 Martin Adamek 2006-07-11 14:31:40 UTC
Probably depends on issue 77568.
Comment 4 _ pcw 2006-07-11 23:44:25 UTC
Raising priority to P2.  This is a serious deficiency in web's merged dd provider.
Comment 5 Martin Adamek 2006-07-24 10:07:34 UTC
Fixed by latest DD providing changes.