uCosminexus Service Platform, Setup and Operation Guide
In Message Queue reception, performance analysis trace is output as failure information.
This section describes method of notifying an error when you execute Message Queue reception and performance analysis trace.
This section describes method of notifying an error when business process is invoked using Message Queue reception from JMS provider (WebSphere MQ).
The following figure shows the method of notifying an error when custom reception framework returns an error:
Figure 7-79 Figure Method of notifying an error when custom reception framework returns an error (for reception of Message Queue)
The errors shown in figure are as follows:
When any of Error 1- Error 5 occurs, custom reception framework in which exceptions are caught throws CSCMsgServerException for reception process of Message Queue reception. For details on CSCMsgServerException see "Appendix A.3 APIs of the custom reception framework" in "Service Platform Reception and Adapter Definition Guide".
In reception process of Message Queue reception, exception log is output on the basis of caught exceptions, respond normally to MQ resourse adapter after executing EJBContext#setRollbackOnly.
In MQ resourse adapter, normal response is returned as is for queue manager of JMS provider (WebSphere MQ).
The queue manager of JMS provider (WebSphere MQ) rolls back the transaction and resets the message at the beginning of the queue.
When operation fails, the required troubleshooting information is output to log file as log, and to the trace file as trace.
This section describes how to acquire message log and each type of trace.
In the activity log of the J2EE server of message log, each type of information occurred in Message Queue reception is output as message.
For details on output contents or output destination of message log, see "7.4.1 Message log".
Reuquest trace is used to analyze cause of failure occurred in request.
Output of request trace is not from Message Queue reception but from custom reception framework
This section describes performance analysis trace (PRF trace) in Message Queue reception.
Table 7-66 Table Contents to be output to performance analysis trace file (for Message Queue reception)
Item | Contents |
---|---|
Event ID | Event ID of collection point is output. For details on collection point, Item "Performance analysis trace collection point" |
Return code | Collection point type is output.
|
Interface name | Class name is output. |
Operation name | Method name is output |
Operation information | Following operation information is to be output:
|
Figure 7-80 Figure Performance analysis trace collection point (for Message Queue reception)
Table 7-67 Table Performance analysis trace collection point (for Message Queue reception)
Event ID | Number in figure | Trace collection point | Level |
---|---|---|---|
0x98A0 | 1 | Opening of Message Queue reception | A |
0x98A1 | 2 | Exit of Message Queue reception | A |
0x98A2 | 3 | Invocation of custom reception framework | B |
0x98A3 | 4 | Response reception of custom reception framework | B |
0x9860 | 5 | Entry to custom reception framework | A |
0x9861 | 6 | Exit to custom reception framework | A |
0x9864 | 7 | Invocation of HCSC message delivery control | A |
0x9865 | 8 | Response reception of HCSC message delivery control | A |
You can use the user message trace to check status of message.
User message trace is output from custom reception framework and not from Message Queue reception.
For details on user message trace, see explanation for request trace (custom reception) in "Appendix A.8 Acquiring the failure information (Custom reception) "in "Service Platform Reception and Adapter Definition Guide".
When J2EE server is down during Message Queue reception process, realtime rollback is not performed for message in WebSphere MQ specification. Restart the WebSphere MQ server.
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.