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 144198 - Inconsistent behaviour during application deployment
Summary: Inconsistent behaviour during application deployment
Status: RESOLVED DUPLICATE of bug 138532
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 5.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-17 10:25 UTC by bilgehan
Modified: 2008-08-18 22:43 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 bilgehan 2008-08-17 10:25:42 UTC
I was testing glassfish v3 and netbeans 6.1 integration. I was using sample web apps that came with netbeans. I tried jsp sample application. Netbeans 
automatically gave JSPExamples1 to project name. When i tried to run the app, netbeans opened http://localhost:8080/JSPExamples1/ and the server gave 
404 error saying The requested resource () is not available. I checked through glassfish admin for web applications. It lists JSPExamples1 as Name and /jsp-
examples as Context Root. I tried http://localhost:8080/jsp-examples/ and it was working.

Then i created an empty jsp project from scratch. I defined project name as WebApp1 and context root as WebApp2. When netbeans deploys and runs the 
project it opens the http://localhost:8080/WepApp1 and it works fine. I checked through glassfish admin and noticed that both name and context root was 
defined as WebApp1 although they were defined different initially.
Comment 1 _ pcw 2008-08-18 22:43:13 UTC
This is known and will be fixed soon.

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