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 216218 - "Run" opens the wrong web component in the browser for Maven-based JavaEE6 EAR project
Summary: "Run" opens the wrong web component in the browser for Maven-based JavaEE6 EA...
Status: RESOLVED DUPLICATE of bug 215454
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.2
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-31 19:34 UTC by big_al
Modified: 2012-08-01 07:35 UTC (History)
0 users

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 big_al 2012-07-31 19:34:36 UTC
How to reproduce:

1. Create Maven-based JavaEE6 EAR project
2. Open the Properties for the WAR project and change the context path to "/somethingelse"
3. Clean and build the project
4. Run the EAR project

Observed:

The browser opens http://localhost:8080/nameofwar-!.0-SNAPSHOT

Expected

The browser should open http://localhost:8080/somethingelse  (as specified in step 2).


Note, it works fine if the project is a Maven-Based JavaEE6 WAR project.
Comment 1 Jiri Skrivanek 2012-08-01 07:35:22 UTC

*** This bug has been marked as a duplicate of bug 215454 ***