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 38948 - Does not send notification on servlet name change
Summary: Does not send notification on servlet name change
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-16 23:22 UTC by _ pcw
Modified: 2006-06-05 00:39 UTC (History)
0 users

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 _ pcw 2004-01-16 23:22:03 UTC
I suspect this is really a web module bug, but 
I'll let the owners sort it out.  Simply, change 
event notifications are not being sent to JSR-88 
plugins when changes are made to web.xml.

Have SJSAS installed.
Create a web app with a servlet.
Open the config editor on sun-web.xml.
Edit web.xml
Change the name of the servlet.
Hit <Save>.
At this point, the notifyDDChange method should 
have been invoked to inform the sun-web 
configuration editor that the name of the servlet 
had changed.  This does not happen.

Note: If you rename the servlet via the right 
click menu on the explorer, and then in the popup 
dialog regarding updating the servlet-class field 
of web.xml, hit yes, the DConfigBean for the 
servlet *IS* notified of that change.  
Unfortunately, we're actually interested in the 
servlet-name field, not servlet-class :(
Comment 1 _ pcw 2004-01-17 01:05:51 UTC
Maybe I had a bogus file somewhere.  This is working as expected 
right now.  Nothing to see here, move along ;)