Image Capture Using the WebLogic Diagnostics Framework WLDF

Monitoring and Troubleshooting 8-19 Dye flags can be applied to both incoming and outbound SIP messages. The flags are useful for dye filtering, and can be used by delegating monitors to trigger further diagnostic actions. Oracle WebLogic Communication Services provides several delegating monitors that can be applied at the application and server scope, and which may examine dye flags set by the DyeInjection monitor. The delegating monitors are described in Table 8–4 . Table 8–4 Oracle WebLogic Communication Services DyeInjection Flags Dye Flag Description PROTOCOL_SIP Set in the diagnostic context of all SIP protocol messages. SIP_REQ Set in the diagnostic context for all SIP requests that match the value of the property SIP_ REQ. SIP_RES Sset if the SIP response matches the value of property SIP_RES. SIP_REQURI Set if the SIP requests reqURI matches the value of property SIP_REQURI. SIP_ANY_HEADER Set if the SIP request contains a header that matches the value of the property SIP_ANY_ HEADER. SIP_RES This flag is set in the diagnostic context for all SIP responses that match the value of the property SIP_RES. SIP_REQURI This flag is set if a SIP requests request URI matches the value of property SIP_REQURI. SIP_ANY_HEADER This flag is set if a SIP request contains a header matching the value of the property SIP_ ANY_HEADER. The value of SIP_ANY_HEADER is specified using the format messageType.headerName =headerValue where headerValue is either a value or regular expression. For example, you can specify the property as SIP_ANY_ HEADER=request.Contact=sip:sipplocalhost:5061 or SIP_ANY_ HEADER=response.Contact=sip:findme172.17.30.50:5060. Table 8–5 Oracle WebLogic Communication Services Diagnostic Monitors Monitor Name Monito r Type Scope Pointcuts occasSip_Servlet_Before_Service Before Application At entry of SipServlet.do or SipServlet.service methods of all implementing subclasses. occasSip_Servlet_After_Service After Application At exit of SipServlet.do or SipServlet.service methods of all implementing subclasses. occasSip_Servlet_Around_Service Around Application At entry and exit of SipServlet.do or SipServlet.service methods of all implementing subclasses. occasSip_Servlet_Before_Session Before Application At entry of getAttribute, set, remove, and invalidate methods for both SipSession and SipApplicationSession. occasSip_Servlet_After_Session After Application At exit of getAttribute, set, remove, and invalidate methods for both SipSession and SipApplicationSession. occasSip_Servlet_Around_Session Around Application At entry and exit of getAttribute, set, remove, and invalidate methods for both SipSession and SipApplicationSession.