In OC4J, add a connector-factory element for each connection factory instance in the oc4j-ra.xml.
To add a connection factory in OC4J modify the descriptor as follows:
<?xml version="1.0" encoding="UTF-8"?>
<oc4j-connector-factories xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.oracle.com/technology/oracleas/schema/oc4j-connector-factories-10_0.xsd"
schema-major-version="10" schema-minor-version="0">
<connector-factory location="eis/XUManagementConnectionFactory"
connector-name="XUManagement">
<config-property name="traceLevel" value="ALL"/>
<config-property name="plugins"
value="{pluginClass=ilog.rules.bres.xu.management.IlrManagementMBeanPlugin,xuName=managementXU}"/>
<connection-pooling use="private"></connection-pooling>
<log>
<file path="jrules_xu_management.log" />
</log>
<connectionfactory-interface>
javax.resource.cci.ConnectionFactory
</connectionfactory-interface>
</connector-factory>
<connector-factory location="eis/XUMonitoringConnectionFactory"
connector-name="XUMonitoring">
<config-property name="traceLevel" value="FINE"/>
<config-property name="plugins"
value="{pluginClass=ilog.rules.bres.xu.management.IlrMonitoringMBeanPlugin,xuName=monitoringXU}"/>
<connection-pooling use="private"></connection-pooling>
<log>
<file path="jrules_xu_monitoring.log" />
</log>
<connectionfactory-interface>
javax.resource.cci.ConnectionFactory
</connectionfactory-interface>
</connector-factory>
</oc4j-connector-factories>
Related Concepts
Related Tasks
Related Samples and Tutorials