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

JDBC Adapter Connection to SQL Server 2000

  • 1.  JDBC Adapter Connection to SQL Server 2000

    Posted Fri August 13, 2004 06:39 PM

    Hi,

    I was trying to configure JDBC Adapter 6.0.3 to MS SQL Server 2000.
    I am using msbase.jar,msutil.jar and mssqlserver.jar in the classpath.

    I am getting this errror though all the wM configurations are accurate according to the wM JDBC Docs.

    Error encountered
    [ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource jdbcAdapConn:CLDCon.
    [ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager.
    [ADA.1.204] Cannot connect to the database with DataSource class “com.microsoft.jdbcx.sqlserver.SQLServerDataSource”.
    [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.

    My configuration:

    Connection Properties

    Transaction Type LOCAL_TRANSACTION
    DataSource Class com.microsoft.jdbcx.sqlserver.SQLServerDataSource
    serverName Vmdevcssql01
    user SA-WMD
    password ******
    databaseName CLD
    portNumber 1434

    Connection Management Properties

    Enable Connection Pooling true
    Minimum Pool Size 1
    Maximum Pool Size 10
    Pool Increment Size 1
    Block Timeout (msec) 1000
    Expire Timeout (msec) 1000

    Environment:

    wM IS 6.0.1

    I am not able to find out what the problem is. I went through whole of wMusers forum and its archives, but still could not figure out a proper solution. That is the reason I have started a new thread.

    Your help is greatly appreciated.

    Thanks,
    Srivats


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


  • 2.  RE: JDBC Adapter Connection to SQL Server 2000

    Posted Fri August 13, 2004 07:11 PM

    Srinivas,

    I believe you forgot to mention this param in the
    Connection Properties section:

    Other Properties:selectMethod=cursor

    please fill the above setting and try enabling the connection.
    Also make sure your DB is Up,and remaining settings looks fine.

    If not try with default SQLServer port :1433

    HTH,
    RMG


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


  • 3.  RE: JDBC Adapter Connection to SQL Server 2000

    Posted Fri August 13, 2004 07:39 PM

    Srinivas,
    Microsoft SQL Server 2000 (for JDBC 2.20019) does not require a value for the databaseName property in the JDBC adapter configuration settings.

    Try the below configurations:

    Connection Properties

    Transaction Type LOCAL_TRANSACTION
    DataSource Class com.microsoft.jdbcx.sqlserver.SQLServerDataSource
    serverName Vmdevcssql01
    user SA-WMD
    password ******
    databaseName
    portNumber 1434

    Connection Management Properties

    Enable Connection Pooling true
    Minimum Pool Size 1
    Maximum Pool Size 10
    Pool Increment Size 1
    Block Timeout (msec) 1000
    Expire Timeout (msec) 1000

    If the port 1434 doesn’t work try the default port 1433.

    Sivaram


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


  • 4.  RE: JDBC Adapter Connection to SQL Server 2000

    Posted Fri August 13, 2004 10:20 PM

    Hi,

    Thank you RMG and Sivaram for your responses. I tried what you both have said, but still I am getting the same error.

    I have one doubt…is this due to some JDBC-ODBC bridge problems.

    I am able to connect to that server through SQL Server Utility but not able to connect through wM JDBC Adapter.

    Do I need to install something on the MS SQL Server 2000 side to make it talk to JDBC Adapter ?

    Right now I am using Microsoft provided SQL Server 2000 JDBC Drivers SP3. Do I need to use anything other than this?

    Please help me.

    Thanks,
    Srivats


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


  • 5.  RE: JDBC Adapter Connection to SQL Server 2000

    Posted Sat August 14, 2004 12:07 AM

    Srivats,
    what did you do with the driver install exe you downloaded from microsoft??

    If you have already tried port number 1433 and IP address (instead of server name), I suggest that you post the server classpath on your IS installation??

    R U using JDBC pools on the IS?

    This error is different than other ones as it is “Error establishing socket” error. In all probability, it is able to find the driver class from the jars.

    • Saurabh.

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


  • 6.  RE: JDBC Adapter Connection to SQL Server 2000

    Posted Sat August 14, 2004 01:21 AM

    Srinivas,

    Try with IP address instead of physical server name in the
    serverNamegive IPAddress)

    webMethods default bundles with DataDirect drivers for Oracle/SQL server,if possible try with this option.

    HTH,


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


  • 7.  RE: JDBC Adapter Connection to SQL Server 2000

    Posted Sun August 15, 2004 06:35 AM

    Hi Srivats,

    I am having the same issues as you are and you can see the thread running there as well, the link is
    [url=“wmusers.com”]wmusers.com

    Secondly, I was able to overcome the third error, namely, the ADA error by using Microsoft provided SQL Server 2000 JDBC Drivers SP1 instead of Microsoft provided SQL Server 2000 JDBC Drivers SP3.

    Also, make sure SQL is in the mixed mode authentication.

    SQL driver jars files should be available in the Adapter package as well.“IS\packages\your adapter package\code\jars\”

    If you are able to overcome the other 2 errors, please let me know as well, as I am stuck at this stage myself, looking for any good solutions.


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


  • 8.  RE: JDBC Adapter Connection to SQL Server 2000

    Posted Mon September 10, 2007 08:13 AM

    Hi,
    I had exactly the same problem as Srivats, I downloaded the sql server 2000 driver for JDBC from microsoft & restarted IS6.1 and it started working.

    regards,
    Naeem.


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


  • 9.  RE: JDBC Adapter Connection to SQL Server 2000

    Posted Fri January 18, 2008 07:16 PM

    hi all.
    i am trying to work on JDBC adapter 6.0.3. when i am trying to configure the jdbc adapter it is given the following errors…
    I am using SQL server 2000…

    Error encountered
    [ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource sampadap:asdlasn.
    [ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager.
    [ADA.1.200] The JDBC DataSource class “com.microsoft.jdbcx.sqlserver.SQLServerDataSource” cannot be located.
    com.microsoft.jdbcx.sqlserver.SQLServerDataSource.class not found


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


  • 10.  RE: JDBC Adapter Connection to SQL Server 2000

    Posted Sat January 19, 2008 03:06 AM

    Rishi,
    Did you install the SQL Server JDBC drivers?


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