missing cactus property for debugging

Hello all,

Trying to debug a 'cactus' test we receive the following runtime exception:

=====================
org.apache.cactus.util.ChainedRuntimeException: Missing Cactus property
at org.apache.cactus.internal.configuration.BaseConfiguration.getContextURL(BaseConfiguration.java:59)
at org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirectorURL_aroundBody0(AbstractWebConfiguration.java:46)
at org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirectorURL_aroundBody1$advice(AbstractWebConfiguration.java:188)
at org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirectorURL(AbstractWebConfiguration.java)
at org.apache.cactus.internal.client.connector.http.DefaultHttpClient.callRunTest(DefaultHttpClient.java:159)
at org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:80)
at org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:188)
at org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java)
at org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runWebTest(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:188)
at org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest(HttpProtocolHandler.java)
at org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTestCaseCaller.java:144)
at org.apache.cactus.internal.AbstractCactusTestCase.runBareClient(AbstractCactusTestCase.java:215)
at org.apache.cactus.internal.AbstractCactusTestCase.runBare(AbstractCactusTestCase.java:133)
at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)


Process finished with exit code -1
======================================

We know what the property's value should be.
Where do we set it so that Intellij will collect it on cactus execution.

thank you,

Rami

3 comments
Comment actions Permalink

Rami wrote:

We know what the property's value should be.
Where do we set it so that Intellij will collect it on cactus execution.


What do you mean "collect it"?

0
Comment actions Permalink

I think what you want is to add a VM parameter to your JUnit Run/Debug
configuration. Are you trying to add the contextURL?

"Keith Lea" <keith@cs.oswego.edu> wrote in message
news:dct8li$k7v$3@is.intellij.net...

Rami wrote:

>> We know what the property's value should be.
>> Where do we set it so that Intellij will collect it on cactus execution.
>

What do you mean "collect it"?



0
Comment actions Permalink

thank you,

We were just missing a directory in the paths setting of cactus.

0

Please sign in to leave a comment.