jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pranas Baliuka" <pranas.bali...@danet.lt>
Subject java.net.SocketException & The XML page cannot be displayed (HTTP disabled)
Date Tue, 03 Jun 2003 15:09:27 GMT
Hello,

I am very new user of cactus.
I tried to use Cactus jakarta-cactus-13-1.4b1 to test servlets in Jetty
(integrated with Jboss3.0.2)

I. java.net.SocketException for (https://.../ServletTestRunner?suite=XXX):

<?xml version="1.0" encoding="UTF-8" ?>
- <testsuites>
- <testsuite name="lt.danet.ubp.alarm.action.TestListAlarmsCommand"
tests="1" failures="0" errors="1" time="0,44">
- <testcase name="testExec" time="0,34">
  <error message="Connection reset"
type="java.net.SocketException">java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168) at
java.net.SocketInputStream.read(SocketInputStream.java:182) at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:52
0) at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.j
ava:1001) at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.jav
a:969) at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:491
) at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:316)
at
org.apache.cactus.client.HttpClientConnectionHelper.dispatch24_connect(HttpC
lientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):163
) at
...
  </testcase>
  </testsuite>
  </testsuites>

II. Atempt applying with XSL (https://.../&xsl=junit-noframes.xsl). I think
it is bug.

Is it possible to use only HTTPS requests to invoke tests?

Ideas, comments, suggestions!

Thanks,
Pranas Baliuka


Mime
View raw message