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.
The DISPLAY_NAME_CHANGED event proprogated by the DConfigBean tree is causing the configuration to be marked dirty, thus requiring a save, even though this event does not represent a change of any data. It is merely a UI event sent to indicate that the displayed name of node in the explorer side of the configuration has changed. To reproduce, create a web application with a resource-ref, edit the configuration and delete the JNDI name of the resource. Save the configuration, close it, then reopen it. Now select the resource-ref customizer and upon the display of this customizer, the configuration will be marked dirty. This is because the validator for the JNDI name attempts to change the name of the node to indicate that the resource-ref is invalid (due to not having a JNDI name).
Fixed. http://serverplugins.netbeans.org/source/browse/serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/share/config/ConfigBeanStorage.java?r1=1.4&r2=1.5