6.7.1 TP1-adapter runtime-environment property file
- Organization of this subsection
(1) Format
tp1client.config=path-of-TP1/Client/J-environment-definition-file
[buffer.keep={true|false}]
[message.level={0|10|20}]
[trace.level={0|10|20}]
[trace.filesize=size-of-output-trace-log]
[trace.filenum=number-of-trace-log-files-output]
(2) Function
The TP1-adapter runtime-environment property file defines the TP1/Client/J environment definition file that is used when the TP1 adapter is operated in the execution environment. Use the sample file to create this file.
The sample file is stored at the following location:
service-platform-installation-directory\CSC\custom-adapter\TP1\config\templates\adptp1.properties
To create the TP1-adapter runtime-environment property file:
-
Copy and store the sample file in the following directory:
Service-platform-installation-directory\CSC\custom-adapter\TP1\config
-
Rename the sample file as service-ID.properties.
-
Edit and save the defined information.
The TP1-adapter runtime-environment property file is applied in the execution environment when you start the TP1 adapter. To change the contents of the TP1-adapter runtime-environment property file, stop the TP1 adapter and then perform the operation. When you restart the TP1 adapter, the changes are applied in the execution environment.
(3) Specifiable properties
tp1client.config=path-of-TP1/Client/J-environment-definition-file ~ <Character string>
Codes the path of the TP1/Client/J environment definition file. Use \\ instead of \ as directory delimiters in the path.
buffer.keep={true|false} ~ <<true>>
Specifies the options for generating the sending and receiving buffer.
-
true
A sending and receiving buffer will be generated and stored when the TP1 adapter starts.
-
false
A sending and receiving buffer will be generated or released when the RPC communication starts.
If you specify any other value, a warning message (KDEE12021-W) is displayed and the operation similar to when true is specified is performed. Furthermore, if the buffer.keep property itself is not coded, the operation similar to when true is specified is performed without displaying a warning message.
message.level={0|10|20} ~ <<10>>
Specifies the output level of the message log.
-
0: A message with the message type E (Error) will be output.
-
10: A message with the message type E (Error) or W (Warning) will be output.
-
20: All the messages will be output.
trace.level={0|10|20} ~ <<10>>
Specifies the output level of the trace log.
-
0: The method trace information will not be collected.
-
10: The method trace information will be collected.
-
20: The method trace or data trace information will be collected.
trace.filesize=size-of-output-trace-log ~ <unsigned integer> ((4096 to 2147483647)) <<2097152>>
Specifies the size of files output for the trace information collected by the TP1 adapter in bytes.
trace.filenum=number-of-trace-log-files-output ~ <unsigned integer> ((1 to 16)) <<8>>
Specifies the number of files output for the trace information collected by the TP1 adapter.
(4) Notes
Note the following when you specify the path:
-
Do not specify a path that contains characters expressing a relative path or a parent directory (..\ or ../), and characters expressing a current directory (.\ or ./).
-
Do not specify a path containing a symbolic link.
-
In Windows, do not specify a path containing a UNC format, an NTFS stream name, and a reserved device name. Also, the path characters are not case sensitive.