Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2003
    Posts
    2

    Unanswered: Problems by connect by java

    Hello,
    im developing in WSAD 5.2 and it uses the jdbc driver COM.ibm.db2.jdbc.app.DB2Driver and i also tried it with the COM.ibm.db2.jdbc.net.DB2Driver.

    By running the code:
    Connection connection = ConnectionPoolHelper.getConnectionPoolHelper().get Connection();


    An exception occured:
    [01.09.03 16:12:34:663 CEST] fb298d7 ConnectionFac I J2CA0122I: Die Ressourcenreferenz jdbc/db2 wurde nicht gefunden. Deshalb werden die folgenden Standardwerte verwendet: [Resource-ref settings]

    res-auth: 1 (APPLICATION)
    res-isolation-level: 0 (TRANSACTION_NONE)
    res-sharing-scope: true (SHAREABLE)
    res-resolution-control: 999 (undefined)
    [Other attributes]

    isCMP1_x: false (not CMP1.x)
    isJMS: false (not JMS)

    [01.09.03 16:12:35:710 CEST] fb298d7 StaleConnecti A CONM7007I: Folgende SQLException mit ErrorCode -99'999 und SQLState 08S01 wird einer StaleConnectionException zugeordnet: COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC-Treiber] CLI0616E Fehler beim Öffnen des Socket. SQLSTATE=08S01
    at COM.ibm.db2.jdbc.net.SQLExceptionGenerator.socketE xception(Unknown Source)
    at COM.ibm.db2.jdbc.net.DB2Connection.create(Unknown Source)
    at COM.ibm.db2.jdbc.net.DB2Connection.<init>(Unknown Source)


    Thanks...

  2. #2
    Join Date
    Feb 2002
    Location
    Germany
    Posts
    141
    I've got this error when "db2jstrt" wasn't started. Check it with "netstat -a".
    Rodney Krick

Posting Permissions

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