73 lines
3.4 KiB
XML
73 lines
3.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- ===================================================================== -->
|
|
<!-- -->
|
|
<!-- JBoss JCA Configuration -->
|
|
<!-- -->
|
|
<!-- ===================================================================== -->
|
|
|
|
<!-- $Id: jbossjca-service.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $ -->
|
|
|
|
<!--
|
|
| 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="XslUrl">stylesheets/ConnectionFactoryTemplate.xsl</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>
|
|
|
|
<!--SpecCompliant false means JBoss will close connections left open when you
|
|
return from a method call and generate a loud warning. SpecCompliant true
|
|
means JBoss will disconnect connection handles left open on return from a
|
|
method call and reconnect them with an appropriate (security, tx)
|
|
connection on the next call to the same object.-->
|
|
<attribute name="SpecCompliant">false</attribute>
|
|
|
|
<!-- Enable connection close debug monitoring -->
|
|
<attribute name="Debug">true</attribute>
|
|
|
|
</mbean>
|
|
|
|
</server>
|