webMethods

webMethods

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
Expand all | Collapse all

Configuring JDBC adapter connection

  • 1.  Configuring JDBC adapter connection

    Posted Sat September 10, 2016 12:04 PM

    I am new to webMethods. I am trying to configure my JDBC Adapter configuration. But I am unable to do it. Here is the steps I do,

    1. Go to http://tech.forums.softwareag.com:5555
    2. Adapters
    3. webMethods Adapter for JDBC
    4. Configure new connection
    5. webMethods Adapter for JDBC connection

    I fill up all the details and I enable the connection. I get the following error as soon as I enable the connection:

    Error encountered

    [ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource MyTestPackage.adapters:myTestAdapter.
    [ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager.
    [ADA.1.200] The JDBC DataSource class “oracle.jdbc.pool.OracleDataSource” cannot be located.
    oracle.jdbc.pool.OracleDataSource

    Please help.


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Configuring JDBC adapter connection

    Posted Sun September 11, 2016 02:18 PM

    Based on your oracle version, place corresponding jar file ( ojdbc14.jar or ojdbc6.jar ) under WmJDBCAdapter/code/jars location. Restart IS and check.

    Thanks,


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Configuring JDBC adapter connection

    Posted Mon September 12, 2016 04:22 PM

    Hi,

    what is your oracle server version?
    waht is your exact wM Version as well as JDBC Adpater version?

    For all wM Versions starzting with 9.x you should use latest ojdbc6.jar or ojdbc7.jar (available since Oracle 12) and place it where MR has described.
    Reloading the package should be sufficient.

    For further informations check for JDBC Adapter Documentation available from here:
    http://techcommunity.softwareag.com/ecosystem/communities/public/_communities/documentation

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Configuring JDBC adapter connection



  • 5.  RE: Configuring JDBC adapter connection

    Posted Thu September 15, 2016 02:41 PM

    Hi Subhajit,

    please make sure that you have placed an ojdbc6.jar or ojdbc7.jar under WmJDBCAdapter/code/jars/ and have reloaded the package from IS Admin UI.

    If this does not help check the Conenction configuraiton (as in web.png) for any leading or trailing spaces and remove those.

    You can try to explore the server.log for this instance as the error message might be easier to check to additional spaces there.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: Configuring JDBC adapter connection

    Posted Thu September 15, 2016 03:07 PM

    Hello Subhajit,

    Network protocol=tcp is missing.

    I would suggest you to read and understand the JDBC adapter guide before setting up JDBC connection. There is a chapter that clearly talks about this.


    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: Configuring JDBC adapter connection

    Posted Thu September 15, 2016 04:52 PM

    Error states that it is unable to locate the class. Keep the right jar as specified , reload the package.

    Thanks,


    #Integration-Server-and-ESB
    #webMethods


  • 8.  RE: Configuring JDBC adapter connection

    Posted Sat September 17, 2016 12:55 PM

    Hi,

    I did the same again as told by you all. Now, its showing a different error which I am unable to diagnose. I have attached the screenshot here.

    Thanks
    Subhajit


    #Integration-Server-and-ESB
    #webMethods


  • 9.  RE: Configuring JDBC adapter connection

    Posted Sun September 18, 2016 01:24 PM

    Either your DB listener is not up or you are not passing the correct db name. Check your configurations again.


    #Integration-Server-and-ESB
    #webMethods


  • 10.  RE: Configuring JDBC adapter connection

    Posted Mon September 19, 2016 04:53 AM

    I would request you to please use either TOAD or SQL Developer to connect to the DB server and check the connectivity.


    #Integration-Server-and-ESB
    #webMethods