jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Milora" <joemil...@cox.net>
Subject Re: malformed url
Date Fri, 07 Mar 2003 05:13:38 GMT
Never mind, stupid mistake.
Had a new line in the cactus.properties file. oops.

----- Original Message -----
From: "Joseph Milora" <joemilora@cox.net>
To: "Cactus Users List" <cactus-user@jakarta.apache.org>
Sent: Thursday, March 06, 2003 8:47 AM
Subject: Re: malformed url


>
> Here is the entire message stack: (Using the servletTestCase)
>
>
testAction(us.mistura.web.ActionServletTest)java.net.MalformedURLException:
> no protocol: /ServletRedirector
>
> at java.net.URL.<init>(URL.java:579)
>
> at java.net.URL.<init>(URL.java:476)
>
> at java.net.URL.<init>(URL.java:425)
>
> at
>
org.apache.cactus.client.HttpClientConnectionHelper.dispatch24_connect(HttpC
>
lientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):109)
>
> at
>
org.apache.cactus.client.HttpClientConnectionHelper.around24_connect(HttpCli
> entConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):1236)
>
> at
>
org.apache.cactus.client.HttpClientConnectionHelper.connect(HttpClientConnec
> tionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):106)
>
> at
>
org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.j
> ava;org/apache/cactus/util/log/LogAspect.aj(1k):186)
>
> at
>
org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest(AbstractHttpCli
> ent.java;org/apache/cactus/util/log/LogAspect.aj(1k):109)
>
> at
>
org.apache.cactus.client.AbstractHttpClient.around2_doTest(AbstractHttpClien
> t.java;org/apache/cactus/util/log/LogAspect.aj(1k):1236)
>
> at
>
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;o
> rg/apache/cactus/util/log/LogAspect.aj(1k):104)
>
> at
>
org.apache.cactus.AbstractWebTestCase.runGenericTest(AbstractWebTestCase.jav
> a:260)
>
> at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)
>
> at org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:195)
>
> at us.mistura.web.ActionServletTest.main(ActionServletTest.java:24)
>
>
>
> ----- Original Message -----
> From: "Joseph Milora" <joemilora@cox.net>
> To: <cactus-user@jakarta.apache.org>
> Sent: Thursday, March 06, 2003 8:43 AM
> Subject: malformed url
>
>
> Hi,
>
> I'm attempting to setup up cactus using the StrutsTestCase(I've tried with
> the servlettestcase also) and I keep receiving the following
> error message-
>
>
testAction(us.mistura.web.ActionServletTest)java.net.MalformedURLException:
> no protocol: /ServletRedirector
>
> My cactus.properties contains:
>
> cactus.contextURL=
>
> http://@host@:@port@/@web.context@   (correct information is being
> generated)
>
> cactus.servletRedirectorName = ServletRedirector
>
> cactus.jspRedirectorName = JspRedirector
>
>
>
> Can someone tell me what I'm missing?
>
> thanks,
>
> Joe Milora
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>


Mime
View raw message