ra.xml ファイル

ra.xml ファイルの内容を説明します。これには、CICS IBM ECI リソース アダプターを構成するプロパティのリストが含まれています。

ra.xml ファイルは、リソース アダプターの META-INF サブディレクトリにあります。デフォルトでは、これは %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\javaee-ccl(Windows) または $COBDIR/javaee-ccl(UNIX) のアプリケーション サーバーごとのディレクトリにあります。これには、XML 形式のプロパティのリストが含まれています。このファイルを編集し、プロパティ値を変更することで、CICS リソース アダプターを構成できます。

<config-property>
  <config-property-name>ServerHost</config-property-name>
  <config-property-type>java.lang.String</config-property-type>
  <config-property-value>localhost</config-property-value>
</config-property>

<config-property>
  <config-property-name>ServerPort</config-property-name>
  <config-property-type>java.lang.String</config-property-type>
  <config-property-value>9003</config-property-value>
</config-property>

<config-property>
  <config-property-name>Trace</config-property-name>
  <config-property-type>java.lang.Boolean</config-property-type>
  <config-property-value>false</config-property-value>
</config-property>

<config-property>
  <config-property-name>SecureGUID</config-property-name>
  <config-property-type>java.lang.Boolean</config-property-type>
  <config-property-value>false</config-property-value>
</config-property>

<config-property>
  <config-property-name>secureConnection</config-property-name>
  <config-property-type>java.lang.Boolean</config-property-type>
  <config-property-value>false</config-property-value>
</config-property>

<config-property>
  <config-property-name>ReadTimeoutInSeconds</config-property-name>
  <config-property-type>java.lang.Integer</config-property-type>
  <config-property-value>0</config-property-value>
</config-property>

<config-property>
  <config-property-name>OpenTimeoutInSeconds</config-property-name>
  <config-property-type>java.lang.Integer</config-property-type>
  <config-property-value>120</config-property-value>
</config-property>

<config-property>
  <config-property-name>EnterpriseServerSocketCloseDueToInactivity</config-property-name>
  <config-property-type>java.lang.Integer</config-property-type>
  <config-property-value>72</config-property-value>
</config-property>
<config-property>
  <config-property-name>CommAreaAndChannelLogging</config-property-name>
  <config-property-type>java.lang.Boolean</config-property-type>
  <config-property-value>false</config-property-value>
</config-property>

<config-property>
   <config-property-name>KeyRingClass</config-property-name> 
   <config-property-type>java.lang.String</config-property-type> 
   <config-property-value>.\estruststore.jks</config-property-value> 
</config-property>

<config-property>
   <config-property-name>KeyRingPassword</config-property-name> 
   <config-property-type>java.lang.String</config-property-type> 
   <config-property-value>password</config-property-value> 
</config-property>

各プロパティについて説明します。

ServerHost
Sets the server host name.
Valid values: Server host machine name or IP address
Default: localhost
ServerPort
Specifies the port used by Enterprise Server Web Services and J2EE listeners.
Valid value: The port number used by Enterprise Server Web Services and J2EE listeners
Default: 9003
Trace
Sets tracing on or off.
Valid values: true or false
Default: false
SecureGUID
Sets the level of encryption for each generated GUID.
Valid values: true - generates cryptographically strong GUIDs

false - generates GUIDs using the standard Random function seeded with a random number

Default: false
secureConnection
Turns SSL on or off.
Valid values: true or false
Default: false
ReadTimeoutInSeconds
Sets the wait period, in seconds, that a socket waits before timing out on a read.
Valid values: 0 - timeout wait period is infinite

Any positive integer - represents the number of seconds to wait before timing out

Default: 0
OpenTimeoutInSeconds
Sets the wait period, in seconds, that a socket waits before timing out on a connect.
Valid values: 0 - timeout wait period is infinite

Any positive integer - represents the number of seconds to wait before timing out

Default: 120
EnterpriseServerSocketCloseDueToInactivity
Sets the wait period, in hours, that Enterprise Server waits before closing a socket due to inactivity.
Valid values: 0 - timeout wait period is infinite

Any positive integer - represents the number of hours that Enterprise Server waits before closing a socket

Default: 72
CommAreaAndChannelLogging
CommArea および Channel のロギングのオン/オフを切り替えます。
有効な値: true または false
デフォルト: false
KeyRingClass
truststore へのパス
有効な値: truststore へのパス
デフォルト: .\estruststore.jks
KeyRingPassword
truststore のパスワード
有効な値: truststore のパスワード
デフォルト: パスワード