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 198218 - Bad URL in Web App in Root Context
Summary: Bad URL in Web App in Root Context
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 7.0.1
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-30 05:12 UTC by bht
Modified: 2011-06-21 16:05 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 bht 2011-04-30 05:12:16 UTC
NetBeans IDE Dev (Build 201104200000)

Please see also http://netbeans.org/bugzilla/show_bug.cgi?id=187499 which seems to be the same problem.

How to reproduce:

File|New Project|Samples|Java Web|Servlet Stateless| (Java EE 6)|Next|Finish
Project Node|Right click|Properties|Run|Context Path|Delete field content|OK
Project Node|Right click|Debug

Output tab "ServletStateless (debug)"

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
Created dir: C:\bt\java\netbeans\bugs\_new\DebugUrl\ServletStateless\build\web\WEB-INF\classes
Copying 2 files to C:\bt\java\netbeans\bugs\_new\DebugUrl\ServletStateless\build\web
library-inclusion-in-archive:
library-inclusion-in-manifest:
Created dir: C:\bt\java\netbeans\bugs\_new\DebugUrl\ServletStateless\build\empty
compile:
compile-jsps:
debug:
Starting GlassFish Server 3.1
GlassFish Server 3.1 is running.
connect-debugger:
Attached JPDA debugger to localhost:9009
In-place deployment at C:\bt\java\netbeans\bugs\_new\DebugUrl\ServletStateless\build\web
debug-display-browser:
Browsing: http://localhost:8080//servlet
connect-client-debugger:
BUILD SUCCESSFUL (total time: 41 seconds)


Please note double "//" in URL.
Comment 1 Petr Hejl 2011-06-20 08:48:11 UTC
Fixed in web-main dad94c5f85d6.
Comment 2 Quality Engineering 2011-06-21 16:05:47 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/dad94c5f85d6
User: phejl@netbeans.org
Log: #198218 Bad URL in Web App in Root Context