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 183208 - Incorrect URL opened in browser from server node for EJB/EAR modules
Summary: Incorrect URL opened in browser from server node for EJB/EAR modules
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 15:45 UTC by Petr Jiricka
Modified: 2010-07-27 18:53 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 Petr Jiricka 2010-03-30 15:45:32 UTC
1. Create a Java EE EAR application (Ant or Maven)
2. Deploy to GlassFish v3
3. Expand the GlassFish node in the Servers tab and its Applications node
4. In the popup menu of the EAR node, select Open in Browser

=> Invalid URL is opened that gives a 404 error, e.g. http://localhost:8080/EnterpriseApplication2

This is related to bug 178106.
Comment 1 Vince Kraemer 2010-03-31 20:45:27 UTC
this action should not be enabled for EAR or EJB projects. will fix.
Comment 2 Vince Kraemer 2010-04-01 19:30:52 UTC
http://hg.netbeans.org/web-main/rev/629d6a1cba87
Comment 3 Quality Engineering 2010-04-02 04:59:50 UTC
Integrated into 'main-golden', will be available in build *201004020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b16d33f253e2
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #183208: default RP misuse exception
Comment 4 David Konecny 2010-07-27 18:53:20 UTC
Would it be hard to enable the action conditionally on EAR based on presence of a WAR in EAR?