User: tobyallsopp
  Date: 01/04/14 22:41:21

  Modified:    src/etc/conf/default jboss.jcml
  Log:
  Modified AutoDeployer so that it can be configured to deploy RARs (inspired
  by Patch #415321 from David Jencks).
  
   - added jboss-deployer target to build.xml that builds
     dist/external/jboss-deployer.jar which contains the classes required by
     deployers that implement org.jboss.deployment.DeployerMBean.
   - added a method to DeployerMBean: getDeployableFilter that returns a
     java.io.FilenameFilter that AutoDeployer uses to decide what it can deploy
     rather than using a hardcoded list of filename extensions.
   - made J2eeDeployerMBean extend DeployerMBean and added an implementation
     of getDeployableFilter to J2eeDeployer.
   - updated JBossCX jar so that RARDeployer implements getDeployableFilter.
   - added an AutoDeployer watching deploy/lib and using RARDeployer to
     jboss.jcml.
   - changed the JBossCX examples in jboss.jcml to use the Minerva resource
     adapters bundled with JBoss instead of the BlackBox adapters.
   - temporarily removed the Minerva XA resource adapter until Aaron fixes it.
   - some minor cosmetic changesto jboss.jcml.
  
  Revision  Changes    Path
  1.24      +52 -22    jboss/src/etc/conf/default/jboss.jcml
  
  Index: jboss.jcml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/jboss.jcml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- jboss.jcml        2001/04/13 21:12:37     1.23
  +++ jboss.jcml        2001/04/15 05:41:21     1.24
  @@ -7,24 +7,32 @@
   -->
   
   <server>
  -  <!-- Classloading -->
  +  <!-- ==================================================================== -->
  +  <!-- Classloading                                                         -->
  +  <!-- ==================================================================== -->
     <mbean code="org.jboss.web.WebService" name="DefaultDomain:service=Webserver">
       <attribute name="Port">8083</attribute>
     </mbean>
   
  -  <!-- JNDI -->
  +  <!-- ==================================================================== -->
  +  <!-- JNDI                                                                 -->
  +  <!-- ==================================================================== -->
     <mbean code="org.jboss.naming.NamingService" name="DefaultDomain:service=Naming">
       <attribute name="Port">1099</attribute>
     </mbean>
     <mbean code="org.jboss.naming.JNDIView" name="DefaultDomain:service=JNDIView" />
   
   
  -  <!-- Transactions -->
  +  <!-- ==================================================================== -->
  +  <!-- Transactions                                                         -->
  +  <!-- ==================================================================== -->
     <mbean code="org.jboss.tm.TransactionManagerService" 
name="DefaultDomain:service=TransactionManager">
       <attribute name="TransactionTimeout">300</attribute>
     </mbean>
   
  -  <!-- Security -->
  +  <!-- ==================================================================== -->
  +  <!-- Security                                                             -->
  +  <!-- ==================================================================== -->
   
     <!-- Uncomment to enable the sample SRPVerifierStore service
     <mbean code="org.jboss.security.srp.SRPVerifierStoreService" 
name="Security:name=SRPVerifierStoreService">
  @@ -53,7 +61,10 @@
     </mbean>
   -->
   
  -  <!-- JDBC -->
  +  <!-- ==================================================================== -->
  +  <!-- JDBC                                                                 -->
  +  <!-- ==================================================================== -->
  +
     <mbean code="org.jboss.jdbc.JdbcProvider" 
name="DefaultDomain:service=JdbcProvider">
        <attribute 
name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver</attribute>
     </mbean>
  @@ -107,7 +118,9 @@
       <attribute name="MinSize">0</attribute>
     </mbean>
   
  -  <!-- J2EE deployment -->
  +  <!-- ==================================================================== -->
  +  <!-- J2EE deployment                                                      -->
  +  <!-- ==================================================================== -->
   
     <mbean code="org.jboss.ejb.ContainerFactory" name=":service=ContainerFactory">
       <attribute name="VerifyDeployments">true</attribute>
  @@ -149,8 +162,11 @@
       <attribute name="Deployer">J2EE:service=J2eeDeployer</attribute>
       <attribute name="URLs">../deploy</attribute>
     </mbean>
  +
  +  <!-- ==================================================================== -->
  +  <!-- JBossCX setup, for J2EE connector architecture support               -->
  +  <!-- ==================================================================== -->
   
  -  <!-- J2EE connector architecture -->
     <mbean code="org.jboss.resource.RARDeployer" name="JCA:service=RARDeployer">
     </mbean>
   
  @@ -187,13 +203,18 @@
       <attribute name="Properties"></attribute>
     </mbean>
   
  -  <!-- Example connection factory for the example "Black Box" resource
  -       adapter. This points at the same database as DefaultDS. -->
  +  <mbean code="org.jboss.ejb.AutoDeployer" name="JCA:service=AutoDeployer">
  +    <attribute name="Deployer">JCA:service=RARDeployer</attribute>
  +    <attribute name="URLs">../deploy/lib</attribute>
  +  </mbean>
  +
  +  <!-- Connection factory for the Minerva JDBC resource adapter. This
  +       points at the same database as DefaultDS. -->
     <mbean code="org.jboss.resource.ConnectionFactoryLoader"
  -         name="JCA:service=ConnectionFactoryLoader,name=BlackBoxDS">
  -    <attribute name="FactoryName">BlackBoxDS</attribute>
  +         name="JCA:service=ConnectionFactoryLoader,name=MinervaDS">
  +    <attribute name="FactoryName">MinervaDS</attribute>
       <attribute name="RARDeployerName">JCA:service=RARDeployer</attribute>
  -    <attribute name="ResourceAdapterName">Black Box LocalTx Adapter</attribute>
  +    <attribute name="ResourceAdapterName">Minerva JDBC LocalTransaction 
ResourceAdapter</attribute>
       <attribute name="Properties">
         ConnectionURL=jdbc:HypersonicSQL:hsql://localhost:1476
       </attribute>
  @@ -229,26 +250,26 @@
     </mbean>
   
     <!-- This is an example of using a resource adapter that supports XA
  -       transactions. The Black Box XA resource adapter requires an
  +       transactions. The Minerva XA resource adapter requires an
          XADataSource to be in JNDI somewhere. JBoss doesn't include a
          database with an XA-compliant JDBC driver, so this will need to
          be configured to use whatever XADataSource implementation you
          have.
   
     <mbean code="org.jboss.jdbc.RawXADataSourceLoader"
  -         name="DefaultDomain:service=RawXADataSourceLoader,name=BlackBoxXADS">
  -    <attribute name="PoolName">BlackBoxXADS</attribute>
  +         name="DefaultDomain:service=RawXADataSourceLoader,name=MinervaXADS">
  +    <attribute name="PoolName">MinervaXADS</attribute>
       <attribute name="DataSourceClass">Put your XADataSource implementation class 
here</attribute>
       <attribute name="Properties"></attribute>
     </mbean>
   
     <mbean code="org.jboss.resource.ConnectionFactoryLoader"
  -         name="JCA:service=ConnectionFactoryLoader,name=XABlackBoxDS">
  -    <attribute name="FactoryName">XABlackBoxDS</attribute>
  +         name="JCA:service=ConnectionFactoryLoader,name=XAMinervaDS">
  +    <attribute name="FactoryName">XAMinervaDS</attribute>
       <attribute name="RARDeployerName">JCA:service=RARDeployer</attribute>
  -    <attribute name="ResourceAdapterName">Black Box XA Adapter</attribute>
  +    <attribute name="ResourceAdapterName">Minerva JDBA XA Resource 
Adapter</attribute>
       <attribute name="Properties">
  -      XADataSourceName=java:/BlackBoxXADS
  +      XADataSourceName=java:/MinervaXADS
       </attribute>
   
       <attribute name="ConnectionManagerFactoryName">MinervaXACMFactory</attribute>
  @@ -278,8 +299,11 @@
       </attribute>
     </mbean>
     -->
  +
  +  <!-- ==================================================================== -->
  +  <!-- JMX adaptors                                                         -->
  +  <!-- ==================================================================== -->
   
  -  <!-- JMX adaptors -->
     <mbean code="org.jboss.jmx.server.JMXAdaptorService" name="Adaptor:name=RMI" />
   
     <mbean code="org.jboss.jmx.server.RMIConnectorService" name="Connector:name=RMI" 
/>
  @@ -290,7 +314,9 @@
       <attribute name="Port">8082</attribute>
     </mbean>
   
  -  <!-- Mail Connection Factory -->
  +  <!-- ==================================================================== -->
  +  <!-- Mail Connection Factory                                              -->
  +  <!-- ==================================================================== -->
     <mbean code="org.jboss.mail.MailService" name=":service=Mail">
       <attribute name="JNDIName">Mail</attribute>
       <attribute name="ConfigurationFile">mail.properties</attribute>
  @@ -298,10 +324,14 @@
       <attribute name="Password">password</attribute>
     </mbean>
   
  +  <!-- ==================================================================== -->
     <!-- Uncomment to enable JMX monitoring of the bean cache
     <mbean code="org.jboss.monitor.BeanCacheMonitor" 
name="Monitor:name=BeanCacheMonitor"/>
     -->
  +  <!-- ==================================================================== -->
   
  -  <!-- Add your custom MBeans here -->
  +  <!-- ==================================================================== -->
  +  <!-- Add your custom MBeans here                                          -->
  +  <!-- ==================================================================== -->
   
   </server>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to