uCosminexus Application Server, Maintenance and Migration Guide
This section describes the analysis procedure when a trouble occurs in an application using JPA.
This section describes an example of the model failure and the analysis procedure for the cause.
Note that the information, between each log output by Cosminexus JPA provider, is based on time, Thread ID/Process ID, and PersistenceUnit name. You can raise a log level and acquire the data, when you cannot specify the cause in the acquired log and the log is repeated.
This point describes an analysis procedure implemented by a user when an exception occurs in a user application. The timing, when the exception occurs, might be when starting an application (including deploy) or when executing the application. This section describes the analysis procedure when an exception occurs in their respective timings.
The analysis procedure when an exception occurs while starting an application is as follows:
This point describes an analysis procedure when an exception occurs while executing an application.
Specify the point where an exception has occurred from the stack trace output to the exception log. To find out the cause of the exception occurrence, check whether there is any problem in the process contents of the application. Modify the application if there is any problem in the process.
When the method of handling the message log involves contacting the maintenance personnel, and when the causes of situations, such as not having any problem in the application process are not revealed, contact maintenance personnel.
This point describes an analysis procedure when a performance related failure occurs. For example, certain processes require time. The performance related problem might occur when starting an application or when executing the application.
When you start an application, if any performance related problem occurs, contact maintenance personnel. When you execute the application, and if any performance related problem occurs, specify the location of the problem as per the following procedure:
For details on the operation log output to Cosminexus JPA provider, see Appendix C.1 Cosminexus JPA Provider operation log.
The following table shows the troubleshooting data and the acquisition source of the data that is required in the Cosminexus JPA Provider, when a failure occurs in the system.
Table 2-15 Troubleshootingdata and data acquisition source required in Cosminexus JPA Provider
Troubleshooting data | Acquisition source | File name of the data | |
---|---|---|---|
Message log | snapshot (primary) | Message log | |
Exception log | snapshot (primary) | Exception information when an error occurs | |
Operation log of Cosminexus JPA Provider | snapshot (primary) | Operation log of CJPA | |
J2EE server definition information | snapshot (primary) |
|
|
Definition information of applications included in the operation directory of J2EE server | persistence.xml | snapshot (secondary) |
|
O/R mapping file | |||
Property file of EJB, WAR | |||
Connector property file of DB Connector | snapshot (secondary) | Contents of Web container operation directory | |
DB Connector log | snapshot (primary) | Operation log of the resource adaptor that is deployed and used as a J2EE resource adaptor | |
Trace based Performance Analysis | snapshot (primary) | PRF daemon and PRF command log | |
J2EE server thread dump | Thread dump acquisition command | ||
SQL trace of a database to be connected (However, only when the trace information is collected) |
|
See the manual HiRDB SQL Reference | |
|
See the manual of Oracle. |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.