Configuring WebTJCA ra.xml

This chapter describes the field information used when WebTJCA ra.xml is configured.

1. Field Information

The field information follows http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd.

1.1. <resourceadapter-class>

Specify "com.tmax.connector.spi.TmaxResourceAdapterImpl".

<config-property>

The following options are required when configuring inbound communication. The information must be configured in <connector><resourceadapter><config-property>.

Name Data Type Description

port

String

Port number of the inflow adapter that listens for requests.

fdlfile

String

Path to the fdl-file to be used.

logLevel

String

Log level to be displayed. Input options: none, info, and debug.

logDir

String

Path to the log file to be displayed. If unspecified, stdio is displayed.

logFile

String

Name of the log file to be displayed. If unspecified, stdio is displayed.

logValidDays

Integer

Interval at which a log file is created. If this option is set to 1, log files are created daily.

logFileFormat

String

Log file name format.

E.g., MMddyyyy

<outbound-resourceadapter><connection-definition>
  • <managedconnectionfactory-class>

    Specify "com.tmax.connector.spi.TmaxManagedConnectionFactoryImpl".

  • <config-property>

    The following describes the outbound configurations that can be specified in <config-property>.

    Name Type Description

    host

    String

    IP address of the main Tmax to access.

    E.g., 192.168.1.43

    host_port

    Integer

    Port number of the main Tmax to access.

    backup

    String

    IP address of the backup Tmax to access.

    backup_port

    Integer

    Port number of the backup Tmax to access.

    support_xa

    Boolean

    Option to support an XA. (Default: false)

    E.g., true or false

    headerType

    String

    Version of Tmax to access. (Default: 3.x or lower)

    E.g., 4.0 or later: extendedV4

    connectTimeout

    Integer

    Timeout period to establish connection to Tmax. (Unit: seconds)

    encryption

    Boolean

    Option to encrypt. (Default: false)

    E.g., true or false

    userName

    String

    User name.

    userPasswd

    String

    User password.

    domainName

    String

    Domain name.

    domainPasswd

    String

    Domain password.

    tpTimeout

    Integer

    Tmax service request timeout. (Unit: seconds)

    txTimeout

    Integer

    Transaction timeout. (Unit: seconds)

    fdlFile

    String

    Path to the FDL file to use.

    E.g., /data/tmax/fdl/tmax.fdl

    xidMapperPath

    String

    Path to the XID mapping file to be saved, which records the mappings between the xids of the WAS and Tmax.

    E.g., /data/was/log/webt/xid/

    xidMapperFile

    String

    Name of the XID mapping file to be saved, which records the mappings between the xids of the WAS and Tmax.

    E.g., xidmapper.log

    logLevel

    String

    Log level to be displayed. Input options: none, info, or debug.

    logDir

    String

    Path to the log file to be displayed. If unspecified, stdio is displayed.

    logFile

    String

    Name to the log file to be displayed. If unspecified, stdio is displayed.

    logValidDays

    Integer

    Interval at which a log file is created. If this option is set to 1, log files are created daily.

    logFileFormat

    String

    Log file name format.

    E.g., MMddyyyy

    connectionName

    String

    Connection name.

  • <connectionfactory-interface>

    Specify "javax.resource.cci.ConnectionFactory".

  • <connectionfactory-impl-class>

    Specify "com.tmax.connector.cci.TmaxConnectionFactoryImpl".

  • <connection-interface>

    Specify "javax.resource.cci.Connection".

  • <connection-impl-class>

    Specify "com.tmax.connector.cci.TmaxConnectionImpl".