I'm having trouble running the tests_tomcat_40 suite in the sample directory.
testStatusCode tests fails as follows.  Thanks, Curt

    [junit] Testcase: testStatusCode took 0.031 sec
    [junit]     Caused an ERROR
    [junit] Server returned HTTP response code: 401 for URL: 
http://localhost:8180/test/ServletRedirector/
    [junit] java.io.IOException: Server returned HTTP response code: 401 for 
URL: http://localhost:8180/test/ServletRedirector/
    [junit]     at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:693)
    [junit]     at 
org.apache.cactus.client.AutoReadHttpURLConnection.getInputStream(AutoReadHttpURLConnection.java:127)
    [junit]     at 
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java:136)
    [junit]     at 
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:422)
    [junit]     at 
org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130)
    [junit]     at 
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:371)     
[junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at 
junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:131)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409)
    [junit]
 
stop_tomcat_40:
     [java] Stopping service Tomcat-Standalone
     [java] HttpConnector[8180] Stopping background thread
     [java] StandardHost[localhost]: Removing web application at context path 
/test
[runservertests] Server stopped !
 
BUILD FAILED
 
/home/curt/jakarta-cactus-23-1.2/sample/build/build.xml:376: Test 
org.apache.cactus.TestAll failed
 
Total time: 22 seconds

Reply via email to