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 194936 - Web App does not start with Root Context
Summary: Web App does not start with Root Context
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0
Hardware: PC Windows Vista
: P2 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-01 07:15 UTC by bht
Modified: 2011-02-01 17:28 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 bht 2011-02-01 07:15:52 UTC
File|New Project|Samples|Java Web|Servlet Stateless| (Java EE 6)|Next|Finish
Project Node|Right click|Properties|Run|Relative URL|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 1 file 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:
connect-debugger:
In-place deployment at C:\bt\java\netbeans\bugs\_new\DebugUrl\ServletStateless\build\web
debug-display-browser:
Browsing: ${client.url}
C:\bt\java\netbeans\bugs\_new\DebugUrl\ServletStateless\nbproject\build-impl.xml:787: The following error occurred while executing this line:
C:\bt\java\netbeans\bugs\_new\DebugUrl\ServletStateless\nbproject\build-impl.xml:801: 
java.net.MalformedURLException: no protocol: ${client.url}
	at java.net.URL.<init>(URL.java:567)
	at java.net.URL.<init>(URL.java:464)
	at java.net.URL.<init>(URL.java:413)
	at org.netbeans.modules.ant.browsetask.NbBrowse.execute(NbBrowse.java:78)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
	at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
BUILD FAILED (total time: 4 seconds)
Comment 1 Vince Kraemer 2011-02-01 16:17:04 UTC
which NB build?
Comment 2 bht 2011-02-01 16:57:50 UTC
Build 201101280000
Comment 3 Vince Kraemer 2011-02-01 17:28:52 UTC
this change appears to have fixed this issue...

http://hg.netbeans.org/main-golden/rev/2ff3f5e74925

which I could not reproduce with a more recent build.