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 a JDBC Connection to oracle

  • 1.  Configuring a JDBC Connection to oracle

    Posted Sun February 01, 2009 08:54 AM

    Hi,

    I was trying to make a JDBC connection to Oracle.The following is error is thrown when I try to enable it.

    [ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource OmSaiRam.adapterConnections:testing.
    [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

    I have included the a)classes12.zip b)ojdbc14.jar in the IS\lib\jars c)I have j2sdk1.4.2_05 and have set the environment variables.

    The following are the details I have entered
    serverName :systest
    user* :scott
    databaseName : ORCL
    portNumber : 2030 ( This was the port it showed when I was installing oracle)
    networkProtocol :tcp

    Please let me know if anything else is needed.


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


  • 2.  RE: Configuring a JDBC Connection to oracle

    Posted Wed February 04, 2009 01:07 PM

    Hi Teja,

          Am just giving you the brief description about setting up Oracle Connection.
    Please have a look at this and follow this : 
    

    I just configured for Oracle Thin Driver.

    i) Select the package Name , folder name and give the Connection Name.
    ii) Select Transaction Type as No_TRANSACTION or LOCAL_TRANSACTION
    iii) Give the DataSource Class as : oracle.jdbc.pool.OracleDataSource
    iv) serverName : localhost (give your host)
    v) user : scott
    vi) password : tiger
    vii) databaseName : ORCL(The SID value which you had given while installing ORACLE)
    viii) portNumber : 1521 (which is default for ORACLE)
    ix) networkProtocol : tcp
    x) Other Properties : driverType = thin

     And then Click Save Connection button.
    
    You will get the Error which you mentioned and to get rid of this,make sure that     
    you copy classes12.jar into the IS\lib\jars folder and restart the server.
    Then definitely you would be able to configure the connection.
    

    Further any issues please post here.

    Thanks & Regards,
    Sudheer Martha.


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


  • 3.  RE: Configuring a JDBC Connection to oracle

    Posted Mon February 09, 2009 10:32 PM

    If you are using jvm 1.4 or great, use ojdbc14.jar instead of classes12.zip.
    ojdbc14.jar — here 14 refers to the jvm version 1.4
    same as classes12.zip ---- 12 refers to jvm version 1.2


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