Loading...
Select Version
Example 8 shows the definition of the configuration properties in the file weblogic-ra.xml
.
Example 8 Configuration properties in the file weblogic-ra.xml
The section with the configuration properties in weblogic-ra.xml
has the following layout:
<weblogic-connector xmlns="http://xmlns.oracle.com/weblogic/weblogic-connector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-connector http://www.oracle.com/technology/weblogic/weblogic-connector/1.3/weblogic-connector.xsd"> ... <outbound-resource-adapter> <default-connection-properties> <pool-params> <initial-capacity>1</initial-capacity <max-capacity>15</max-capacity> </pool-params> <transaction-support>NoTransaction</transaction-support> </default-connection-properties> <connection-definition-group> <connection-factory-interface> net.fsc.jca.communication.EISUpicConnectionFactory </connection-factory-interface> <default-connection-properties> <pool-params> <initial-capacity>2</initial-capacity> <max-capacity>100</max-capacity> </pool-params> </default-connection-properties> <connection-instance> <jndi-name>eis/my_BC_factory</jndi-name> <connection-properties> <pool-params> <initial-capacity>5</initial-capacity> </pool-params> <properties> <property> <name>ConnectionURL</name> <value>value="upic://BS2HOST/UTMAPP/INFO"</value> </property> <property> <name>encoding</name> <value>OSD_EBCDIC_DF04_DRV</value> </property> <property> <name>encodingActive</name> <value>true</value> </property> <property> <name>timeout</name> <value>30000</value> </property> <property> <name>logLevel</name> <value>INFO</value> </property> <property> <name>displayName</name> <value>upic/UTMAPP/INFO</value> </property> </properties> </connection-properties> </connection-instance> </connection-definition-group> <connection-definition-group> <connection-factory-interface> net.fsc.jca.communication.cci.BCUpicConnectionFactory </connection-factory-interface> <default-connection-properties> <pool-params> <initial-capacity>0</initial-capacity> </pool-params> </default-connection-properties> <connection-instance> <jndi-name>eis/my_CCI_factory</jndi-name> <connection-properties> <pool-params> <max-capacity>100</max-capacity> </pool-params> <transaction-support>NoTransaction</transaction-support> <properties> <property> <name>ConnectionURL</name> <value>upic://BS2HOST/UTMAPP/INFO</value> </property> <property> <name>encoding</name> <value>OSD_EBCDIC_DF04_DRV</value> </property> <property> <name>encodingActive</name> <value>true</value> </property> <property> <name>timeout</name> <value>30000</value> </property> <property> <name>logLevel</name> <value>ERROR</value> </property> <property> <name>displayName</name> <value>upic/cci/UTMAPP/INFO</value> </property> </properties> </connection-properties> </connection-instance> </connection-definition-group> </outbound-resource-adapter> </weblogic-connector>