You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by "Murugesan Pakkirisamy, Leninbabu [CIB-IT]" <le...@citigroup.com> on 2006/09/15 21:06:04 UTC

Sybase J2EEStore - java.io.IOException: JZ0I9: This InputStream was closed

Hi,

We are planning to use Slide in our new project. I have successfully
installed Slide and made it work with fileStore. But I am facing a
problem when I try to use it with Sybase database. Folder creation and
file uploads are executing fine without any problem. I am also able to
navigate around the folders and see the files. But I am unable to view
the contents of the files. It gives error even for simple .txt file. 

When I debugged the code using Eclipse, I noticed that it is throwing
exception at the below location

Class: org.apache.slide.webdav.method.GetMethod
Method: private IOException copyRange(InputStream
istream,ServletOutputStream ostream)
Line: len = istream.read(buffer);
Exception: java.io.IOException: JZ0I9: This InputStream was closed.

Did I miss to configure anything? I am able to see the contents in the
VERSION_CONTENT table. I don't know why the JDBCAwareInputStream is
getting closed.

Any help will be appreciated.

Thanks
Babu


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Sybase J2EEStore - java.io.IOException: JZ0I9: This InputStream was closed

Posted by Rakesh Saha <ra...@oracle.com>.
Just check if you are closing the jdbc conection as part any 
usertransaction commit or similar.

HTH.

Thanks,
Rakesh

Murugesan Pakkirisamy, Leninbabu [CIB-IT] wrote:
> Hi,
>
> We are planning to use Slide in our new project. I have successfully
> installed Slide and made it work with fileStore. But I am facing a
> problem when I try to use it with Sybase database. Folder creation and
> file uploads are executing fine without any problem. I am also able to
> navigate around the folders and see the files. But I am unable to view
> the contents of the files. It gives error even for simple .txt file. 
>
> When I debugged the code using Eclipse, I noticed that it is throwing
> exception at the below location
>
> Class: org.apache.slide.webdav.method.GetMethod
> Method: private IOException copyRange(InputStream
> istream,ServletOutputStream ostream)
> Line: len = istream.read(buffer);
> Exception: java.io.IOException: JZ0I9: This InputStream was closed.
>
> Did I miss to configure anything? I am able to see the contents in the
> VERSION_CONTENT table. I don't know why the JDBCAwareInputStream is
> getting closed.
>
> Any help will be appreciated.
>
> Thanks
> Babu
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org