2.2.3.2. J2EE Connector Architecture
jboss-ra.xmlcan now be used to override the properties specified in*-ra.xml.Thejboss-ra.xmlfile should be in theMETA-INFdirectory of the resource adapter whose properties you wish to override, alongside the*-ra.xmlfile.Specify a corresponding<ra-config-property>in thejboss-ra.xmlfile for each property you wish to override. An example follows:Example 2.1. Representative excerpt from resource adapter *-ra.xml file
<config-property> <config-property-name>StringRAR</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>StringFromRARProperties</config-property-value> </config-property>
Example 2.2. Representative excerpt from a corresponding jboss-ra.xml file
<ra-config-property> <ra-config-property-name>StringRAR</ra-config-property-name> <ra-config-property-type>java.lang.String</ra-config-property-type> <ra-config-property-value>XMLOVERRIDE</ra-config-property-value> </ra-config-property>
The complete source for a working example can be viewed in the test case for this feature at https://anonsvn.jboss.org/repos/jbossas/trunk/testsuite/src/resources/jcaprops/xmloverride/META-INF/.- Support has been added for defining dependencies in J2EE Connector Architecture (JCA) adapters.
server/production/deploy/jca-jboss-beans.xmldisables debug monitoring of JCA and database connections:<!-- Whether to track unclosed connections and close them --> <property name="debug">false</property>
This disables the application server's debug support. Disabling this means that the origin of obtained database connections and connection leaks cannot be tracked. Unclosed managed database connections are still returned to the connection pool, regardless of this attribute's value.