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 138532 - WebModule does not run with context-root but Application Name
Summary: WebModule does not run with context-root but Application Name
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
: 142931 143692 144198 144803 149899 (view as bug list)
Depends on: 138187
Blocks:
  Show dependency tree
 
Reported: 2008-06-27 23:35 UTC by davisn
Modified: 2008-10-13 22:23 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 davisn 2008-06-27 23:35:29 UTC
If a sample web project has a module name different than the context-root name, IDE will run with the module name not
the context-root

Steps To Reproduce:
1. Install nighly NB 6.5 build (06/27/08)
2. Select to create a new Project > from the Category choose Sample > Servlet Example > click finish button
3. Right-click at the  ServletExamples project and select to run with Glassfish-V3
4. Run the project
Bug:
   The project failed to run since it tried to access to http://localhost:8080/ServletExamples while it should access to
http://localhost:8080/servlets-examples/
Comment 1 Petr Hejl 2008-07-17 10:07:01 UTC
Reassigning to proper component.
Comment 2 _ pcw 2008-07-17 19:48:11 UTC
As I said in the meeting yesterday -- this last piece isn't fixed yet.
Comment 3 _ pcw 2008-08-06 07:06:14 UTC
*** Issue 142931 has been marked as a duplicate of this issue. ***
Comment 4 _ pcw 2008-08-13 00:27:03 UTC
*** Issue 143692 has been marked as a duplicate of this issue. ***
Comment 5 _ pcw 2008-08-18 22:43:07 UTC
*** Issue 144198 has been marked as a duplicate of this issue. ***
Comment 6 _ pcw 2008-08-22 00:43:21 UTC
*** Issue 144803 has been marked as a duplicate of this issue. ***
Comment 7 _ pcw 2008-08-26 07:30:32 UTC
Fix pending.
Comment 8 _ pcw 2008-08-27 02:39:02 UTC
Fixed

http://hg.netbeans.org/main/rev/a4129dc84d9d
Comment 9 Quality Engineering 2008-08-28 06:22:50 UTC
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/a4129dc84d9d
User: pcw@netbeans.org
Log: #138532 - web apps not passing context root back to IDE for correct <Run> action.
Cleaned up Hk2Target management a bit.
Comment 10 _ pcw 2008-10-13 22:23:42 UTC
*** Issue 149899 has been marked as a duplicate of this issue. ***