Hi, I tried cactus-1.4.1 and last binary (5-Dec-2002).
Running cactus example TestSampleServlet via browser leads to ServletTestRunner infinite loop. Since it works for everyone I'm pretty sure I stumbled on something simple but can't figure it out. ServletTestRunner fails to stop reading data from ServletTestRedirector on second HTTP connection. Any ideas what could cause that? Is this cactus or httpclient problem? Here is trace output: [DEBUG] wire - -<< "HTTP/1.1 200 OK" [\r\n] [TRACE] HttpMethod - -enter HttpMethodBase.readResponseHeaders(HttpState,HttpConnection) [TRACE] HttpConnection - -enter HttpConnection.readLine() [DEBUG] wire - -<< "Server: Resin/2.1.6" [\r\n] [TRACE] HttpConnection - -enter HttpConnection.readLine() [DEBUG] wire - -<< "Content-Type: text/xml; charset=UTF-8" [\r\n] [TRACE] HttpConnection - -enter HttpConnection.readLine() [DEBUG] wire - -<< "Content-Length: 23" [\r\n] [TRACE] HttpConnection - -enter HttpConnection.readLine() [DEBUG] wire - -<< "Date: Fri, 06 Dec 2002 14:50:37 GMT" [\r\n] [TRACE] HttpConnection - -enter HttpConnection.readLine() [TRACE] HttpMethod - -enter HttpMethodBase.processResponseHeaders(HttpState, HttpConnection) [TRACE] GetMethod - -enter GetMethod.readResponseBody(HttpState, HttpConnection) [TRACE] HttpMethod - -enter HttpMethodBase.readResponseBody(HttpState, HttpConnection) [TRACE] HttpMethod - -enter HttpMethodBase.readResponseBody(HttpState, HttpConnection) [TRACE] HttpConnection - -enter HttpConnection.getRequestOutputStream(HttpMethod) [TRACE] HttpMethod - -enter writeRemainingRequestBody(HttpState, HttpConnection) [DEBUG] HttpClientConnectionHelper - ->connect = [org.apache.cactus.util.HttpURLConnection:http://localhost:8080/test/ServletRedirector?Cactus_Service=GET_RESULTS] [TRACE] GetMethod - -enter GetMethod.getResponseBodyAsStream() [DEBUG] IoUtil - -<getText([org.apache.commons.httpclient.ContentLengthInputStream@6d0040], [UTF-8]) [DEBUG] wire - -<< <webresult></webresult> [DEBUG] wire - -<< [DEBUG] wire - -<< [DEBUG] wire - -<< ... those "wire - -<<" are endless... -- Max Kutny -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
