Bug 38948 - Does not send notification on servlet name change
Does not send notification on servlet name change
Status: RESOLVED INVALID
Product: serverplugins
Classification: Unclassified
Component: Infrastructure
3.x
PC Windows XP
: P1 (vote)
: 4.x
Assigned To: issues@serverplugins
issues@serverplugins
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-01-16 23:22 UTC by _ pcw
Modified: 2006-06-05 00:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


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 ;)


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo