Yep, I know exactly what the problem is ! :-) (Reason being I had
exactly the same error about 3 weeks ago ...).

The answer is simple : you're not using a valid test URL in your
runservertests task. The correct one is :

http://localhost:8080/cactus/ServletRedirector?Cactus_Service=RUN_TEST

See FAQ : http://jakarta.apache.org/cactus/faq.html#faq5 :-)

P.S.: Even with lynx I'm sure you're getting a 40x error, which means
the URL is not correct.

Note: This URL only works with Cactus 1.3. Otherwise with Cactus 1.2 you
need to put a URL that points to a resource within your webapp (JSP,
Servlet, etc).

-Vincent

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 23 April 2002 19:45
> To: Cactus Mailing List
> Subject: Runs on Linux but nor on Solaris :-(
> 
> Hi,
> 
> After getting cactus to work on my development machine, I tried it on
our
> server which is a Solaris machine. The setup is the same but when I
> execute
> the tests, once the server is running, I get these errors:
> 
> [runservertests] Checking if server is up ...
> [runservertests] ... got error : http://localhost:8080/cactus
> [runservertests] Checking if server is up ...
> [runservertests] ... got error : http://localhost:8080/cactus
> [runservertests] Checking if server is up ...
> [runservertests] ... got error : http://localhost:8080/cactus
> 
> Any idea what problem this is? I can access the URL correctly from the
> machine using lynx correclty. However, inside ant, this doesn't work.
It
> recognizes that the server is up, but doesn't connect and I'm not sure
> why.
> 
> Thanks,
> 
> L
> 
> --
> Laurent Duperval <mailto:[EMAIL PROTECTED]>
> 
> GINSBERG'S THEOREM
>     1) You can't win.
>     2) You can't break even.
>     3) You can't even quit the game.
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:cactus-user-
> [EMAIL PROTECTED]>



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

Reply via email to