uCosminexus Application Server, EJB Container Functionality Guide
The method of setting the system log of the EJB client application differs depending upon the command used to invoke the EJB client application.
You can change the attributes of the system log of an EJB client application by customizing either the option definition file for Java applications (usrconf.cfg), or the user property file for Java applications (usrconf.properties). The following table describes the items that can be changed and the keys of properties with which changes can be specified. This table also describes the necessity of specifying the properties that are to be specified in the execution commands of the EJB client application.
Table 3-15 Keys used to change the output destination and output level of the system log of an EJB client application
Items that can be changed | Key of the option definition file for Java applications | Key of the user property file for Java applications | Type |
---|---|---|---|
Log output destination#1 | ejb.client.log.directory | ejbserver.client.log.directory | Variable |
Name of the log output destination directory created in each EJB client application#1 | ejb.client.ejb.log | ejbserver.client.ejb.log | Selective variable |
Name of the log output destination subdirectory created in each process of the EJB client application#1 | ejb.client.log.appid | ejbserver.client.log.appid | Selective variable |
Termination of message output in standard output#2 | ejb.client.log.stdout.enabled | -- | Selective variable |
Number of log files | -- | ejbserver.logger.channels.define.channel-name#3.filenum | Selective variable |
Log file size | -- | ejbserver.logger.channels.define.channel-name#3.filesize | Selective variable |
Log output level#4 | -- | ejbserver.logger.enabled.* | Selective variable |
Output destination of the trace file of Cosminexus TPBroker | -- | vbroker.orb.htc.tracePath | Selective variable |
Number of trace files of Cosminexus TPBroker | -- | vbroker.orb.htc.comt.fileCount | Selective variable |
Number of entries in each trace file of Cosminexus TPBroker | -- | vbroker.orb.htc.comt.entryCount | Selective variable |
Whether or not you can specify system properties will depend on the usage form of the EJB client application. The following table describes the relationship between the usage form of the EJB client application and system properties. Note that the numbers in Table 3-16 and Table 3-17 correspond to each other.
Table 3-16 Usage form of an EJB client application
Types of EJB client applications | Multiplicity of simultaneous startup of EJB client applications | ||
---|---|---|---|
1 multiple | 2 to 8 multiples | 9 to 16 multiples | |
1 type | 1. | 2. | 3. |
2 types or more | 4. | 5. | 6. |
Table 3-17 Usage form of the EJB client application and system properties
System property specification | Types of EJB client application usage | |||||
---|---|---|---|---|---|---|
1. | 2. | 3. | 4. | 5. | 6. | |
ejbserver.client.ejb.log | Available | Available | Required | Required | Required | Required |
ejbserver.client.log.appid | Available | Not available | Not available | Available | Not available | Not available |
ejbserver.client.log.directorynum | Available | Available | Required | Available | Available | Required |
The description of the numbers specified in the above tables is as follows:
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.