Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
2 replies Latest Post - ‏2012-07-24T14:25:18Z by corjuela
SystemAdmin
SystemAdmin
5837 Posts
ACCEPTED ANSWER

Pinned topic IO exception: got minus one from a read call???

‏2008-11-19T20:40:55Z |
Hi, i want to use DB2 with Aqua Data Studio, but when i try to register new server..... the message is: IO exception: got minus one from a read call
What does it mean?! Please help me
Updated on 2012-07-24T14:25:18Z at 2012-07-24T14:25:18Z by corjuela
  • LeoPetraz
    LeoPetraz
    228 Posts
    ACCEPTED ANSWER

    Re: IO exception: got minus one from a read call???

    ‏2008-11-20T19:54:48Z  in response to SystemAdmin
    Hi lalence,

    That sounds like an Aqua issue rather than a DB2 one.

    I successfully connected to DB2 Express-C v9.x running on port 50000 of localhost with a trial of Aqua Data Studio. You may need to specify the name of an existing database before connecting.

    Regards,

    Leons Petrazickis
    db2x @ ca.ibm.com
    Download DB2
  • corjuela
    corjuela
    1 Post
    ACCEPTED ANSWER

    Re: IO exception: got minus one from a read call???

    ‏2012-07-24T14:25:18Z  in response to SystemAdmin
    I know it a little late for this but if someone get stuck in this too, the issue is generated because the database selection on Aqua is wrong. The default option is Oracle8i and when one doesn't change that to the valid DB2 option, there is an exception like this one.
    Greetings and I hope it helps someone.