Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2007
    Posts
    3

    Unanswered: problem in connecting to DB2 in Windows 2003

    When I attempt to connect to DB2 running in windows server 2003 machine, I get the following error message:

    com.ibm.db2.jcc.c.DisconnectException: [ibm][db2][jcc][t4][2034][11148] Execution failed due to a distribution protocol error that caused deallocation of the conversation. A DRDA Data Stream Syntax Error was detected. Reason: 0x2110.

    What am I missing there? I used JDBC type 4 driver (driver class=com.ibm.db2.jcc.DB2Driver). Please help me to overcome this problem.

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Version mismatch between the client and the server?
    ---
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    Sep 2007
    Posts
    3
    I don't think it is a version issue. We are using DB2 Express 9.1 version.

    Client is a pure java application that uses hibernate and C3P0 to communicate with DB2. Surprisingly, a test java code using driver.connect method turns out successful. The error occurs while attempting to connect to the DB2 server using hibernate and C3P0.

    Any specific requirements or considerations to use hibernate with DB2? No difficulties with other databases like MySQL or SQLServer-2005.


    The JDBC URL used is jdbc:db2://<ip-address>:50000/<database-name>

    I am a kind of stuck. Gurus, help me.



    Quote Originally Posted by n_i
    Version mismatch between the client and the server?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •