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.
1. Start NetBeans (6.5 Beta). 2. Create a new projetct, choose in categorie "Java Web" and in project "Web Application". 3. Project name "correctlongname". 4. On "Server and Setting" put on "Context Path" a url like "/c". I'm using server Glassfish V3 and Java EE 5. 5. Select none framework and click "Finish". 6. Click on the Run button or F6. You got a Glassfish 404 page. The browser will open on "http://localhost:8080/correctlongname/" and not in "http://localhost:8080/c". The workaround I found was changing the context root in the sun-web.xml to match with the project name. But in my case I really need to they be different.
This works fine for me. The only difference is I'm using GF2. Passing to GF plugin team for the evaluation.
This was fixed near the end of August, 2008. Have you tried the latest bits? *** This issue has been marked as a duplicate of 138532 ***