User: allsopp 
  Date: 01/01/31 23:59:41

  Modified:    src/etc/conf/default jboss.jcml
  Log:
  Preliminary support for the new pluggable ConnectionManager capability. The
  old ConnectionManagerImpl is removed for now (it might come back later, but
  Minerva is almost certainly going to be all we need).
  
  This change breaks JCA. Be patient.
  
  Revision  Changes    Path
  1.16      +35 -21    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.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- jboss.jcml        2001/01/31 21:48:27     1.15
  +++ jboss.jcml        2001/02/01 07:59:41     1.16
  @@ -130,9 +130,17 @@
     </mbean>
   
     <!-- J2EE connector architecture -->
  -  <mbean code="org.jboss.resource.RARDeployer" name="J2EE:service=RARDeployer">
  +  <mbean code="org.jboss.resource.RARDeployer" name="JCA:service=RARDeployer">
     </mbean>
   
  +  <!-- Minerva connection manager factory -->
  +  <mbean code="org.jboss.resource.ConnectionManagerFactoryLoader"
  +         name="JCA:service=ConnectionManagerFactoryLoader">
  +    <attribute name="FactoryName">MinervaSharedLocalCMFactory</attribute>
  +    <attribute 
name="FactoryClass">org.opentools.minerva.connector.jboss.MinervaSharedLocalCMFactory</attribute>
  +    <attribute name="Properties"></attribute>
  +  </mbean>
  +
     <!-- This binds an XADataSource into JNDI for the example resource adapter -->
     <mbean code="org.jboss.jdbc.RawXADataSourceLoader"
            name="DefaultDomain:service=RawXADataSourceLoader,name=DefaultXADS">
  @@ -145,9 +153,9 @@
   
     <!-- Example connection factory for the connector architecture RI adapter -->
     <mbean code="org.jboss.resource.ConnectionFactoryLoader"
  -         name="J2EE:service=ConnectionFactoryLoader">
  +         name="JCA:service=ConnectionFactoryLoader">
       <attribute name="FactoryName">BlackBoxDS</attribute>
  -    <attribute name="RARDeployerName">J2EE:service=RARDeployer</attribute>
  +    <attribute name="RARDeployerName">JCA:service=RARDeployer</attribute>
       <attribute name="ResourceAdapterName">Black Box XA Adapter</attribute>
       <attribute name="Properties">XADataSourceName=java:/BlackBoxXADS</attribute>
   
  @@ -157,25 +165,31 @@
         userName=sa
         password=
       </attribute>
  +
  +    <attribute 
name="ConnectionManagerFactoryName">MinervaSharedLocalCMFactory</attribute>
   
  -    <!-- Pool strategy - uncomment to force, otherwise it is automatic
  -    <attribute name="PoolStrategy">Single</attribute>
  -    -->
  -
  -    <!-- Connection pooling properties - see
  -         org.opentools.minerva.pool.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>
  +    <!-- See the documentation for the specific connection manager
  +         implementation you are using for the properties you can set -->
  +    <attribute name="ConnectionManagerProperties">
  +      # Pool strategy - uncomment to force, otherwise it is automatic
  +      #PoolStrategy=Single
  +
  +      # Connection pooling properties - see
  +      # org.opentools.minerva.pool.ObjectPool
  +
  +      MinSize=0
  +      MaxSize=10
  +      GCMinIdleTime=1200000
  +      GCEnabled=false
  +      InvalidateOnError=false
  +      TimestampUsed=false
  +      Blocking=true
  +      GCInterval=120000
  +      IdleTimeout=1800000
  +      IdleTimeoutEnabled=false
  +      LoggingEnabled=false
  +      MaxIdleTimeoutPercent=1.0
  +    </attribute>
     </mbean>
   
     <!-- JMX adaptors -->
  
  
  

Reply via email to