jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anagnost, Ted" <Ted.Anagn...@uscellular.com>
Subject RE: Cactus + maven
Date Tue, 31 May 2005 21:24:26 GMT
Not sure if it will work but maybe put it in cactus.properties and make sure
that cactus.properties is in the classpath. 

-----Original Message-----
From: Flávio Silva [mailto:frsilva@gmail.com] 
Sent: Tuesday, May 31, 2005 3:05 PM
To: cactus-user@jakarta.apache.org
Subject: Cactus + maven

Hi,

I'm a new maven user and I getting the above error when run cactus tests. I
have to configure the system property 'contextURL' or the cactus (or maven)
will automatically configure it?

I've already tried set
'cactus.contextURL=http://localhost:8080/test-cactus' on my build.properties
but it didn't work.

Someone has a tutorial or a hint? Tanks,

Flávio

Missing Cactus property [cactus.contextURL]
org.apache.cactus.util.ChainedRuntimeException: Missing Cactus property
[cactus.contextURL]
	at
org.apache.cactus.internal.configuration.BaseConfiguration.getContextURL(Bas
eConfiguration.java:59)
	at
org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirec
torURL_aroundBody0(AbstractWebConfiguration.java:46)
	at
org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirec
torURL_aroundBody1$advice(AbstractWebConfiguration.java:206)
	at
org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirec
torURL(AbstractWebConfiguration.java)
	at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.callRunTe
st(DefaultHttpClient.java:159)
	at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_ar
oundBody0(DefaultHttpClient.java:80)
	at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_ar
oundBody1$advice(DefaultHttpClient.java:206)
	at
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest(De
faultHttpClient.java)
	at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runWebT
est(HttpProtocolHandler.java:159)
	at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest
_aroundBody0(HttpProtocolHandler.java:80)
	at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest
_aroundBody1$advice(HttpProtocolHandler.java:206)
	at
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest
(HttpProtocolHandler.java)
	at
org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTestCas
eCaller.java:144)
	at
org.apache.cactus.internal.AbstractCactusTestCase.runBareClient(AbstractCact
usTestCase.java:215)
	at
org.apache.cactus.internal.AbstractCactusTestCase.runBare(AbstractCactusTest
Case.java:133)

---------------------------------------------------------------------
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