Hi Nicolas,

> -----Original Message-----
> From: Nicolas Chalumeau [mailto:[EMAIL PROTECTED]
> Sent: mercredi 22 d�cembre 2004 23:26
> To: Cactus Developers List
> Subject: cargo integration : problem with getting results
> 
> First I don't know if it is a cargo user or a cactus dev question !
> 
> I try to make cargo integration work (for tomcat5x as I don't have
> other server). Test are launch but result are not get as the "Failed
> to get the test results at
> [http://localhost:8080/cactus-sample-servlet-
> cactified/ServletRedirectorSecure"
> say.

Just one warning: Support for authentication is only available with the
Cargo version that is in SVN (0.5).

> 
> Do you have any idea about this type of error ?

Yes, just look at the stack trace below :-)

[snip]

>     [junit] org.apache.cactus.util.ChainedRuntimeException: Failed to
> get the test results at [http://localhost:8080/cactus-s
> ample-servlet-cactified/ServletRedirectorSecure]

[snip]

>     [junit] org.apache.cactus.internal.client.ParsingException: Not a
> valid response [401 Non-Autoris?]

[snip]

This means that the container has not authorized your request. This is
probably because the user you use has not been registered. This is the
feature that exists in Cargo 0.5. Actually Cactus is the reason I've
recently added support for authorization in Cargo 0.5.

Do you have it working for all the other Cactus test cases (i.e. excluding
the one requiring authorization)?

Thanks
-Vincent


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

Reply via email to