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

  • 1.  JDBC connection

    Posted 07/05/07 05:58 PM

    hi
    I am trying to establish a JDBC connection wid sql server 2000 the connection properties are
    Connection type:JDBC Adapter Conenction
    Package name :ADA
    transaction type: NO_TRANSACTION
    Datasource class: com.microsoft.jdbcx.sqlserver.SQLServerDataSource
    Servername:Microsoft-9BBAB7\SQLEXPRESS
    user:Aaministrator
    Password:******
    databasename: master
    port number: 4444
    network protocol:
    other properties:

    errors encountered
    [ART.118.5042]Adapter runtime connection :unable to enable connection resource
    [ART.118.5036]Adapter runtime connection :unable to configure connection manager.
    [ART.1.204]can not connect to database wid data source class"com.microsoft.jdbcx.sqlserver.SQLServerDataSource" [microsoft][SQLServer2000 Driver forJDBC] Error establishing socket.

    I have already copied the classes12.zip n three jar files msbase.jar,msutil.jar,mssqlserver.jar file in the integration server\lib\jars
    and I have also unzipped the jar files and checked for the SQLServerDataSource.class file and it is present.

    please help me to solve this problem.
    thanks


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


  • 2.  RE: JDBC connection

    Posted 07/05/07 06:47 PM

    Pls refer this thread:
    [URL=“wmusers.com”]wmusers.com

    Try using default port:1433,Other Properties:selectMethod=cursor

    PS:Once you put the jar files in place restart IS to get into effect.

    HTH,
    RMG


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


  • 3.  RE: JDBC connection

    Posted 07/06/07 12:28 AM

    Use Microsoft-9BBAB7 for ServerName instead of Microsoft-9BBAB7\SQLEXPRESS. Port will be 4444(or the port of Microsoft-9BBAB7\SQLEXPRESS).

    I don’t think you should use the Named Instance For Server Name(atleast when using the current microsoft jdbc driver).
    Let me know if it helps.

    [URL=“http://support.microsoft.com/kb/313225”]http://support.microsoft.com/kb/313225[/URL]
    "To connect to a named instance through the Microsoft SQL Server 2000 Driver for JDBC, you must specify the port number that is associated with the named instance, instead of the name of the named instance as shown earlier. "


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


  • 4.  RE: JDBC connection

    Posted 07/06/07 10:08 AM

    Why cant you try to put your jar.zip files in the following places.

    1. Put your jar.zip file into the webMethods\IntegrationServer4\JDBC \lib then restart and check whether it is working or not if not try 2 step.
    2. Put your jar.zip file into webMethods\IntegrationServer4\JDBC\lib and webMethods\IntegrationServer4\JDBC\bin.

    Note: Make sure that ‘Connection type’ has less charactors Ex: give as JDBC instead of JDBC Adopter connection.


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


  • 5.  RE: JDBC connection

    Posted 07/06/07 02:52 PM

    I have tried port:1433 n selectMethod=cursor but still same error encountered .
    now m refering

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

    thanks for yor help

    man_rao6


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


  • 6.  RE: JDBC connection

    Posted 07/06/07 03:03 PM

    I have already tried Microsoft-9BBAB7 n url for ServerName
    but gettin same errors.

    thanks for reply , i will let u know more very soon…

    thanks again
    man_rao6


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


  • 7.  RE: JDBC connection

    Posted 07/06/07 03:11 PM

    Try using server IP,make sure DB is up and running as well…Also once you done with the JDBC connection properties changes still it didnt worked then post the connection properties here,we can suggest you if required.

    HTH,
    RMG


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


  • 8.  RE: JDBC connection

    Posted 07/06/07 04:30 PM

    why classes12.zip? … it´s for Oracle!!


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


  • 9.  RE: JDBC connection

    Posted 07/06/07 09:34 PM

    Could you post your current parameters. Also make sure there are no hidden spaces.

    Try to ping the Sql Server’s Host from the machine on which IS is installed

    [strike]
    transaction type: NO_TRANSACTION
    Datasource class: com.microsoft.jdbcx.sqlserver.SQLServerDataSource
    Servername:Microsoft-9BBAB7 (Also Try to ping this from the machine on which IS is installed)
    user:Aaministrator
    Password:******
    databasename: master
    port number: 4444
    network protocol:tcp (Edit: Seems like this is only needed for Oracle OCI, so ignore)
    other properties:
    [/strike]


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


  • 10.  RE: JDBC connection

    Posted 07/16/07 07:49 AM

    ya have done jdbc connection ,:happy:

    thanks to all replyers (sekay,rmg,GAshokn vivian).


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


  • 11.  RE: JDBC connection

    Posted 07/16/07 03:20 PM

    Glad to know you made it worked…

    BTW,Can you post here your resolution part,so it helps users who might ran into the same issue.

    HTH,
    RMG


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