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.
There is Module Mappings panel in sun-application.xml, which seems to be useless. How I can add new mapping and what it is for?
this should be in the serverplugins category
It would help if I knew exactly what you were talking about here. I'm going to guess it's the module reference customizers that are visible for each submodule of the ear (even though only application/web has any meaningful content). You can get new ones of the appropriate type by adding modules to the ear. This is an artifact of an old JSR-88 inspired DConfigBean model in the NB 3.6 timeframe and does not mean much now, but it's currently more work to remove it than it's worth. Actually, given that the application config editor no longer supports simultaneous editing of the sun descriptors for all the contained modules, maybe we can get rid of it by just deleting the xpaths from the factory. I'll check on this.
Gone in 6.0. If it comes back in some form later (e.g. to have GUI fields for web context root override), we won't have JSR-88 forcing unnecessary UI on us for other module types such as ejb-jars.