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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

JDBC connection problem

  • 1.  JDBC connection problem

    Posted 06/07/07 11:52 PM

    hai
    I am trying to establish a JDBC connection the connection properties are
    Connection type:JDBC Adapter Conenction
    Package name :Exercise1
    transaction type: NO_TRANSACTION
    Datasource class: Oracle.jdbc.pool.oracledatasource
    Servername:cigniti1111
    user:scott
    Password:tiger
    databasename: home
    port number: 1521
    network protocol:tcp
    other properties: driver Type = thin

    The errors that i got are
    Adapter runtime connection :unable to enable connection resource r:exercise1
    Adapter runtime connection :unable to configure connection manager.
    The JDBC data source class"oracle.jdbc.pool.oracledatasource" cannot be located.

    I have already copied the classes12.zip file in the integration server\lib\jars
    and I have also unzipped the file and checked for the oracledatasource.class file and it is present.

    please help me to solve this problem.
    thanks


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


  • 2.  RE: JDBC connection problem

    Posted 06/07/07 11:59 PM

    After copying the zip file, did you restart IS?


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


  • 3.  RE: JDBC connection problem

    Posted 06/08/07 12:34 AM

    Thank you for the reply, I tried that but still it says the same thing


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


  • 4.  RE: JDBC connection problem

    Posted 06/08/07 03:21 PM

    I should have noticed this before. The error message (which I assume you copied and pasted from Administrator):

    The JDBC data source class"oracle.jdbc.pool.oracledatasource" cannot be located.

    The classname is case-sensitive and should be oracle.jdbc.pool.OracleDataSource

    Also, if you’re running a 1.4 JVM you might consider using ojdbc14.jar instead of classes12.zip (which is for a 1.2 JVM).


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


  • 5.  RE: JDBC connection problem

    Posted 06/09/07 02:35 AM


  • 6.  RE: JDBC connection problem

    Posted 06/10/07 02:36 AM

    I have tried that but still I am getting the same thing that previously used to come there is no change.please help


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


  • 7.  RE: JDBC connection problem

    Posted 06/12/07 08:58 PM

    I think Rob was on the right track. The class name for your data source is case sensitive and cannot have spaces in it - you should double check that. Often when pasting an extra space gets tacked onto the end of the class name.
    The class is loaded into the JVM at start up, so any time you put a new jar into your lib/jars folder, you must restart the IS to pick it up. And finally, to confirm you have the right class name, you could open the zip file with a zip utility and you should be able to navigate through the folder structure that matches your classname. Before doing that however, I would recommend you copy the zip file to a local directory so that you do not accidentally modify the one under your Integration Server install.


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


  • 8.  RE: JDBC connection problem

    Posted 06/14/07 11:49 AM

    Hi ,
    I m getting this error when i m creating JDBC connection…
    Can anybody help me to solve this issue??
    [ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource CUSTOMERMANAGEMENT_ANITA:JDBCConnector.
    [ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager.
    [ADA.1.204] Cannot connect to the database with DataSource class “oracle.jdbc.pool.OracleDataSource”.
    Invalid Oracle URL specified: OracleDataSource.makeURL


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


  • 9.  RE: JDBC connection problem

    Posted 06/14/07 02:27 PM

    Can you post your JDBC Adapter connection properties that you have currently in place.

    HTH,
    RMG


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


  • 10.  RE: JDBC connection problem

    Posted 06/14/07 04:32 PM

    The highlighted portion of the error message is what you’ll need to research and resolve.


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


  • 11.  RE: JDBC connection problem

    Posted 06/15/07 05:47 AM

    Hello all,

    The issue is solved… it was with driverType=thin.:slight_smile:


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


  • 12.  RE: JDBC connection problem

    Posted 06/20/07 05:50 PM

    hi to every one…
    i was also got same problem …

    now i solved my problem…
    Thanks very much to every one…


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