uCosminexus Application Server, Web Service Development Guide

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

39.3.3 Log output destination

This subsection describes the log output destination for each usage situation.

Organization of this subsection
(1) When using the Web Service on the J2EE server and the Web Service client
(2) When using the Web Service client in the command line interface
(3) When a command is executed
(4) When using a Web resource and a Web resource client operating on the J2EE server
(5) When using Web resources from the command line interface

(1) When using the Web Service on the J2EE server and the Web Service client

The following table lists and describes the log output destination of the Web Service and Web Service client (such as servlet and EJB) running on the J2EE server:

Table 39-4 Log output destination (for a Web Service or Web resource client running on the J2EE)

No. Log types Output destination directory File names
1 Operation log <ejb.server.log.directory>/CJW For the round up method
cjwmessage?.log
For the shift method
Current log file: cjwmessage.log
Back up file:
cjwmessage?.log
2 Exception log <ejb.server.log.directory>/CJW cjwexception?_?.log
3 Maintenance log <ejb.server.log.directory>/CJW/maintenance For the round up method cjwmessage?.log
For the shift method
Current Log File:
cjwmessage.log
Back up file:
cjwmessage?.log
4 Communication log <ejb.server.log.directory>/CJW cjwtransport?_?.log

Notes
  • <ejb.server.log.directory> becomes the log output destination for the J2EE server. For details, see 3.3.6 Settings for collecting the J2EE server logs in the uCosminexus Application Server Maintenance and Migration Guide.
  • '?' in the file name indicates the number of files.
  • If a problem occurs before the log initialization processing, the log is output to the operation log (cjmessage?.log) of Cosminexus Component Container.
  • A current log file is the log file of the output destination.
  • A back up file is the log file that is set up as a back up by rotation.

(2) When using the Web Service client in the command line interface

The following table lists and describes the log output destination when the Web Service client is invoked using the Java application start command (cjclstartap):

Table 39-5 Log output destination (when using a Web Service from the command line interface)

No. Log type Output destination directory File name
1 Operation log <ejbserver.client.log.directory>/
<ejbserver.client.ejb.log>/
<ejbserver.client.log.appid>/CJW
cjwmessage?.log
2 Exception log <ejbserver.client.log.directory>/
<ejbserver.client.ejb.log>/
<ejbserver.client.log.appid>/CJW
cjwexception?_?.log
3 Maintenance log <ejbserver.client.log.directory>/
<ejbserver.client.ejb.log>/
<ejbserver.client.log.appid>/CJW/maintenance
cjwmessage?.log
4 Communication log <ejbserver.client.log.directory>/
<ejbserver.client.ejb.log>/
<ejbserver.client.log.appid>/CJW
cjwtransport?_?.log

Notes
  • <ejbserver.client.log.directory>, <ejbserver.client.ejb.log>, and <ejbserver.client.log.appid> become the output destination for the system log of the EJB client application. For details, see 4.5.2 Output destination for system logs of EJB client applications in the manual uCosminexus Application Server Maintenance and Migration Guide.
  • '?' in the file name indicates the number of files.
  • If a problem occurs before the log initialization processing, the log is output to the operation log (cjclmessage?.log) of Cosminexus Component Container.

(3) When a command is executed

The following table lists and describes the log output destination when a command is executed.

Table 39-6 Log output destination (when a command is executed)

No. Log types Output destination directory File names
1 Operation log Command-log-output-destination-directory (com.cosminexus.jaxws.tool.log.directory) For the cjwsimport command: cjwsimport?.log
For the apt command: cjwapt?.log
For the cjwsgen command: cjwsgen?.log
2 Exception log Command-log-output-destination-directory (com.cosminexus.jaxws.tool.log.directory) For the cjwsimport command: cjwsimportex?_?.log
For the apt command: cjwaptex?_?.log
For the cjwsgen command: cjwsgenex?_?.log
3 Maintenance log Command-log-output-destination-directory (com.cosminexus.jaxws.tool.log.directory)/maintenance For the cjwsimport command: cjwsimport?.log
For the apt command: cjwapt?.log
For the cjwsgen command: cjwsgen?.log

Notes
  • Set the Command-log-output-destination-directory (com.cosminexus.jaxws.tool.log.directory) using the properties of the action definition file. The default output destination is Cosminexus-installation-directory/jaxws/logs.
    For details about the properties, see 10.1.2 Settings for the common definition file.
  • '?' in the file name indicates the number of files.

(4) When using a Web resource and a Web resource client operating on the J2EE server

The following table describes the output destinations for logs when using a Web resource and a Web resource client operating on the J2EE server.

Table 39-7 Log output destination (for a Web Service and a Web resource client running on the J2EE server)

No. Log type Output destination directory File name
1 Operation log <ejb.server.log.directory>/CJR

For a Round up method
cjrmessage?.log

For a Shift method
Current Log files:
cjrmessage.log
Back up files:
cjrmessage?.log
2 Exception log <ejb.server.log.directory>/CJR cjrexception?_?.log
3 Maintenance log <ejb.server.log.directory>/CJR/maintenance

For a Round up method
cjrmessage?.log

For a Shift method
Current Log files:
cjrmessage.log
Back up files:
cjrmessage?.log
4 Communication log <ejb.server.log.directory>/CJR cjrtransport?_?.log

Notes
  • The <ejb.server.log.directory> serves as the log output destination of the J2EE server. For details, see 3.3.6 Settings for collecting the J2EE server logs in the uCosminexus Application Server Maintenance and Migration Guide.
  • '?' in the file name indicates the number of files.
  • If a problem occurs before the log initialization processing, the log is output to the operation log (cjrmessage?.log) of Cosminexus Component Container.
  • A current log file is the log files of the output destination.
  • A backup file is a log file that is backed up by rotation.

(5) When using Web resources from the command line interface

The following table lists log output destinations when starting a Web resource client by using a startup command (cjclstartap ) of Java applications.

Table 39-8 Log output destination (when using a Web resource from the command line interface)

No. Log type Output destination directory File name
1 Operation log <ejbserver.client.log.directory>/
<ejbserver.client.ejb.log>/
<ejbserver.client.log.appid>/CJR
cjrmessage?.log
2 Exception log <ejbserver.client.log.directory>/
<ejbserver.client.ejb.log>/
<ejbserver.client.log.appid>/CJR
cjrexception?_?.log
3 Maintenance log <ejbserver.client.log.directory>/
<ejbserver.client.ejb.log>/
<ejbserver.client.log.appid>/CJR/maintenance
cjrmessage?.log
4 Communication log <ejbserver.client.log.directory>/
<ejbserver.client.ejb.log>/
<ejbserver.client.log.appid>/CJR
cjrtransport?_?.log

Notes
  • <ejbserver.client.log.directory>, <ejbserver.client.ejb.log>, and <ejbserver.client.log.appid> serve as the system log output destination of an EJB client application. For details, see 4.5.2 Output destination of system logs for EJB client applications in the uCosminexus Application Server Maintenance and Migration Guide.
  • '?' in the file name indicates the number of files.
  • If a problem occurs before the log initialization processing, the log is output to the operation log (cjrmessage?.log) of Cosminexus Component Container.