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.

Bug 149258 - context-root setting does not effect glassfish enterprise applications
Summary: context-root setting does not effect glassfish enterprise applications
Status: RESOLVED DUPLICATE of bug 123385
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-06 15:57 UTC by brentwatson
Modified: 2009-10-07 02:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brentwatson 2008-10-06 15:57:16 UTC
In an Enterprise Application project with GlassFish V2 selected as the app server, changing the context-root setting by
right-clicking on the <ApplicationName>-war module -> Properties -> Run -> "Context Path" setting does not effect the
URL to access the project once deployed.

The reason is that modifying this value in the IDE DOES change the <context-root> setting in sun-web.xml correctly,
however it DOES NOT create the required "application.xml" file needed by GlassFish to change the context-root.

I would request that the fix should be that changing the Context Path setting should either automatically create the
application.xml file that is required by GlassFish (and set the needed context-root and any other values), or should ask
you if you would like this file to be created.
Comment 1 David Konecny 2008-10-07 21:26:45 UTC
This sounds like something to be done by server plugin? Do you agree phejl?
Comment 2 Petr Hejl 2008-10-09 12:50:56 UTC
I believe this is responsibility of the EAR project. OTOH it could be unresolved thing in communication of EAR project
and j2eeserver (missing api).
Comment 3 David Konecny 2009-10-07 02:45:08 UTC

*** This issue has been marked as a duplicate of 123385 ***