Sybase J2EEStore - java.io.IOException: JZ0I9: This InputStream was closed
"Murugesan Pakkirisamy, Leninbabu [CIB-IT]" <[email protected]>
| Newsgroups | gmane.comp.jakarta.slide.user |
|---|---|
| Message-ID | <[email protected]> |
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