IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Oracle CLOB giving error

    Posted Tue March 28, 2006 11:37 PM

    Hi,

    I’m using Oracle database (Oracle8i Enterprise Edition, 8.1.7.4.0) for Solaris.
    I’m getting the following error when trying to insert into a table with a CLOB field via a DB Adapter service. I’m using classes12.zip for JDBC driver.
    JDK is 1.4.2
    Any one has encountered this error before when trying to insert into a CLOB field?

    [ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service …
    [ADA.1.316] Cannot execute the SQL statement “INSERT INTO BLOG_NOTES(ID, AUTHOR, DATE_ENTERED, BLOG_DATA) VALUES (?, ?, ?, ?)”. “(17410) No more data to read from socket”
    No more data to read from socket

    Regards,
    WL


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards


  • 2.  RE: Oracle CLOB giving error

    Posted Wed March 29, 2006 08:06 AM

    Hi WL,

    Have you tried using ojdbc14.jar from Oracle? Would suggest to try latest version.

    also check http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Oracle CLOB giving error

    Posted Wed March 29, 2006 11:27 PM

    We have a simular problem when processing CLOB’s. We had to use drivertype=oci on the JDBC-adapter.


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Oracle CLOB giving error

    Posted Thu March 30, 2006 01:22 AM

    Hi,

    We had the same issue on JDBC Adapters and our problem was resolved by moving over to the latest version of classes12.jar/zip from Oracle.


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB


  • 5.  RE: Oracle CLOB giving error

    Posted Fri March 31, 2006 02:01 AM

    Hi,

    as stated earlier in some other similar threads on Advantage Forums,
    LOBs in Thin Driver Mode are only supported with the 10g driver versions.

    OCI Driver Mode will only work if there certain Oracle Components installed on the machine on which IS is running, as OCI is a Type 2 Driver which requires native components where as Thin is a Type 4 Driver which does not require native components.

    Remember to use the correct version of the driver jar/zip for your JDK/JRE:
    classes12.jar/zip should only be used with JDK 1.2.x/1.3.x
    ojdbc14.jar is intended for JDK 1.4.x and above.

    Regards,
    Holger


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB