> -----Original Message-----
> From: sam smith [mailto:[EMAIL PROTECTED]
> Sent: 08 November 2003 00:08
> To: [EMAIL PROTECTED]
> Subject: still struggling with <cactus> ant task (re-post)
> 
> I'm still unable to get the cactus ant task to poll the URL I am
> specifying to determine if my server is started
> (https://fafsasundev.ic.ncs.com:8443/FOTWWebApp).  I've tried all of
the
> following:
> 
> ant -f /www/dev50/fotw/merge/f45run_ut.xml run_tests -
> Dcactus.contextURL=https://fafsasu
> ndev.ic.ncs.com:8443/FOTWWebApp

This won't work as cactus does not currently support https. Use the http
URL and it should work.

> ant -f /www/dev50/fotw/merge/f45run_ut.xml run_tests -
> Dcactus.config=/www/dev50/fotw/mer
> ge/cactus.txt

This may work. It all depends what you've put in cactus.txt

> ant -f /www/dev50/fotw/merge/f45run_ut.xml run_tests -propertyfile
> /www/dev50/fotw/merge
> /cactus.txt

What's the difference with the previous try?

You seem to be running Cactus in "manual" mode. I'd highly suggest you
read http://jakarta.apache.org/cactus/integration/ant/index.html. You
should find all your answers there. This requires Cactus 1.5 though.

> 
> I also tried setting this by placing a cactus.properties file in my
> classpath.

This should also work. But again none of this is necessary since Cactus
1.5.

> 
> All of these give me the same result:
> file:/www/dev50/fotw/merge/f45run_ut.xml:82: Failed to start the
container
> after more th
> an [120000] ms. Trying to connect to the
> [http://localhost:8080/FOTWWebApp/ServletRedirector?Cactus_
> Service=RUN_TEST] test URL yielded a [-1] error code. Please run in
debug
> mode for more details about the error.
> 
> Can anyone tell me what I am doing wrong or at least RTFM me?

It probably means that you haven't set up the cactus redirector in your
web.xml. Again, if you use Cactus 1.5 and the <cactus>/<cactifywar> ant
tasks this should be transparent.

Thanks
-Vincent


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

Reply via email to