tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ritwick Dhar <ritwic...@EASTPOINT.COM>
Subject HANDLER THREAD PROBLEM: Stream closed prematurely
Date Fri, 24 Nov 2000 16:35:15 GMT

This problem is driving me nuts. I've tried debugging this, but nothing yet.
I was hoping someone on this list will have come accross this before.

Case: I have a servlet (server) that accepts POST requests (content-type=
application/x-ofx), and sends back a OFX response. I have another servlet
(client), that opens a URL to the server, writes the request, and reads the
reponse. Simple.

The problem is, the moment the client tries to call
'urlConn.getInputStream()' to get an inputstream from the server, I get this
(on the server console):

HANDLER THREAD PROBLEM: Stream closed prematurely Stream closed prematurely
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        at<init>(Compiled Code)
iled Code)
(Compiled Code)
        at Code)
        at Code)

What's really driving me up the wall is that this works perfectly fine with
Both WebSphere and JRun. Is this something particular to Tomcat??

Thanks for all help


View raw message