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

Does invoking EXIT with failure status always write to the error log?

  • 1.  Does invoking EXIT with failure status always write to the error log?

    Posted Wed March 09, 2011 09:34 AM

    I am using try/catch blocks in my flow. I need to throw an exception using an EXIT with failure status to enter the catch block under certain conditions (business data inconsistency for example).

    The customer has stated that when I do this, it is writing to the error log, and he does not want that to happen.

    I am also placing an error message in the error message field of the EXIT. If I remove that text, will it stop anthing appearing in the error log? If not, is there any way I can use an EXIT with failure and not generate an entry in the error log?


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


  • 2.  RE: Does invoking EXIT with failure status always write to the error log?

    Posted Wed March 09, 2011 04:21 PM

    AFAIK, any error that is raised (with text or not) will create an entry in the error log. What is the specific concern the customer has?


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


  • 3.  RE: Does invoking EXIT with failure status always write to the error log?

    Posted Thu March 10, 2011 01:11 PM

    Hi batton,

    I tried what you have said in your post …

    I am not getting anything in error/server log when I do exit on failure from $parent.

    Regards,

    Arpith


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