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.
[pre-beta 200502180835] 1. create new EJB module 2. create new web service 3. delete this web service (invoke delete in ws node's context menu) => relevant elements from sun-ejb-jar.xml should be removed workaround1: remove elements ejb where ejb-name=deletedBeanName from sun-ejb-jar.xml manually workaround2: add some bean to the project (entries mentioned above are removed automatically)
ejb-jar is handled correctly, so assume this is a plugin problem
Rajeshwar, please investigate and update the evaluation. Could be an event bug or a plugin bug.
No more valid in current builds. Verified in trunk build.
I've just reproduced this in build 200503221900
I know what the problem is. If you create a new module, add web-service to it and delete web-service everything works(bean and all the entries in DDs get deleted). If you create an ejb module, add web-service to it, restart ide and delete web-service then sun DD entries are not getting deleted. The is because the configuration is not getting initialized in the second case.
Rajeshwar is correct, I just checked the web service removal code and it does not call ensureConfigurationReady().
For future reference, with regard to bound elements (those represented by DConfigBeans), the plugin does not have any control over which elements in the sun-xxx files are created or destroyed. J2eeserver module controls that directly via JSR-88 and the modules that manipulate the standard descriptor files control it indirectly.
File Modified: j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/EjbJarWebServicesSupport.java new revision: 1.18; previous revision: 1.17
v. 200504031800