webMethods

webMethods

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.  CAF Events

    Posted Tue August 02, 2011 09:13 AM

    We have an requirement to capture the Login Success and Login Failure events for MWS login screen. So as to accomplish this we are using prebuilt CAF Login and Login Failed Events.

    But the problem for us here is that, for the Login Success event, handler service is getting invoked twice on a successful login attempt and it is even getting called when we logout from the MWS. whereas for the Login Failed event , handler service is getting invoked only once on a unsuccessful login attempt.

    And the mode of listener type, we are using for both of these events is SYNCHRONOUS.

    And we want to restrict the Login Success handler getting invoked just only once, since we are performing some action on a successful login attempt.

    Can you please tell, what is the root cause for this discrepancy?

    For citation , I’ve pasted few lines of MWS log underneath.

    2011-07-02 12:39:10 IST (javax.enterprise.resource.webcontainer.jsf.config:INFO) - Initializing Mojarra (1.2_14-b01-FCS) for context ‘/eventdemo’
    2011-07-02 12:39:10 IST (Framework:INFO) - Web Application initialized: EventDemo
    2011-07-02 12:39:10 IST (Framework:INFO) - registerPortletApplication: eventdemo
    2011-07-02 12:39:10 IST (Framework:INFO) - Initializing components of: eventdemo
    2011-07-02 12:39:21 IST (Framework:INFO) [RID:90] - Processing request [ozdpzfgnx817:null] http://localhost:8585/user.current.start.page (POST)
    2011-07-02 12:39:21 IST (jsf:INFO) - Login Success ----- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
    2011-07-02 12:39:21 IST (jsf:INFO) - Login Success ----- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
    2011-07-02 12:39:25 IST (Framework:INFO) [RID:91] - Processing request [ozdpzfgnx817:SysAdmin] http://localhost:8585/wm_timezone.settimezone (GET)
    2011-07-02 12:39:38 IST (jsf:INFO) - Login Success ----- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

    Thanks & Regards,

    Sridhar .


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 2.  RE: CAF Events

    Posted Tue August 02, 2011 09:59 PM

    From one of our experts:


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS