Runtime settings, such as log, trace, and license settings are stored in one of two different files:
For more information about how to administer runtime settings for Web applications, see Administering problem determination components. For more information about how to administer runtime settings for rich client applications, see Administering HATS rich client applications.
The runtime.properties and runtime-debug.properties files contain the following properties.
Each pattern can contain one or more wildcard (*) character. For example, IntegrationObject.Callup* specifies that tracing is enabled for all Integration Objects that start with the letters Callup. To trace all Integration Objects, specify IntegrationObject.*
If multiple patterns are specified, they should be delimited with commas.
The value is an integer. There is no default. Valid values for Authorized User licenses are 1 - 50000. For Value Unit licenses, the value must be -1.
The maximum size of the license usage files is 512 KB. When the file size of the license1.txt file reaches 512 KB or if the HATS server is restarted, the file is renamed to license2.txt, and a new license1.txt file is created. The new license1.txt file contains the most recent license usage information. When the new license1.txt reaches 512 KB and is renamed, the old license2.txt is deleted.
The license usage files contain the following information, arranged in rows, with each row representing one hour of operation. The values are separated by a space ( ).
Screen dumps are classified as INFO messages. To control which types of messages are placed in the HATS log, use this setting. For example, if you do not wish to have screens appear in the HATS log due to security concerns, set logMask=6 to prevent INFO messages (including screen dumps) from being placed in the log.
You cannot shut off ERROR messages with the logMask setting.
The base log file name in runtime.properties is used as a template to generate unique sets of message log files for each application server. The default base name for a log file can be changed in runtime.properties. The application server running HATS is the concatenation of: the underscore (_) character, followed by the name of the HATS instance, followed by another underscore (_) character.
The HATS instance ID (for example _SSS_) is then appended to the base file name to generate the template for the log files for an application server. For the log file, this becomes messages _SSS_.txt. Finally, an index (1, 2, 3, and so on) is added to this name to distinguish multiple files. So, for example, if the HATS instance ID is cell_node_server, the log file for the application server is named messages_cell_node_server_.txt. With multiple log files configured, the log file names for this application server are messages_cell_node_server_1.txt, messages_cell_node_server_2.txt, and so on.
When messages_cell_node_server_1.txt reaches maxLogFileSize, it is closed and renamed to messages_cell_node_server_2.txt. A new messages_cell_node_server_1.txt is opened.
When messages_cell_node_server_1.txt reaches maxLogFileSize again, previous log files are renamed--for example, messages_cell_node_server_2.txt is renamed to messages_cell_node_server_3.txt. Then messages_cell_node_server_1.txt is renamed to messages_cell_node_server_2.txt, and a new messages_cell_node_server_1.txt file is opened.
When the maxLogFiles number is exceeded, the oldest file is deleted.
The value is an integer. The default is 512 KB.
The base trace file name in server.properties is used as a template to generate unique sets of trace files for each application server. The default base name for a trace file can be changed in runtime.properties. The application server running HATS is the concatenation of: the underscore (_) character, followed by the name of the HATS server instance, followed by another underscore (_) character.
The HATS server instance ID (for example _SSS_) is then appended to the base file name to generate the template for the trace files for an application server, which becomes trace _SSS_.txt. Finally, an index (1, 2, 3, and so on) is added to this name to distinguish multiple trace files. So, for example, if the HATS server instance ID is cell_node_server, the trace file for the application server is named trace_cell_node_server_.txt. With multiple trace files configured, the trace file names for this application server are trace_cell_node_server_1.txt, trace_cell_node_server_2.txt, and so on.
When trace_cell_node_server_1.txt reaches maxTraceFileSize, it is closed and renamed to trace_cell_node_server_2.txt. A new trace_cell_node_server_1.txt is opened.
When trace_cell_node_server_1.txt reaches maxTraceFileSize again, previous trace files are renamed--for example, trace_cell_node_server_2.txt is renamed to trace_cell_node_server_3.txt. Then trace_cell_node_server_1.txt is renamed to trace_cell_node_server_2.txt, and a new trace_cell_node_server_1.txt file is opened.
When the maxTraceFiles number is exceeded, the oldest file is deleted.
The value is an integer. The default is 10240 KB.
The tracelevel values used by the tracing options described in this section represent a hexadecimal digit string. Each bit of the digit string controls one type of tracing for the runtime. The defaults are:
tracelevel.1 : 0000000000020000
tracelevel.2 : 000000000000020f
tracelevel.3 : 000000000004023f (minimum)
tracelevel.4 : 0000000000041a3f
tracelevel.5 : 00000000000c1bbf (normal)
tracelevel.6 : 00000000000c1bbf
tracelevel.7 : 00000000001c1bbf (maximum)
tracelevel.8 : 00000000001c1bbf
tracelevel.9 : 00000000001c1bbf
Following are the definitions of each bit in the trace mask:
x000001 - Informational messages
x000002 - Warning messages
x000004 - Error messages
x000008 - Critical error messages
x000010 - API traces
x000020 - Callback API traces
x000080 - Method entry
x000100 - Method exit
x000200 - Exceptions
x000400 - Miscellaneous traces
x000800 - Object creation
x001000 - Object disposal
x020000 - performance tracing - use this value alone
x040000 - Miscellaneous data - level 1
x080000 - Miscellaneous data - level 2
x100000 - Miscellaneous data - level 3
To customize the tracelevel values, add together the hexadecimal values in the trace mask. For example, if you specify tracelevel.9=180 and then use trace.RUNTIME=9 , only method entry and method exit runtime traces are performed.
The value is an integer from 0-9. The default is 0, which means that no runtime tracing is performed.
The value is an integer from 0-9. The default is 0, which means that no event action tracing is performed.
The value is an integer from 0-9. The default is 0, which means that no transformation tracing is performed.
The value is an integer from 0-9. The default is 0, which means that no component tracing is performed.
The value is an integer from 0-9. The default is 0, which means that no widget tracing is performed.
The value is an integer from 0-9. The default is 0, which means that no Integration Object tracing is performed.
The value is an integer from 0-9. The default is 0, which means that no runtime utility tracing is performed.
The value is an integer, where
The default is 0.
The value is binary. The default is 0.
The value is binary. The default is 0.
If trace.HOD.DISPLAYTERMINAL is 1, when HATS creates a host connection (for example, in response to a request from an application), it automatically creates a host terminal display. If this property is set to 0, this does not occur; however, regardless of whether the host terminal display is created automatically during host connection creation, a HATS administrator can use HATS administrative console to turn host terminal displays on or off for individual host connections.
The value is an integer in the range 0 to 3, where
The default is 0.
The value is an integer in the range 0 to 2, where
The default is 0.
The value is an integer in the range 0 to 3, where:
The default is 0.
The value is binary. The default is 0.
The value is binary. The default is 0.
The value is an integer in the range 0 to 3, where
The default is 0.
The value is an integer in the range 0 to 3, where
The default is 0.
The value is an integer in the range 0 to 3, where
The default is 0.
The value is binary. The default is 0.