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.


#TechXchangePresenter
 View Only
  • 1.  no ocijdbc9 in java.library.path

    Posted Mon December 03, 2007 12:28 AM

    One of our wM Java service connecting to our lookup database is failing with the error “java.lang.reflect.InvocationTargetException:Link Error: no ocijdbc9 in java.library.path”.

    We have this jar file in \IntegrationServer\lib\jars\ojdbc14.jar
    as well the jar file is in effective of server classpath.

    Any help on this issue will be great for us.


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


  • 2.  RE: no ocijdbc9 in java.library.path

    Posted Mon December 03, 2007 02:40 AM

    Not sure why your java service is accessing a database resource directly, but the error is related to attempting to connect to Oracle using the OCI protocol when your IS does not have access to the OCI drivers. The WM JDBC Adapter User’s Guide covers configuring IS properly so that the JDBC adapter can use the OCI protocol. This may be helpful to you in having your java service use OCI.

    However, you should probably re-think having java service connect to database resources directly.

    Mark


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


  • 3.  RE: no ocijdbc9 in java.library.path

    Posted Mon December 03, 2007 05:52 PM

    i think you have missed some of the Required Connection Property fileds that are required when connecting with Oracle OCI drivers,please have a look more on Connection Properties and Installing the JDBC Driver on the Integration Server can get from JDBC Adapters User’s Guide.
    Thanks
    Gouse.


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


  • 4.  RE: no ocijdbc9 in java.library.path

    Posted Mon December 03, 2007 05:54 PM

    Your answer would be on the mark if they were using the JDBC adapter which they apparently are not.


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


  • 5.  RE: no ocijdbc9 in java.library.path

    Posted Mon December 03, 2007 09:48 PM

    What version of JDBC Adapter are you using…if its JDBC 6.5 as it supports BLOBS/CLOBS you can change the driver type to thin and test it should work…


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


  • 6.  RE: no ocijdbc9 in java.library.path

    Posted Mon December 03, 2007 10:28 PM

    If you take this statement at face value, they are not using the JDBC adapter.


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