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 143179 - Not showing out put in the browser for the sample application HelloWorld(RESTful)on selecting 'Open in browser'
Summary: Not showing out put in the browser for the sample application HelloWorld(REST...
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: Sun Windows XP
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-07 13:42 UTC by dpkumar
Modified: 2008-09-04 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 dpkumar 2008-08-07 13:42:55 UTC
NB Build:NetBeans IDE Build 200808051401
GF V3-b18
JDK Build:jdk1.5.0_13

Steps to reproduce:
-Install NB IDE
-Open Hello World(RESTful) Web Services sample application.
-Deploy the application.
-Right click on the deployed application ans select 'Open in Browser'.

ISSUE:
-Out put not shown in the browser.
-When I select 'Run' target on the sample application(Right click on the sample application select Run), it shows out
put in the browser
Comment 1 _ pcw 2008-08-27 02:48:35 UTC
Interesting problem - on the services tab, we derive the browser URL directly from the context root of the deployed
application.

The IDE is computing it differently due to nature of the application (e.g. the REST support).
Comment 2 _ pcw 2008-09-04 02:45:00 UTC
After discussing this with the team, closing as WONTFIX (more like "can't fix").

This sample uses a project setting to add a relative url to the context root so that when you "Run" the project, it's a
little bit nicer.  The plugin has no way of knowing this when on the services tab and you should see identical behavior
if you run the application from Admin GUI -- it'll run the app at context root and not include the extra relative path
that NetBeans is using.