Hi, I am using Cactus1.4.1, Struts 1.1b2 and Strutstest1.8. In my test cases, if I call either the method verifyForward() or the mthod verifyForwardPath() after actionPerform(), I got the org.apache.cactus.util.ChainedRuntimeException althout the response page is received.
Any idear what is wrong? Thanks Qingxian The trace of the exception at the client side is as follows: 1) testViewActivatedComponents(com.systemsunion.framework.tools.web.deployer.ac tion.CactusTest_DeployActions) 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 : [ <html lang="en"> <head> <title>No Component Found</title> <link rel="stylesheet" href="../stylesheets/deployer_style_ie.css" type="text/css"> <base href="http://localhost:8080/evodeployer/layouts/root_layout.jsp"> </head> <body> <!-- ============================================================ --> <!-- Begin topBanner --> <!-- ============================================================ --> <table background='../images/top.gif' width='700' height='75' border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td> <pre><h1>Evolution</h1></pre> <div align="right"> <pre><a href="http://rdsspr2k/evoweb/" title="Go to the Evolution Web site">http://evolution.systemsunion.com</a> </pre> </div> </td> </tr> </table> <!-- ============================================================ --> <!-- End topBanner --> <!-- ============================================================ --> <!-- Begin lowerBanner --> <!-- ============================================================ --> <table background='../images/top1.gif' width='700' height='13' border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td> <img src="/evodeployer/images/pixel.gif;jsessionid=00FFEA3EF798CBE89DCAFFD2CA70D7 5E" height="1" width="1"> </td> </tr> </table> <!-- ============================================================ --> <!-- End lowerBanner --> <!-- ============================================================ --> <!-- Begin body content --> <br> <br> <br> <br> <CENTER> <b>No component found from the deployer. <a href="/evodeployer/secure/main. jsp;jsessionid=00FFEA3EF798CBE89DCAFFD2CA70D75E" title="Back to deploy tool main page">Back to main page</a>.</b> </CENTER> <br> <br> <br> <!-- End body content --> <!-- ============================================================ --> <!-- Begin footer --> <br> <table width="700" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td rowspan="2" width="65"> <div align="left"> <font size="2" face="Arial, Helvetica, sans-serif" color="#3333FF"> <img src="/evodeployer/images/logo.gif;jsessionid=00FFEA3EF798CBE89DCAFFD2CA70D75 E" height="58" width="60" alt="Systems Union"> </font> </div> </td> <td width="635"> <font size="2" face="Arial, Helvetica, sans-serif"> Copyright 2002 Systems Union Plc. All Rights Reserved </font> </td> </tr> <tr> <td width="635"> <font size="2" face="Arial, Helvetica, sans-serif">Browse our <a href="http://rdsspr2k/evoforums/" title="R&D Evolution Developers Forums"><font color="#0000FF">: <font color="#006699">R&D Evolution Developers Forums</font></font></a> with questions or comments. <br> Websites:<a href="http://rdsspr2k/evoweb/" title="Go to the Evolution Web site"><font color="#006699">http://evolution.systemsunion.com</font></a> <font color="#3333FF"><br> </font> </td> </tr> </table> <!-- End footer --> </body> </html> ] at org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest(AbstractHttpCli ent.java;org/apache/cactus/util/log/LogAspect.aj(1k):120) at org.apache.cactus.client.AbstractHttpClient.around2_doTest(AbstractHttpClien t.java;org/apache/cactus/util/log/LogAspect.aj(1k):1236) at org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;o rg/apache/cactus/util/log/LogAspect.aj(1k):104) at org.apache.cactus.AbstractWebTestCase.runGenericTest(AbstractWebTestCase.jav a: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(WebTestResultPa rser.java;org/apache/cactus/util/log/LogAspect.aj(1k):140) at org.apache.cactus.client.WebTestResultParser.dispatch29_parse(WebTestResultP arser.java;org/apache/cactus/util/log/LogAspect.aj(1k):101) at org.apache.cactus.client.WebTestResultParser.around29_parse(WebTestResultPar ser.java;org/apache/cactus/util/log/LogAspect.aj(1k):1236) at org.apache.cactus.client.WebTestResultParser.parse(WebTestResultParser.java; org/apache/cactus/util/log/LogAspect.aj(1k):96) at org.apache.cactus.client.AbstractHttpClient.callGetResult(AbstractHttpClient .java;org/apache/cactus/util/log/LogAspect.aj(1k):230) at org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest(AbstractHttpCli ent.java;org/apache/cactus/util/log/LogAspect.aj(1k):114) at org.apache.cactus.client.AbstractHttpClient.around2_doTest(AbstractHttpClien t.java;org/apache/cactus/util/log/LogAspect.aj(1k):1236) at org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;o rg/apache/cactus/util/log/LogAspect.aj(1k):104) at org.apache.cactus.AbstractWebTestCase.runGenericTest(AbstractWebTestCase.jav a:260) at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133) at org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:195 This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Please notify the sender by e-mail or telephone. We utilise an anti-virus system and therefore any files sent via e-mail will have been checked for known viruses. You are however advised to run your own virus check before opening any attachments received as we will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received. Any views expressed by an individual within this e-mail do not necessarily reflect the views of Systems Union Group plc or any of its subsidiary companies. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
