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 60366 - [J1] Build failed with error: java.net.MalformedURLException: no protocol: ${client.url}
Summary: [J1] Build failed with error: java.net.MalformedURLException: no protocol: ${...
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-22 08:46 UTC by Petr Blaha
Modified: 2005-09-05 10:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
output window snapshot (130.29 KB, image/png)
2005-06-24 07:35 UTC, Petr Blaha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2005-06-22 08:46:19 UTC
[build 050621, milestone 3 + App server 9]
Steps:
1) create J2EE application with one session bean and servlet
2) Run project
ERROR: Browsing: ${client.url}
/home.local/blaha/ide/java1/projects/EnterpriseApplication1/nbproject/build-impl.xml:225:
java.net.MalformedURLException: no protocol: ${client.url}
BUILD FAILED (total time: 16 seconds)
Comment 1 Marek Fukala 2005-06-22 12:36:28 UTC
This is likely caused by the glassfish appserver plugin. The client.url property
is set within the nbdeploy which AFAIK constructs the value from the server
instance url + module context. Now the client.url property is not set.
Comment 2 Vince Kraemer 2005-06-22 18:16:41 UTC
as 9.0 [20050621 nightly]
preview 4
Solaris 8

Is working for me...

Please provide more details.
Comment 3 Petr Blaha 2005-06-23 09:49:45 UTC
Configuration: NB milestone 4, App server latest build, Linux.
Steps to reproduce:
1) create new J2EE application
2) add session bean, servevlet to project
3) call bean from servlet
4) set relative URL to /NewServlet
5) deploy and debug project
6) set breakpoint to servlet
7) run project
8) step in servlet and finish debug session
9) only run project
See screenshot.
Comment 4 Vince Kraemer 2005-06-23 17:03:14 UTC
investegating.
Comment 5 Petr Blaha 2005-06-24 07:35:28 UTC
Created attachment 22881 [details]
output window snapshot
Comment 6 Vince Kraemer 2005-08-11 20:44:20 UTC
This bug was filed against the Java EE 5 build.  It should not appear in the 4.2
bug list.
Comment 7 Vince Kraemer 2005-08-16 16:09:17 UTC
closing since this is was a one-shot build (for JavaOne 2005)