68 lines
3.0 KiB
XML
68 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- ===================================================================== -->
|
|
<!-- -->
|
|
<!-- JBoss JCA Configuration -->
|
|
<!-- -->
|
|
<!-- ===================================================================== -->
|
|
|
|
<!-- $Id: jbossjca-service.xml 37786 2005-11-02 20:35:46Z adrian $ -->
|
|
|
|
<!--
|
|
| This contains configuration for the RARDeployer
|
|
and some xsl based deployers.
|
|
-->
|
|
|
|
<server>
|
|
|
|
<!-- ==================================================================== -->
|
|
<!-- JBossCX setup, for J2EE connector architecture support -->
|
|
<!-- The RARDeployer is needed only until xslt based deployment is written.-->
|
|
<!-- ==================================================================== -->
|
|
|
|
<mbean code="org.jboss.util.threadpool.BasicThreadPool"
|
|
name="jboss.jca:service=WorkManagerThreadPool">
|
|
<!-- The name that appears in thread names -->
|
|
<attribute name="Name">WorkManager</attribute>
|
|
<!-- The maximum amount of work in the queue -->
|
|
<attribute name="MaximumQueueSize">1024</attribute>
|
|
<!-- The maximum number of active threads -->
|
|
<attribute name="MaximumPoolSize">100</attribute>
|
|
<!-- How long to keep threads alive after their last work (default one minute) -->
|
|
<attribute name="KeepAliveTime">60000</attribute>
|
|
</mbean>
|
|
|
|
<mbean code="org.jboss.resource.work.JBossWorkManager"
|
|
name="jboss.jca:service=WorkManager">
|
|
<depends optional-attribute-name="ThreadPoolName">jboss.jca:service=WorkManagerThreadPool</depends>
|
|
<depends optional-attribute-name="XATerminatorName">jboss:service=TransactionManager</depends>
|
|
</mbean>
|
|
|
|
<mbean code="org.jboss.resource.deployment.RARDeployer"
|
|
name="jboss.jca:service=RARDeployer">
|
|
<depends optional-attribute-name="WorkManagerName">jboss.jca:service=WorkManager</depends>
|
|
<depends optional-attribute-name="XATerminatorName">jboss:service=TransactionManager</depends>
|
|
</mbean>
|
|
|
|
<mbean code="org.jboss.deployment.XSLSubDeployer" name="jboss.jca:service=ConnectionFactoryDeployer">
|
|
<attribute name="DdSuffix">-ds.xml</attribute>
|
|
<attribute name="EnhancedSuffixes">300:-ds.xml</attribute>
|
|
<attribute name="XslUrl">stylesheets/ConnectionFactoryTemplate.xsl</attribute>
|
|
<attribute name="ValidateDTDs">false</attribute>
|
|
</mbean>
|
|
|
|
<!--
|
|
| The CachedConnectionManager is used partly to relay started UserTransactions to
|
|
| open connections so they may be enrolled in the new tx.
|
|
-->
|
|
<mbean code="org.jboss.resource.connectionmanager.CachedConnectionManager"
|
|
name="jboss.jca:service=CachedConnectionManager">
|
|
<depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager</depends>
|
|
|
|
<!-- Enable connection close debug monitoring -->
|
|
<attribute name="Debug">true</attribute>
|
|
|
|
</mbean>
|
|
|
|
</server>
|