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.  The problem on using the wmDB Alias

    Posted Wed April 28, 2004 04:41 AM

    hi Experts,

    I want to use the wmDB Alias to connect Oracle database, but when I try to submit the service of the wmDB ,I get the follow errors:

    Could not connect: [wm-cjdbc33-0009][Oracle JDBC Driver]This driver is locked for use with embedded applications.

    How can I fix it,

    Thanks in advance.

    xisheng.


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


  • 2.  RE: The problem on using the wmDB Alias

    Posted Wed April 28, 2004 04:24 PM

    You can’t fix this, the Connect JDBC Driver can only be used for internal webMethods apps and not for WmDB. You will need to use the classes12.zip from Oracle.

    -Jordy


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


  • 3.  RE: The problem on using the wmDB Alias

    Posted Wed April 28, 2004 07:59 PM

    More specifically, copy the classes12.zip to the <is_install_dir>\lib\jars folder and restart the server.

    Set the “DB Driver” parameter in the WmDb alias to “oracle.jdbc.driver.OracleDriver”.

    HTH,

    Mark


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


  • 4.  RE: The problem on using the wmDB Alias

    Posted Thu April 29, 2004 02:18 AM

    Experts,

    the follows are my wmDB alias information:

    Alias CustomErrDB
    DB URL jdbc:wm:oracle://localhost:1521;SID=orchid
    DB Username userid
    DB Password *******
    DB Driver oracle.jdbc.driver.OracleDriver
    Minimum Connections 1
    Maximum Connections 5
    Expiration Time (ms) 1000
    Loaded Drivers <none>

    and the classes12.zip have been add into the <is_install_dir>\lib\jars folder, but it still not work and same error display.

    Xisheng.


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


  • 5.  RE: The problem on using the wmDB Alias

    Posted Thu April 29, 2004 02:51 AM

    try changing your DB URL to jdbc:oracle:thin://localhost:1521:orchid


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


  • 6.  RE: The problem on using the wmDB Alias

    Posted Thu April 29, 2004 03:12 AM

    Jordy is correct.
    The JDBC drivers supplied are licensed to only work with the wm internal apps. I ran into the same problem with SQL server driver and Tech support told me the same thing. I had to download the driver from Microsoft.


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


  • 7.  RE: The problem on using the wmDB Alias

    Posted Thu April 29, 2004 10:38 AM

    Try using:

    Alias CustomErrDB
    DB URL jdbc:oracle:thin:@localhost:1521:orchid
    DB Username userid
    DB Password *******
    DB Driver oracle.jdbc.driver.OracleDriver
    Minimum Connections 1
    Maximum Connections 5
    Expiration Time (ms) 1000
    Loaded Drivers <none>

    -Jordy


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