jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From istho...@chennai.tcs.co.in
Subject java.io.IOException: Server returned HTTP response code: 500 for URL
Date Wed, 08 Oct 2003 13:42:33 GMT
Hi ,

I am getting the following exception while trying to run cactus test case,

Only the begin method has been executed.

I am using tomcat 4.1, HttpConnector has been configured in the server.xml for tomcat.

*******************************************************
java.io.IOException: Server returned HTTP response code: 500 for URL:
http://localhost:8080/sci/ServletRedirector?Cactus_TestMethod=testPerform&Cactus_TestClass=com.stanchart.sci.view.action.TestSystemXrefDetailAction&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST

      at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:691)

      at
sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1116)

      at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475)

      at java.net.URLConnection.getContentLength(URLConnection.java:370)

      at
org.apache.cactus.client.HttpClientHelper.dispatch22_connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):176)

      at
org.apache.cactus.client.HttpClientHelper.around22_connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):1221)

      at
org.apache.cactus.client.HttpClientHelper.connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):125)

      at
org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):188)

      at
org.apache.cactus.client.AbstractHttpClient.dispatch1_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):120)

      at
org.apache.cactus.client.AbstractHttpClient.around1_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):1221)

      at
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):115)

      at org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:457)

      at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)

      at org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:400)
************************************************************
Could you suggest where would the problem be.

I S Thomas
Standard Chartered Bank Project, C1 Block
Tata Consultancy Services
Kumaran Nagar, Old Mahabalipuram Road
Sholinganallur, Chennai, 600 119, India
Phone: EPABX + 91-44-5550 2222   Extn.2252
Direct   + 91-44-5550 2252




Mime
View raw message