User: allsopp
Date: 01/01/14 21:06:53
Modified: src/etc/conf/default jboss.jcml
Log:
First cut at the J2EE Connector Architecture.
Revision Changes Path
1.13 +49 -0 jboss/src/etc/conf/default/jboss.jcml
Index: jboss.jcml
===================================================================
RCS file: /products/cvs/ejboss/jboss/src/etc/conf/default/jboss.jcml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- jboss.jcml 2001/01/10 01:23:57 1.12
+++ jboss.jcml 2001/01/15 05:06:53 1.13
@@ -128,6 +128,55 @@
<attribute name="Deployer">J2EE:service=J2eeDeployer</attribute>
<attribute name="URLs">../deploy</attribute>
</mbean>
+
+ <!-- J2EE connector architecture -->
+ <mbean code="org.jboss.resource.RARDeployer" name="J2EE:service=RARDeployer">
+ </mbean>
+
+ <!-- This binds an XADataSource into JNDI for the example resource adapter -->
+ <mbean code="org.jboss.jdbc.RawXADataSourceLoader"
+ name="DefaultDomain:service=RawXADataSourceLoader,name=DefaultXADS">
+ <attribute name="PoolName">BlackBoxXADS</attribute>
+ <attribute
name="DataSourceClass">org.jboss.minerva.xa.XADataSourceImpl</attribute>
+ <attribute name="Properties">
+ URL=jdbc:HypersonicSQL:hsql://localhost:1476
+ </attribute>
+ </mbean>
+
+ <!-- Example connection factory for the connector architecture RI adapter -->
+ <mbean code="org.jboss.resource.ConnectionFactoryLoader"
+ name="J2EE:service=ConnectionFactoryLoader">
+ <attribute name="FactoryName">BlackBoxDS</attribute>
+ <attribute name="RARDeployerName">J2EE:service=RARDeployer</attribute>
+ <attribute name="ResourceAdapterName">Black Box XA Adapter</attribute>
+ <attribute name="Properties">XADataSourceName=java:/BlackBoxXADS</attribute>
+
+ <!-- Principal mapping configuration -->
+ <attribute
name="PrincipalMappingClass">org.jboss.resource.security.ManyToOnePrincipalMapping</attribute>
+ <attribute name="PrincipalMappingProperties">
+ userName=sa
+ password=
+ </attribute>
+
+ <!-- Pool strategy - uncomment to force, otherwise it is automatic
+ <attribute name="PoolStrategy">Single</attribute>
+ -->
+
+ <!-- Connection pooling properties - see
+ org.jboss.minerva.pools.ObjectPool -->
+ <attribute name="MinSize">0</attribute>
+ <attribute name="MaxSize">10</attribute>
+ <attribute name="GCMinIdleTime">1200000</attribute>
+ <attribute name="GCEnabled">false</attribute>
+ <attribute name="InvalidateOnError">false</attribute>
+ <attribute name="TimestampUsed">false</attribute>
+ <attribute name="Blocking">true</attribute>
+ <attribute name="GCInterval">120000</attribute>
+ <attribute name="IdleTimeout">1800000</attribute>
+ <attribute name="IdleTimeoutEnabled">false</attribute>
+ <attribute name="LoggingEnabled">false</attribute>
+ <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
+ </mbean>
<!-- JMX adaptors -->
<mbean code="org.jboss.jmx.server.JMXAdaptorService" name="Adaptor:name=RMI" />