Loading...
Select Version
Example 3 shows the definition of the general configuration properties in the file ra.xml
.
Example 3 Configuration properties in the file ra.xml
The section with the general configuration properties in the file ra.xml
has the following layout:
... <resourceadapter> <resourceadapter-class> net.fsc.jca.BeanConnect.ResourceAdapterJBImpl </resourceadapter-class> <config-property> <description>Resource Adapter Listener Port for Inbound Communication </description> <config-property-name>inboundListenerPort </config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>31099</config-property-value> </config-property> <config-property> <description>BeanConnect Proxy URL for OLTP Outbound Communication</description> <config-property-name>proxyURL</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>oltp://localhost:31004/BCU31004</config-property-value> </config-property> <config-property> <description>BeanConnect transaction logging: possible values are NONE | FILE</description> <!-- If NONE is set, no persistent transaction logging will be performed. If FILE is set, transaction log files will be written to the directory specified in property transactionLogDir. --> <config-property-name>transactionLogging</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>FILE</config-property-value> </config-property> <config-property> <description>Directory where transaction log files are to be stored (only needed if transactionLogging=FILE)</description> <!-- The path name of the directory may be specified as absolute or relative path. A relative path is relative to the home directory of the application server. --> <config-property-name>transactionLogDir</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>persistence/BeanConnect</config-property-value> </config-property> <config-property> <description>Revision number of the ra.xml. This number should be incremented with each change of the resource adapter properties. </description> <config-property-name>revisionNumber </config-property-name> <config-property-type>java.lang.String </config-property-type> <config-property-value>2 </config-property-value> </config-property>