Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Sybase J2EEStore - java.io.IOException: JZ0I9: This InputStream was closed

    1 answers - 1163 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    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:
    Method: private IException copyRange(InputStream
    istream,SStream ostream)
    Line: len = istream.read(buffer);
    Exception: java.io.IException: JZ0I9: This InputStream was closed.
    Did I miss to configure anything? I am able to see the contents in the
    VERSIN_CNTENT 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 (AT) jakarta (DOT) apache.org
    For additional commands, e-mail: slide-user-help (AT) jakarta (DOT) apache.org
  • No.1 | | 1536 bytes | |

    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:
    Method: private IException copyRange(InputStream
    istream,SStream ostream)
    Line: len = istream.read(buffer);
    Exception: java.io.IException: JZ0I9: This InputStream was closed.

    Did I miss to configure anything? I am able to see the contents in the
    VERSIN_CNTENT 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 (AT) jakarta (DOT) apache.org
    For additional commands, e-mail: slide-user-help (AT) jakarta (DOT) apache.org
    --

    To unsubscribe, e-mail: slide-user-unsubscribe (AT) jakarta (DOT) apache.org
    For additional commands, e-mail: slide-user-help (AT) jakarta (DOT) apache.org

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


max 4000 letters.
Your nickname that display:
In order to stop the spam: 0 + 9 =
QUESTION ON "Java"

EMSDN.COM