In JBoss 4.0.x, add a tx-connection-factory element for each connection factory instance in the jrules-bres-xu-JBoss40-ds.xml.
To add a connection factory in JBoss modify the descriptor as follows:
<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
<tx-connection-factory>
<jndi-name>eis/XUConnectionFactory</jndi-name>
<application-managed-security/>
<rar-name>jrules-bres-xu-JBOSS40.rar</rar-name>
<connection-definition>
javax.resource.cci.ConnectionFactory
</connection-definition>
<local-transaction/>
<config-property>
<config-property-name>plugins</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>{pluginClass=ilog.rules.bres.xu.management.IlrManagementMBeanPlugin,xuName=managementXU}</config-property-value>
</config-property>
<adapter-display-name>XU</adapter-display-name>
</tx-connection-factory>
<tx-connection-factory>
<jndi-name>eis/AdditionalXUConnectionFactory</jndi-name>
<application-managed-security/>
<rar-name>jrules-bres-xu-JBOSS40.rar</rar-name>
<connection-definition>
javax.resource.cci.ConnectionFactory
</connection-definition>
<local-transaction/>
<config-property>
<config-property-name>plugins</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>{pluginClass=ilog.rules.bres.xu.management.IlrMonitoringMBeanPlugin,xuName=monitoringXU}</config-property-value>
</config-property>
<adapter-display-name>AnotherXU</adapter-display-name>
</tx-connection-factory>
</connection-factories>
Related Concepts
Related Tasks
Related Samples and Tutorials