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.
[Build 20041207] I created J2EE Application with EJB module and Web module and then open visual editor for sun-application.xml. In panel representing J2EE application should be listed Web module mappings. Like this: Module Mapping: | Web URI | Context Root | -------------------------------------------- | library.war | /library | This table represents entry: <web> <web-uri>library.war</web-uri> <context-root>/default</context-root> </web> in application.xml or sun-application.xml. Element in Sun's DD overrides the corresponding element in the application.xml file.
*** Issue 52928 has been marked as a duplicate of this issue. ***
The data displayed in this table should only come from the sun-applicatio.xml file, because that is the data that will be changed.
Need to read context root entries for all the web modules in an application from application.xml and list them in this table. Enteries are not shown in the editor, even on adding entries to sun-application.xml by hand.
This bug fix is requested by JSE team. Exceptions needs to be handled properly. Marking this bug as
This functionality is needed for coming JSE.
There is not exception in this bug. There are 2 ways to enter this moudle mapping information (xm editor, and prop panel for each node in the sun-applicatio UI editor. So this is not a P1, according to the guidelines. Moving back to P3. Will mot fix for 4.1, unless there is an official escalation about why the 2 proposed solutions are not acceptable.
Ho, the 3rd way for a solution is to do nothing whne a module is added to a j2ee project: these values are anyway always set by default when you add a new module to a J2EE app, so my mistake: not 2 workaround, but 3. Of course the ui is bad, but the goal of nb4.1 is to have zero config capabilitites so that most of the time, you don't even need to know this ui at all.
Reopening, RESOLVED/LATER is not a valid resolution. Let's not use RESOLVED/LATER.
Files Modified: org/netbeans/modules/j2ee/sun/share/configBean/customizers/other/AppRootCustomizer.form new revision: 1.3; previous revision: 1.2 org/netbeans/modules/j2ee/sun/share/configBean/customizers/other/AppRootCustomizer.java new revision: 1.5; previous revision: 1.4 Removed the URI mappings table. It was redundant and incosistent with the way all other customizers are implemented for sun ejb jar. We hava a separte DConfigBean(separate node in the UI) that represents URI mapping. Customizer for this DConfigbean is responsible for handling(read/write) URI mapping and not the Customizer for the Root Element.
Not fixed completely, need to change the documentation as well.
This bugfix was requested by Studio. Rajeshwar, can I please ask you to follow the high resistance integration process and also fix in the 4.1 branch, once this is verified and reviewed? Thanks.
URI table was removed. I verified that in trunk build 20050411. Can commit changes to netbeans41 branch.
Not fixed completely, need to change the documentation as well. Please tell Ken which help topics should be changed, and exactly what should be changed in thos help topics.
Topic for sun-application Visual Editor(help id -- AS_CFG_Application) need to be updated. *Module Mappings* section need to be removed all together.
Created attachment 21581 [details] diffs for the fix
fixed docs in release 4.1 branch
diff is OK Ludo
in 41 branch
Verified the fix in release41 branch. I can also see the modified new help page.
please use unified format for diffs. It is better readable.
[Build 20050413]