Hitachi

uCosminexus Application Server Operation, Monitoring, and Linkage Guide


9.4.3 Setting a Message ID List File for Issuing Management Events

Code the message ID of the message for which you want to issue a Management event in the message ID list file used for issuing Management events. For details on the message ID list file used for issuing Management events, see 8.2.12 Message ID list file for issuing Management events in the uCosminexus Application Server Definition Reference Guide.

Organization of this subsection

(1) Contents specified in the file

Code the message ID of the message for which you want to issue a Management event in the message ID list file used for issuing Management events.

A message that is output while the J2EE server and batch server are running can issue a Management event. The messages and user logs output during starting and stopping do not issue Management events.

If you omit the settings of the message ID list file used for issuing Management events, Management events are issued with the default message IDs. If you want to use default settings, you need not set the message ID list file used for issuing Management events. For details on default message IDs, see the description of the message ID list file used for issuing Management events. For message ID list file used for issuing Management events, see 8.2.12 Message ID list file for issuing Management events in the uCosminexus Application Server Definition Reference Guide.

(2) Storage location of the file

A sample of the message ID list file used for issuing Management events is stored in the following location. Copy the sample file to create a list file.

You specify the path of the created list file in the manager.mevent.message_id.list parameter of the <configuration> tag for the logical J2EE server (j2ee-server) in the Easy Setup definition file.

(3) Example of creating a file

The following is an example of creating a message ID list file for issuing Management events:

# Monitoring of resources
# : Status of memory(Java Heap)
KDJE34500-W
 
# : Number of file descriptors
KDJE34520-W
 
# : Number of threads
KDJE34540-W
# : Number of thread dump files
-KDJE34580-W
KDJE34581-E
 
# : Number of HTTP requests in queue
-KDJE34621-W
 
# : Number of HTTP sessions
KDJE34640-W
 
# : Status of connection pool
-KDJE34660-W
KDJE34661-W
 
# Monitoring of execution time of user program
KDJE52702-W
KDJE52703-W
KDJE52705-W
KDJE52713-E

If you code a plus (+) sign before a message ID, that message issues a Management event. If you code a minus (-) sign before a message ID, that message will not issue a Management event. If you omit plus (+) and minus (-) signs, that message issues a Management event.