dev@glassfish.java.net

Re: java.io.IOException: Stream closed

From: Jerome Dochez <jerome.dochez_at_Oracle.COM>
Date: Thu, 2 Sep 2010 11:08:07 -0700

I do. do you have a way to reproduce this ?

On Sep 2, 2010, at 10:59 AM, Hong Zhang wrote:

> Hi,
> Several people including me noticed this Stream closed exception recently on different occasions:
>
> For example, during running embedded tests of the build (build distribution/web module):
> WARNING: Caught unexpected exception
> java.io.IOException: Stream closed
> at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:134)
> at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
> at java.io.FilterInputStream.read(FilterInputStream.java:90)
> at com.sun.enterprise.util.io.FileUtils.getManagedFile(FileUtils.java:1065)
>
> During upgrade of a v2 domain to v3 domain:
> java.io.IOException: Stream closed
> at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:134)
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
> at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
> at java.nio.channels.Channels$ReadableByteChannelImpl.read(Channels.java:200)
> at com.sun.enterprise.util.io.FileUtils.copy(FileUtils.java:910)
>
> Anybody has any idea why this would happen?
>
> Thanks,
>
> - Hong
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>