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 138773 - HTTP status 404 when running sample web applications
Summary: HTTP status 404 when running sample web applications
Status: RESOLVED DUPLICATE of bug 138187
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-07-02 07:29 UTC by dpkumar
Modified: 2008-07-15 22:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Server log (114.57 KB, text/plain)
2008-07-02 09:56 UTC, dpkumar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dpkumar 2008-07-02 07:29:59 UTC
NetBeans IDE Build 200806300002
JDK:jdk1.6.0_06

Steps to reproduce:
1.Install NB IDE
2.Download GlassFish V3 and start the server.
3.Open any sample web applications Select File>NewProject>Samples>Web>JSTL Examples or JSP Examples or Servlet Examples.
4.Right click on the application select Properties/Run and change the target server to GlassFish V3.
5.Right click on the application select Build/Undeploy&Deploy/Run.

Following the above steps getting HTTP Status 404 in the browser out put.
If I select "Open In Browser" it shows out out in the browser.Right click on the deployed application and select "Open
In Browser".(Server/GlassFish V3/Application)

NOTE:The above sample applications are working fine on GlassFish V2 server.
Comment 1 Petr Blaha 2008-07-02 09:10:56 UTC
Probably, the duplicate of the issue #138174. Do you have the space in the path for V3 domain? Can you attach server
message log?
Comment 2 dpkumar 2008-07-02 09:55:20 UTC
No space in the domain path. I have given path as "E:\GlassFish_V3_TP2new\glassfish\domains\domain1".
Comment 3 dpkumar 2008-07-02 09:56:25 UTC
Created attachment 63801 [details]
Server log
Comment 4 Petr Blaha 2008-07-02 12:55:56 UTC
According the server log the application is deployed successfully. I found out the application is deployed with
jstl-examples context path but the IDE opens the browser with JSTLExamples. The 'jstl-examples' context path is defined
in sun-web.xml and it seems that it's not propagated in IDE.
Comment 5 _ pcw 2008-07-15 22:04:26 UTC
Supporting context-root in sun-web.xml is an 6.5 M2 feature.

*** This issue has been marked as a duplicate of 38187 ***
Comment 6 _ pcw 2008-07-15 22:05:29 UTC
Entered dupe for wrong issue... bleah
Comment 7 _ pcw 2008-07-15 22:06:35 UTC
Corrected duplicate issue reference.

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