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
  • 1.  Com.wm.lang.flow.FlowException null connection returned from connect call

    Posted Thu August 05, 2004 06:02 PM

    Using EAI version 4.6 with the following patches in place:
    IS_4-6_SP2, IS_4-6_SP2_Fix150, IS_4-6_Fix48, IS_4-6_FIX_23

    I am getting the following Null Connection Error:
    com.wm.lang.flow.FlowException:null connection returned from connect call

    Does anyone know what the fix is?

    Here are some inf on my setup.
    DB URL: jdbc:oracle:thin:@x.x.x.x:port:dbname
    DB Driver: oracle.jdbc.driver.OracleDriver
    Min Conn: 0
    Max Conn: 200
    Exp Time: 60000 (ms)
    Loaded Driver: oracle.jdbc.driver.OracleDriver


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: Com.wm.lang.flow.FlowException null connection returned from connect call

    Posted Wed May 24, 2006 06:43 PM

    Hello,
    I have a service which runs the entire steps without any errors and then goes to the catch block giving an Exception error.
    wm.lang.flow.FlowException.

    Iam getting the output i want, but its giving me the EXception.
    Could someone plz tell me the reason why after doing everything right its givng me an Exception.

    Iam not getting any idea about what the problem could be

    Thankyou.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: Com.wm.lang.flow.FlowException null connection returned from connect call

    Posted Wed May 24, 2006 06:50 PM

    Hi Stepheny,
    Check your try-catch sequence.

    is it like:

    Main Sequence(Exit on Success)
    ----Try Sequence(Exit on Error)
    ------- code1
    ------- code1
    ----Catch Sequence(Exit on Done)
    ------- getLastError
    ------- handleExceptionCode3

    if not, make it like this.

    Other point to trace is, when tracing in your try block code, do you encounter Exit with Failure?


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: Com.wm.lang.flow.FlowException null connection returned from connect call

    Posted Wed May 24, 2006 06:55 PM

    Hi Hares,
    Can you open a SQL Plus connection to the Oracle DB and make sure that your DB username and passwords are correct?

    Also, go to the IS Admin page and click on About and check that classes12.zip is loaded in IS.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Com.wm.lang.flow.FlowException null connection returned from connect call

    Posted Wed May 24, 2006 07:59 PM

    Hai Singh,
    Thankyou so much for your instant reply…

    My sequence is like this…Same as what u said …but No ERROR but have FAILURE.

    Main Sequence(Exit on Success)
    ----Try Sequence(Exit on Failure) Not ERROR…i dont find any ERROR
    ------- code1
    ------- code1
    ----Catch Sequence(Exit on Done)
    ------- getLastError
    ------- handleExceptionCode3

    Is this what u meant ??
    Its like this…
    Plz letme know whether this is right or not…
    Thankyou


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 6.  RE: Com.wm.lang.flow.FlowException null connection returned from connect call

    Posted Wed May 24, 2006 08:48 PM

    Hi …
    Iam sorry…i didnt notice the small error in it…U are right
    The sequences were wrong…

    Its
    Main
    Try
    Catch

    where it is supposed to be
    Main
    Try
    Catch…

    Thankyou once more for ur help…


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 7.  RE: Com.wm.lang.flow.FlowException null connection returned from connect call

    Posted Thu May 25, 2006 05:11 PM