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

Error in enabling JDBC Adapter connection for SQL Server

webMethods Community Member

webMethods Community MemberThu October 12, 2006 04:29 PM

  • 1.  Error in enabling JDBC Adapter connection for SQL Server

    Posted Tue October 03, 2006 06:43 PM

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

    I am getting the above error when enabling JDBC adapter connection with SQL Server.

    I am using wm6.0.1 with servicepack2 and OS winXPHome Edition with servicepack 4

    and the properties i have given for the connection are
    TransactionType:Local_Transaction
    DataSourceClass:com.microsoft.jdbcx.sqlserver.SQLServerDataSource
    ServerName:COMP
    user:sa
    password:******
    databasename:master
    portnumber:1433
    networkprotocol:TCP/IP
    OtherProperties:

    Thanks in advance


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


  • 2.  RE: Error in enabling JDBC Adapter connection for SQL Server

    Posted Tue October 03, 2006 11:49 PM

    Try this

    change,
    networkProtocol as blank
    Other Properties selectMethod=cursor

    If it still does not work check you have put all the required jars in the integration Server/lib/jars folder and make sure they match with the the version your using.


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


  • 3.  RE: Error in enabling JDBC Adapter connection for SQL Server

    Posted Wed October 04, 2006 07:59 AM

    Hi satya,

     I did changes what u mention and i checkout version of jars also and i placed the jar files in the specified path by u now it is giving the following error.
    

    [ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource rajesh:rajesh.
    [ART.118.5036] Adapter Runtime (Connection): Unable to configure connection manager.
    iaik.asn1.structures.Name

    Do u have any idea regarding this new error which i am getting and what is the reason for this.

    Thanks in advance


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


  • 4.  RE: Error in enabling JDBC Adapter connection for SQL Server

    Posted Wed October 04, 2006 05:24 PM

    Can you post a snapshot of the connection properties. So it might be helpful to know why you would get this error. And also if possible of the snapshot of jar folder.


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


  • 5.  RE: Error in enabling JDBC Adapter connection for SQL Server

    Posted Wed October 04, 2006 07:28 PM

    Do a keyword search in this forum,there are lot of threads discussed on the same it should help you.

    HTH,
    RMG


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


  • 6.  RE: Error in enabling JDBC Adapter connection for SQL Server

    Posted Thu October 05, 2006 07:16 AM

    Hi satya,

    connection properties are
    

    TransactionType:Local_Transaction
    DataSourceClass:com.microsoft.jdbcx.sqlserver.SQLServerDataSource
    ServerName:COMP
    user:sa
    password:******
    databasename:master
    portnumber:1433
    networkprotocol:TCP/IP
    OtherProperties:

    and wmhome/Integrationserver/lib/jars in this path i placed msbase.jar,mssqlserver.jar,msutil.jar


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


  • 7.  RE: Error in enabling JDBC Adapter connection for SQL Server

    Posted Thu October 05, 2006 02:45 PM

    Also set Other Properties: selectMethod=cursor and after placing jar files in the server classpath,restart your IS and test the JDBC connection.

    HTH,
    RMG


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


  • 8.  RE: Error in enabling JDBC Adapter connection for SQL Server

    Posted Thu October 12, 2006 07:06 AM

    Hi RMG,

     after setting the otherproperties like selectMethod=cursor and placing the jar files in the classpath still i am getting the following error
    

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

    Thanks in advance
    Rajesh


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


  • 9.  RE: Error in enabling JDBC Adapter connection for SQL Server

    Posted Thu October 12, 2006 03:21 PM

    try this from the webMethods box
    telnet COMP (target sql server box) 1433

    and if it says it could not connect then there is an issue with port connectivity.


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


  • 10.  RE: Error in enabling JDBC Adapter connection for SQL Server

    Posted Thu October 12, 2006 04:09 PM

    This error can also mean that the ServerName that you entered is not correct. Try the ip address of the server instead of the name and try pinging the server first


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


  • 11.  RE: Error in enabling JDBC Adapter connection for SQL Server