uCosminexus Service Platform, Setup and Operation Guide

[Contents][Glossary][Index][Back][Next]

7.3.2 How to acquire the failure informationoutput by pre-requisite products other than Service Platform

This subsection gives an overview of how to acquire the main pre-requisite products. For details on the failure information output by the pre-requisite products other than the Service Platform, see the manual of the respective product.

From among the failure information output by pre-requisite products other than the Service Platform, the default directory for the logs output by the J2EE server is <Installation directory of Service Platform>\CC\server\public\ejb\<J2EE server name>\logs. This directory is mentioned as "Log output directory of J2EE server" hereafter. You can change the directory of the log output by the J2EE server with the ejb.server.log.directory key of usrconf.cfg (option definition file for J2EE server).

Organization of this subsection
(1) How to acquire the failure information output by the J2EE server
(2) How to acquire the failure information output by Reliable Messaging
(3) How to acquire the failure information output by SOAP Communication Infrastructure or JAX-WS engine
(4) How to acquire the failure information output by the HTTP Server
(5) How to acquire failure information output by database
(6) How to acquire JavaVM information

(1) How to acquire the failure information output by the J2EE server

(a) Log

When a failure occurs and it is difficult to specify the cause of failure from the log or the trace output by the Service Platform, the following failure information output by the J2EE server is required:

Use the following commands to acquire the failure information output by the J2EE server in a batch (can be acquired manually). When failure information is acquired in a batch, there may be information that partially overlaps with the log and the trace output by the Service Platform.

For details on the snapshot log command, see "snapshotlog (collecting snapshot logs) " in "Application Server Command Reference Guide". For details on the mngsvrutil command, see "mngsvrutil (management command of Management Server) " in "Application Server Command Reference Guide". For details on how to acquire the failure information output by the J2EEserver, see "Application Server Maintenance and Migration Guide".

By executing the above commands, you acquire the information in the following directories:

Specify the information to be acquired in the definition file for collecting a snapshot log. If required, change the definition file used for collecting a snapshot log, and then change the information to be acquired. For details on the definition file for collecting a snapshot log, see "12.2 Definition file for collecting snapshot logs" in "Application Server Definition Reference Guide".

(b) Failure information of the J2EE server that requires preparation before starting operations

Define the type (Path) of the failure information to be acquired beforehand when you perform batch acquisition by using commands. Specify the primary delivery material that is sent immediately by mails and the secondary delivery material that is sent separately. For details, see "2.4 Types of documents that must be acquired" in "Application Server Maintenance and Migration Guide".

(c) Preference information required for failure investigation

The definitions set up in the J2EE server are required for investigating failure. The following table describes definition files other than the Service Platform:

Table 7-5 Table Definition file other than the Service Platform

Definition file Description
Setup file of Component Container#1 All the files and directories under <Installation directory of Service Platform>\CC\server\usrconf\ejb\<J2EE server name>\directory
Setup file of Manager#1 All the files and directories under <Installation directory of Service Platform>\manager\config\directory
Property information of DB Connector set in dbcon-xadisplayname #2 Definition file set in "3.1.2(8) Setting up DB Connector(When Reliable Messaging is used)".
Property information of DB Connector set in dbcon-nodisplayname#2

Note#1
For details on definitions, see "Application Server Definition Reference Guide ".

Note#2
For details on definitions, see "4.1 Connector property file" in "Application Server Application and Resource Definition Reference Guide".

(2) How to acquire the failure information output by Reliable Messaging

You can identify the cause of failure by acquiring the failure information output by Reliable Messaging when using the following reception or service adapter:

For details on how to acquire failure information output by Reliable Messaging, see "9.1 Overview of the information output at the time of failure" in "Reliable Messaging".

(a) Messages output by Reliable Messaging

The messages output by Reliable Messaging are output to the following log. There are 2 types of logs; start and stop messages log and message log for the J2EE server. The following table lists and describes the messages output by Reliable Messaging:

Table 7-6 TableLog that becomes the output destination of messages output by Reliable Messaging

Log type Output contents Directory and file name
Start and stop messages log Information on start and stop, and value of the property specified by the user.
  • Directory
    <Log output directory of J2EE server>\connectors\
  • File name
    <Display name of Reliable Messaging><File number>.log
Message log for the J2EE server Information of Reliable Messaging for starting, stopping, and during operations.
  • Directory
    <Log output directory of J2EE server >
  • File name
    Output to the same file in which the Service Platform outputs the message log.
(b) Relationship between the HCSC server and the trace of Reliable Messaging

The relationship between the HCSC server and the trace of Reliable Messaging differs when you use the local queue and the transfer queue, and when you use the shared queue.

RM trace that requires preparations before starting operations

To change the type of information that is output by changing the output level of method trace or line trace, you must change Reliable Messaging settings before starting the HCSC server. Perform these changes by using the RMMethodTraceLevel and RMLineTraceLevel configuration properties of Reliable Messaging.

(c) Setup information required for investigating failures

The information set up for Reliable Messaging configuration properties is required for investigating failures. The following table describes the definition files of Reliable Messaging required for investigating failures. For details on definition files, see " 6. Configuration Property" in "Reliable Messaging".

Table 7-9 Table Definition files of Reliable Messaging required for investigating failures

Definition file Description
Setup information of Reliable Messaging properties Definition files setup in "3.1.2(9) Setting up Reliable Messaging".

(3) How to acquire the failure information output by SOAP Communication Infrastructure or JAX-WS engine

When using synchronous standard reception(Web Service) or SOAP adapter, you can identify the cause of failure by acquiring the failure information output by SOAP Communication Infrastructure or the JAX-WS engine. You can identify the cause of failure when there is an error in the sent and received user messages, by checking the message format of SOAP Messages when invoking the HCSC server from service requester, and the SOAP Messages when invoking service component from the service adapter of the HCSC server.

For details on how to acquire the failure information output by SOAP Communication Infrastructure ,see "14.Troubleshooting" in "Application Server SOAP Application Development Guide".

For details on how to acquire the failure information output by JAX-WS engine, see "39.Troubleshooting" in "Application Server Web Service Development Guide".

(a) Relationship between the HCSC server and SOAP trace or Application log

This sub-section describes the relationship between the collection point and SOAP trace or file names of application logs in the HCSC server configuration. This relationship differs when invoking SOAP adapter from the reception of Web Services and when invoking SOAP adapter from a reception other than Web Services.

(b) Preparations required for SOAP trace and application logs before starting the operations

If you acquire the log of SOAP messages, you can identify the cause of failure when there is an error in the sent and received user messages by checking the message format of SOAP Messages when invoking the HCSC server from the service requester and the SOAP messages when invoking the service component from the service adapter of the HCSC server.

The log output is set in the following common definition files on which HCSC server is running:

The following table describes the settings to the common definition file of the machine on which HCSC server is running:

Table 7-12 Table Settings of a machine on which the HCSC server is running to the common definition file

Item Key name Setting (Default) Description
Importance of application log output c4web.logger.aplog_level WARN Specify INFO while capturing (check the message format of SOAP Messages) the log of SOAP Messages. Must be set in advance before starting the HCSC server.

For details on creating common definition files used by SOAP Communication Infrastructure, see"10.4 Setting up the common definition file" in "Application Server SOAP Application Development Guide".

For details on creating common definition files used by the JAX-WS engine, see"10.1.2 Settings of the common definition file" in "Application Server Web Service Development Guide".

(c) Setup information required for investigating failure

The setup information of SOAP Communication Infrastructure and the JAX-WS engine is required for investigating failures. The following table describes definition files of SOAP Communication Infrastructure:

Table 7-13 Table Definition file of SOAP Communication Infrastructure

Definition file Description File save location File name
Server definition file Controls the operations of SOAP Communication in the request reception of a machine on which the HCSC server is running Following folders of machine on which the HCSC server is running:

For Windows
<Installation directory of Service Platform>\c4web\conf

For other OS
/opt/Cosminexus/c4web/conf
c4websv.cfg
Common definition file Controls the common operations of SOAP Communication the in request reception and the service adapter of a machine on which HCSC server is running

Following folders of machine on which the HCSC server is running:

For Windows
<Installation directory of Service Platform>\c4web\conf

For other OS
/opt/Cosminexus/c4web/conf
c4webcom.cfg

For details on definition files when using SOAP Communication Infrastructure, see "10.2 Setting up the server definition file" in "Application Server SOAP Application Development Guide". For details on common definition files when using SOAP Communication Infrastructure, see "10.4 Setting the common definition file" in "Application Server SOAP Application Development Guide ".

The following table describes the definition file for the JAX-WS engine:

Table 7-14 Table Definition file for the JAX-WS engine

Definition file Explanation File storage location File name
Common definition file Controls the SOAP communication operations common to the request reception and the service adapter of a machine on which the HCSC server is running.

Following folders of machine on which the HCSC server is running:

For Windows
<Installation directory of Service Platform>\jaxws\conf

For other OS
/opt/Cosminexus/jaxws/conf
cjwconf.properties

For details on definition files when using JAX-WS engine, see "10.1 Action definition file" in "Application Server Web Service Development Guide".

(4) How to acquire the failure information output by the HTTP Server

The failure information output by the HTTP Server is required when operations are performed using the HTTP Server. For details on how to acquire the failure information output by HTTP Server, see "HTTP Server".

(5) How to acquire failure information output by database

When the cause of failure exists in the database, you can identify the cause by checking the failure information of the database. There is server side and client side information in the failure information of database. The following figure shows the relationship between the database (client side) and of a machine on which HCSC server is running and the database (server side):

Figure 7-6 Figure Relationship between the database (client side) of machine on which HCSC server is running and the database (server side)

[Figure]

Table 7-15 Table Failure information of database at server side and client side

Database used Server/Client Failure information
When HiRDB is used Server side failure information
  • HiRDB log
    All files under %PDDIR%\SPOOL
Server side failure information (definition information)
  • Definition information of HiRDB
    All files under %PDCONFPATH%
Client side failure information
  • SQL trace file and error log file of HiRDB client
    Directory specified in environment variable PDCLTPATH
    (Output to the following directory when environment variable PDCLTPATH is omitted.
    %PDDIR%\spool\hubspool\external-server-name\)
  • File size specified in SQL trace environment variable PDSQLTRACE of HiRDB client
    (SQL trace is not output when environment variable PDCLTPATH is omitted)
  • Exception trace log# of HiRDB Type4 JDBC driver
    Directory specified in environment variable PDJDBFILEDIR
    (Output to the following directory when environment variable PDJDBFILEDIR is omitted.
    <Installation directory of Service Platform>\CC\server\public\ejb\<J2EE server name>\<J2EE server name>excX.trc)
When Oracle is used Server side failure information Oracle log
Client side failure information Oracle JDBC Thin Driver log

Note#
For HiRDB Type4 JDBC Driver, the exception trace log is disabled even if it is described in the environment variable of OS or HiRDB.ini OS. Specify by connecting with semicolons in the property definition "EnvironmentVariables" of the used DB Connector as follows:
(Example) PDSQLTRACE=0;PDCLTPATH=c:\tmp
The Exception trace log is not acquired if you use DABroker.

If you use HiRDB, see " HiRDB System Operation Guide". If you use Oracle, see the documentation published by Oracle Corporation.

(6) How to acquire JavaVM information

(a) JavaVM output message log

When the JavaVM crashes, the debug information is output to standard output and error report file by JavaVM. For details, see "4.11 JavaVM output message log (standard output or error report file) " in "Application Server Maintenance and Migration Guide". The output destination and output file name of the error report file is as follows:

(b) Thread dump of JavaVM

JavaVM statistics and stack status of threads is output. For details, see "4.7 Thread dump of JavaVM" in "Application Server Maintenance and Migration Guide". The output destination is as follows:

(c) Garbage collection log of JavaVM

Garbage collection of JavaVM is output in active state. For details, see "4.8 Garbage collection log of JavaVM" in "Application Server Maintenance and Migration Guide".

(d) Memory dump

When there is a failure in the system, the system administrator or Maintenance Service use the memory dump to analyze the error. For details, see "4.9 Memory dump" in "Application Server Maintenance and Migration Guide".