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:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to