uCosminexus Application Server, Web Service Development Guide
This subsection describes the log output destination for each usage situation.
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 |
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 |
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 |
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 |
|
| 2 | Exception log | <ejb.server.log.directory>/CJR | cjrexception?_?.log |
| 3 | Maintenance log | <ejb.server.log.directory>/CJR/maintenance |
|
| 4 | Communication log | <ejb.server.log.directory>/CJR | cjrtransport?_?.log |
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 |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.