uCosminexus Service Platform, Setup and Operation Guide
This section describes the method of notifying an error which occurs when you invoke the service component using the standard reception from the service requester. Note that the method of notifying an error differs according to the error or existence of a business process.
Figure 7-44 Figure Method of notifying an error in SessionBean communication when an error of the user-defined exception is returned from a service component (when you do not use a business process)
Figure 7-45 Figure Method of notifying an error in SessionBean communication, when an error other than the user-defined exception is returned from a service component (when you do not use a business process)
Figure 7-46 Figure Method of notifying an error in SessionBean communication, when an error is returned from the HCSC server (when you do not use a business process)
Figure 7-47 Figure Method of notifying an error in SessionBean communication when an error of user-defined exception is returned from a service component (when you use a business process)
Figure 7-48 Figure Method of notifying an error in SessionBean communication when an error other than the user -defined exception is returned from a service component (when you use a business process)
Figure 7-49 Figure Method of notifying an error in SessionBean communication when an error is returned from the HCSC server (when you use a business process)
Figure 7-50 Figure Method of notifying an error in SessionBean communication when an error is detected in the service requester
The method of determining an area where a problem has occurred when the service component is invoked from the service requester using standard reception (SessionBean) is described here. The following figure shows how to determine an area where the problem has occurred:
Figure 7-51 Figure Method of determining problem area (when the service component is invoked from the service requester using the standard reception (SessionBean)
This section describes the type of information to be set in a particular factor for SOAP Fault (SOAP message) returned from the HCSC server. The following table describes contents of an exception returned from the HCSC server.The error case number corresponds to the number shown in "7.7.2(2) Method of determining a problem area".
Table 7-57 Table Contents of the exception returned from the HCSC server
| Fault name of CSCMsgServerException returned fromHCSC server | Error case | |
|---|---|---|
| For (ii) | For (i), (iii) | |
| errorMessage | This is the content of the following errors:
|
|
| errorCode | This is the error code corresponding to the contents of exception:
|
|
| processInstanceID | This is the information of Instance ID of business process. Value is set when an error occurs in business process. | |
| cscmsgFaultCode | This is the FaultCode information from a service component (Web service), business process, or service adapter# | Value is not present. |
| cscmsgFaultString | This is the FaultString information from a service component (Web service), business process, or service adapter# | Value is not present. |
| cscmsgFaultActor | This is the FaultActor information from a service component (Web service), business process, or service adapter# | Value is not present. |
| cscmsgFaultDetail | This is the Detail information from a service component (Web service), business process, or service adapter# | Value is not present. |
| faultName | This is the Fault name (Exception name) information from a service component (Web service or SessionBean) or business process. Value will be set in following cases:
|
Value is not present. |
Other than the method of determining the problem area from the exception and error message returned from the service requester, this section describes how to identify the problem area based on the client correlation ID or correlation set of the business process at the service requester end. The following figure shows how to track the execution history of the invocation request of the service component:
Figure 7-52 Figure Tracking the execution history of the service component (for SessionBean)
The method of identifying or the procedure when the business process is used is same as the procedure in Web service (SOAP communication).For details, see "7.7.1 Troubleshooting when executing Web service (SOAP communication)".
The procedure applicable for SessionBean is described here:
The procedure followed from the client correlation ID specified from the service requester is as follows:
For details, see "7.7.1 Troubleshooting when Web service (SOAP communication) is executed"".
You can specify the problem area in more detail by investigating again using the performance analysis trace. You can check compatibility with the log of the sevice component machine by following the thread ID of the performance analysis trace.
When you want to investigate again, use the log of the failure information output by the J2EE server and follow the thread ID of the location where error has occurred.
The following figure shows an example of performance analysis trace:
Figure 7-53 Figure Example of performance analysis trace
The numbers in "Figure 7-53 Example of performance analysis trace" indicate the following contents:
(1)This is a row which contains character strings matching with the common message ID. You can understand the connection since common IDs are assigned.
(2)Number changes since multiple threads are covered through RMI invocation.
(3)This is thread number that has matched in the search.
(4) This is thread ID of the thread number (Number 3).
(5) This is entry of standard reception (SessionBean).
(6) This is point of invocation of the business process.
(7) This is invocation of the execution request of the business process from the messaging board.
(8) This is invocation of the data transformation request.
(9) This is a response from the data transformation request.
(10) This is invocation of the service from the business process to the messaging board.
(11) This is the entry of the business process reception.
(12) This is invocation of the service component of SessionBean adapter.
(13) This is invocation of Service component machine from the HCSC server machine.
(14) This is immediately after an EJB container request.
(15) This is just before receiving an EJB container response.
(16) Error has occurred.
In this example, in point (13) shown in "Figure 7-50 Example of performance analysis trace", you can understand that RMI of the service component is invoked and the error has occurred immediately after the EJB container has received a request (there are two extraction levels of performance analysis trace such as "Normal" and "Details", but "Figure 7-50 Example of performance analysis trace"shows trace collected at "Normal")
When Service component machine is using Application Server, you can investigate again by comparing the thread ID of the location where the error has occurred and the failure information at Service component machine end.
Note that, the thread ID of performance analysis trace has a decimal value but, since the failure information is output in hexadecimal value by the J2EE server, you must individually modify the thread ID to a hexadecimal value.
Regarding the invocation of the service component from the service adapter, thread ID is changed by invoking SessionBean, but you can understand the connection through Root AP CommonNo column. For details on how to use the performance analysis trace file, see "7.7.1 Overview of the analysis of process functionality" in "Application Server Maintenance and Migration Guide"
The procedure for following from the business process correlation set specified in user message is as follows:
For details, see "7.7.1 Troubleshooting when executing Web service (SOAP communication)".
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.