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 Pools

  • 1.  JDBC Pools

    Posted Thu June 08, 2006 02:00 PM

    Hi ,
    I am getting following error while trying create a JDBC pool for TN.
    Test of Reporting Failed
    [wm-cjdbc34-0042][Oracle JDBC Driver]Error establishing socket to host and port: XX.XXX.XXX.XXX:5555. Reason: Connection refused

    I could be able to login to oracle database with given user name and password.
    I have set URL as follows.

    Alias Name TN_Pool
    Alias Description
    Associated Driver Alias DataDirect Connect JDBC Oracle Driver
    Database URL jdbc:wm:oracle://xx.xxx.xx.xx:5555;SID=wmoracle
    User Id wmoracle
    Password *****
    Minimum Connections 1
    Maximum Connections 10
    Idle Timeout 60000 milliseconds

    Could you please help me to solve this problem.
    Thanks in advance.

    -sreenivas


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


  • 2.  RE: JDBC Pools

    Posted Thu June 08, 2006 02:35 PM

    Oracle uses port 1521 by default. While this can be changed, I doubt 5555 is the correct value.

    Mark


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


  • 3.  RE: JDBC Pools

    Posted Fri June 09, 2006 08:05 AM

    Hi Mark,
    Thanks for the reply. We are using oracle deault port 1521 only. But still we are getting the above problem. We are unable to trace problem what could be the reason. Pls help to solve this problem.

    Thanks,
    sreenivas


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


  • 4.  RE: JDBC Pools

    Posted Fri June 09, 2006 08:12 AM

    someone had this same problem before.why not search it in these forums?


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


  • 5.  RE: JDBC Pools

    Posted Fri June 09, 2006 09:28 AM

    Can you check whether you can access Oracle from some other client application like TOAD/iSQL.

    Also check whether firewall settings on your Oracle machine are prohibiting access from other machines


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


  • 6.  RE: JDBC Pools

    Posted Fri June 09, 2006 10:10 PM

    The URL that you posted in your first message specified a port of “5555”. This will not work if your Oracle instance is using the default port of 1521.

    Mark


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


  • 7.  RE: JDBC Pools

    Posted Tue June 13, 2006 09:03 AM

    I am using 1521 port only. I could able to connect oracle data base using telnet with the given username and pwd.


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


  • 8.  RE: JDBC Pools

    Posted Tue June 13, 2006 10:47 AM

    Paste your connection settings here again. Just a side note, this is a very common task and works well once configured properly.


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


  • 9.  RE: JDBC Pools

    Posted Tue June 13, 2006 06:03 PM

    Hi Srinivas,
    You wrote “I could able to connect oracle data base using telnet with the given username and pwd.”

    Try to connect to Oracle DB using SQLPlus using the DB userID and Password and use that DB userID in your JDBC Pool and NOT the telnet i.e. unix userID.

    HTH,
    -Bhawesh.


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


  • 10.  RE: JDBC Pools

    Posted Wed June 14, 2006 08:19 AM

    Hi Srinivas,

    As per your earlier posts your databse is running on port 1521
    Then why are you trying to connect to DB on port 5555 as specified in the DB url?

    Yogesh


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