jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Moseley <...@osafoundation.org>
Subject Re: "failed to spool stream to internal storage" exception
Date Fri, 18 Nov 2005 15:44:27 GMT
Stefan Guggisberg wrote:

> if you're calling prop.setValue(someInputStream) the stream is read and
> either kept in a byte[] or spooled to a temporary file, depending on its size.
> i assume that a read method of the passed input stream throws
> an IOException while it is being spooled to internal storage.

ah, that makes sense.

> "Connection reset" seems to indicate that the socket the stream
> reads from has been prematurely closed.
> looks like you have to review the shutdown sequence of your server ;)

heh, yeah. i think what must have happened is that i tried 
to shut down the server while it was under load, trying to 
store a bunch of webdav resources, and something got screwed 
up. i don't think tomcat normally shuts down its http 
connector or closes open connections before shutting down 
its webapps, but i could be mistaken.

anyway, i've only seen this error in the context of a badly 
misbehaving server that needed to be killed, so i'm not too 
worried about it. but i'm glad you were able to explain the 
error message, and i'll keep an eye on things to make sure 
this isn't a more common occurrence.


View raw message