Hi Vidya, As you mentioned, I believe it is some setup issue. In any case, the server side returned a 500 error code to the client side, which is wrong.
The first thing to do is to read the FAQ which has an entry for this. Then, you can try to deploy your cactified webapp to your server, start the server, open a browser and type the following: http://server:port/yourcontext/ServletRedirector?Cactus_Service=RUN_TEST It should yield a blank page. If it gives any error, it means the Cactus Servlet redirector is not correctly configured. Thanks -Vincent > -----Original Message----- > From: vidya ram [mailto:[EMAIL PROTECTED] > Sent: 07 August 2003 16:17 > To: [EMAIL PROTECTED] > Subject: Server side results are not passed to client side > > Hi, > > When a bunch of cactus tests are run as part of regression testing in Unix > machines, > I get the following output from junit..I'm not sure if I'm missing some > configuration issue. > > Please help.. > thanks > Vidya > > -------------------------------------- > Failed to get the test results. This is probably due to an error that > happened on the server side when trying to execute the tests. Here is what > was returned by the server : [<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 > Draft//EN"> <HTML> <HEAD> <TITLE>Error 500--Internal Server Error</TITLE> > <META NAME="GENERATOR" CONTENT="WebLogic htmlKona WebLogic Temporary Patch > for CR092501 12/09/2002 11:16:22"> </HEAD> <BODY bgcolor="white"> <FONT > FACE=Helvetica><BR CLEAR=all> <TABLE border=0 cellspacing=5><TR><TD><BR > CLEAR=all> <FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error > 500--Internal Server Error</H2> </FONT></TD></TR> </TABLE> <TABLE border=0 > width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% > BGCOLOR=white><FONT > FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 > <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3> </FONT><FONT > FACE="Helvetica" SIZE="3"><H4>10.5.1 500 Internal Server Error</H4> > </FONT><P><FONT FACE="Courier New">The server encountered an unexpected > condition which prevented it from fulfilling the request.</FONT></P> > </FONT></TD></TR> </TABLE> </BODY> </HTML> ] > > org.apache.cactus.util.ChainedRuntimeException: Failed to get the test > results. This is probably due to an error that happened on the server side > when trying to execute the tests. Here is what was returned by the server > : > [<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN"> > <HTML> > <HEAD> > <TITLE>Error 500--Internal Server Error</TITLE> > <META NAME="GENERATOR" CONTENT="WebLogic htmlKona WebLogic Temporary Patch > for CR092501 12/09/2002 11:16:22"> > </HEAD> > <BODY bgcolor="white"> > <FONT FACE=Helvetica><BR CLEAR=all> > <TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all> > <FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 500--Internal > Server > Error</H2> > </FONT></TD></TR> > </TABLE> > <TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% > BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" > SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- > HTTP/1.1</i>:</H3> > </FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.5.1 500 Internal Server > Error</H4> > </FONT><P><FONT FACE="Courier New">The server encountered an unexpected > condition which prevented it from fulfilling the request.</FONT></P> > </FONT></TD></TR> > </TABLE> > > </BODY> > </HTML> > ] > at > org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest(AbstractHtt pC > lient.java;org/apache/cactus/util/log/LogAspect.aj(1k):120) > at > org.apache.cactus.client.AbstractHttpClient.around2_doTest(AbstractHttpC li > ent.java;org/apache/cactus/util/log/LogAspect.aj(1k):1236) > at > org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.ja va > ;org/apache/cactus/util/log/LogAspect.aj(1k):104) > at > org.apache.cactus.AbstractWebTestCase.runGenericTest(AbstractWebTestCase .j > ava:260) > at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133) > at org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:195) > org.apache.cactus.client.ParsingException: Not a valid response > at > org.apache.cactus.client.WebTestResultParser.readRootElement(WebTestResu lt > Parser.java;org/apache/cactus/util/log/LogAspect.aj(1k):140) > at org.apache.cactus.client.WebTestResultParser.dispatch29_parse > > _________________________________________________________________ > Tired of spam? Get advanced junk mail protection with MSN 8. > http://join.msn.com/?page=features/junkmail > > > --------------------------------------------------------------------- > 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]
