Hitachi

uCosminexus Application Server Compatibility Guide


9.21.1 Exception occurrence by user application

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.

Organization of this subsection

(1) Exception occurrence when starting an application

The analysis procedure when an exception occurs while starting an application is as follows:

  1. Checking message logs

    Reference the message output by a message log. See the message manual and confirm the handling procedure of the message ID that is output. Moreover, examine the countermeasures.

  2. Checking application definitions

    Review the contents of the definition information of annotation in the application, persistence.xml, settings of O/R mapping files based on the contents of the message log and check whether there is any problem in the setup contents. When the method of handling the message log involves contacting the maintenance personnel, and when the cause of situations, such as not having any problem in the application process is not revealed, contact maintenance personnel.

(2) Exception occurred when executing an application

This point describes an analysis procedure when an exception occurs while executing an application.

  1. Checking message logs

    Check the event of a failure from the message output to a message log. For details on the messages, see the manual uCosminexus Application Server Messages.

  2. Checking exception logs

    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.