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

Configuring the WmJDBCAdapter for Oracle 817

  • 1.  Configuring the WmJDBCAdapter for Oracle 817

    Posted Tue November 19, 2002 11:09 AM

    Hi,
    I am trying to configure the connection type (Oracle) on the Adapters > JDBCAdapter > Configure Connection Type screen in the IS Administrator. I am putting for the DataSource class “oracle.jdbc.pool.OracleDataSource” as suggested in the Help screen and the User guide. I am using the Oracle JDBC driver
    contained in classes12.zip which I put on to the jars directory on the IS. The driver is loaded as I manage to configure
    the database alias and test the connection (although this uses a different connection mentod). The connection is not created
    and when I look in the server log I see the following:

    2002-11-18 19:34:26 GMT wm.art.admin.connection:createResource com.wm.pkg.art.error.DetailedServiceException: [ART.118.5011] Adapter Runtime (Connection): Unable to create new connection Database:IopDbsCom. Stack trace data … ec305bc60d648982f163bd7c66 NULL ec305bc60d648982f163bd7c66
    2002-11-18 19:34:26 GMT wm.art.admin.connection:createResource [ART.118.5011] Adapter Runtime (Connection): Unable to create new connection Database:IopDbsCom. Stack trace data … ec305bc60d648982f163bd7c66 NULL ec305bc60d648982f163bd7c66
    2002-11-18 19:34:26 GMT wm.art.admin.connection:createResource [ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager. Stack trace data … ec305bc60d648982f163bd7c66 NULL ec305bc60d648982f163bd7c66
    2002-11-18 19:34:26 GMT wm.art.admin.connection:createResource [ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager. Stack trace data … ec305bc60d648982f163bd7c66 NULL ec305bc60d648982f163bd7c66
    2002-11-18 19:34:25 GMT wm.art.admin.connection:createResource [ADA.001.204] Cannot connect to the database with DataSource class “oracle.jdbc.pool.OracleDataSource”. Stack trace data … ec305bc60d648982f163bd7c66 NULL ec305bc60d648982f163bd7c66
    2002-11-18 19:34:25 GMT wm.art.admin.connection:createResource [wm-cjdbc30][Oracle JDBC Driver]Unable to connect. Invalid URL. Stack trace data … ec305bc60d648982f163bd7c66 NULL ec305bc60d648982f163bd7c66
    2002-11-18 19:34:25 GMT Database:IopDbsCom [ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager. Stack trace data … ec305bc60d648982f163bd7c66 NULL ec305bc60d648982f163bd7c66
    2002-11-18 19:34:24 GMT Database:IopDbsCom [ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager. Stack trace data … ec305bc60d648982f163bd7c66 NULL ec305bc60d648982f163bd7c66
    2002-11-18 19:34:24 GMT Database:IopDbsCom [ADA.001.204] Cannot connect to the database with DataSource class “oracle.jdbc.pool.OracleDataSource”. Stack trace data … ec305bc60d648982f163bd7c66 NULL ec305bc60d648982f163bd7c66
    2002-11-18 19:34:24 GMT Database:IopDbsCom [wm-cjdbc30][Oracle JDBC Driver]Unable to connect. Invalid URL. Stack trace data … ec305bc60d648982f163bd7c66 NULL ec305bc60d648982f163bd7c66
    2002-11-18 19:30:15 GMT

    I am putting standard things (name of the DB host, name of the DB and 1521 port) and drivetType=thin.
    I am missing obviously something.


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


  • 2.  RE: Configuring the WmJDBCAdapter for Oracle 817

    Posted Tue November 19, 2002 01:08 PM

    From the looks of this error, your database URL is not formatted properly. Also, I would recommend that you use a different driver, considering you already have an Oracle 8.1.7 client installed on your locl machine.

    Try the following settings:

      []Database URL: jdbc:oracle:thin:@localhost:port:DB Name []Database Username: username []Database Password: password []Database Driver: oracle.jdbc.driver.OracleDriver
      [/list]

      You also may want to review the thread at [url=“wmusers.com”]wmusers.com for additional pointers.

      Good luck.


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


  • 3.  RE: Configuring the WmJDBCAdapter for Oracle 817

    Posted Wed February 05, 2003 05:18 PM

    Thanks a lot for above answers, it is very helpful and the problem is solved. However, I’ve got new questions.
    Now I want to pass on the results returned by db.execSQL, my understanding is, I need to convert the com.wm.util.Table object results to a String list. From the ISBuiltInService guide, it seems the way to do this is to call pub.table:tableToStringTable service. This package is deprecated and I can’t find it in my installation. Can I download this package somewhere? Or is there any reference about com.wm.util.Table, so I can write a java service myself to do the data conversion?
    Many thanks for all the help.


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


  • 4.  RE: Configuring the WmJDBCAdapter for Oracle 817

    Posted Wed February 05, 2003 05:22 PM

    Hi, Min Li.

    Here is a thread that discusses this exact problem.

    [url=“wmusers.com”]wmusers.com

    Glad you are finding the answers you need…


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