User: d_jencks
  Date: 01/09/08 10:08:32

  Modified:    src/etc/conf/default jboss-service.xml
  Log:
  Modified classloading/deployment mechanism so undpeloy works, and implemented sar 
dependency management and recursive .sar deployment
  
  Revision  Changes    Path
  1.7       +25 -81    jboss/src/etc/conf/default/jboss-service.xml
  
  Index: jboss-service.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/jboss-service.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- jboss-service.xml 2001/09/06 21:48:42     1.6
  +++ jboss-service.xml 2001/09/08 17:08:32     1.7
  @@ -7,7 +7,7 @@
   <!--                                                                       -->
   <!-- ===================================================================== -->
   
  -<!-- $Id: jboss-service.xml,v 1.6 2001/09/06 21:48:42 dmaplesden Exp $ -->
  +<!-- $Id: jboss-service.xml,v 1.7 2001/09/08 17:08:32 d_jencks Exp $ -->
   
   <!-- 
      |  This is where you can add and configure your MBeans.
  @@ -51,7 +51,6 @@
         javax.servlet.jar,
         javax-sasl.jar,
         jaxp.jar,
  -      jbosscx.jar,
         jbossha.jar,
         jboss-j2ee.jar,
         jboss.jar,
  @@ -170,13 +169,6 @@
     <!-- to ConnectionFactoryLoader                                           -->
     <!-- ==================================================================== -->
   
  -  <mbean code="org.jboss.jdbc.JdbcProvider" 
  -      name="JBOSS-SYSTEM:service=JdbcProvider">
  -     <attribute name="Drivers">
  -       org.hsql.jdbcDriver
  -       </attribute>
  -  </mbean>
  -
     <mbean code="org.jboss.jdbc.HypersonicDatabase" 
         name="JBOSS-SYSTEM:service=Hypersonic">
       <attribute name="Port">1476</attribute>
  @@ -192,53 +184,7 @@
     <!-- JBoss and do not need further configuration.                         -->
     <!-- ==================================================================== -->
   
  -  <mbean code="org.jboss.resource.RARDeployer" 
  -      name="JCA:service=RARDeployer">
  -  </mbean>
  -
  -  <!-- 
  -     | Minerva no transaction connection manager factory.
  -     |
  -     | Use this for resource adapters that don't support transactions.
  -   -->
  -  <mbean code="org.jboss.resource.ConnectionManagerFactoryLoader"
  -         
name="JCA:service=ConnectionManagerFactoryLoader,name=MinervaNoTransCMFactory">
  -    <attribute name="FactoryName">MinervaNoTransCMFactory</attribute>
  -    <attribute name="FactoryClass">
  -      org.jboss.pool.connector.jboss.MinervaNoTransCMFactory
  -    </attribute>
  -    <attribute name="Properties"></attribute>
  -  </mbean>
  -
  -  <!-- 
  -     | Minerva local transaction connection manager factory.
  -     |
  -     | Use this for resource adapters that support "local" transactions.
  -   -->
  -  <mbean code="org.jboss.resource.ConnectionManagerFactoryLoader"
  -         
name="JCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory">
  -    <attribute name="FactoryName">MinervaSharedLocalCMFactory</attribute>
  -    <attribute name="FactoryClass">
  -      org.jboss.pool.connector.jboss.MinervaSharedLocalCMFactory
  -    </attribute>
  -    <attribute name="Properties"></attribute>
  -  </mbean>
  -
     <!-- 
  -     | Minerva XA transaction connection manager factory
  -     |
  -     | Use this for resource adapters that support "xa" transactions.
  -   -->
  -  <mbean code="org.jboss.resource.ConnectionManagerFactoryLoader"
  -         name="JCA:service=ConnectionManagerFactoryLoader,name=MinervaXACMFactory">
  -    <attribute name="FactoryName">MinervaXACMFactory</attribute>
  -    <attribute name="FactoryClass">
  -      org.jboss.pool.connector.jboss.MinervaXACMFactory
  -    </attribute>
  -    <attribute name="Properties"></attribute>
  -  </mbean>
  -
  -  <!-- 
        | Example database connections using resource adapters.  
        | The first is incomplete.
      -->
  @@ -253,12 +199,12 @@
        |
     <mbean code="org.jboss.resource.ConnectionFactoryLoader"
            name="JCA:service=ConnectionFactoryLoader,name=XAMinervaDS">
  -    <attribute name="FactoryName">XAMinervaDS</attribute>
  +    <attribute name="JndiName">XAMinervaDS</attribute>
       <attribute name="RARDeployerName">JCA:service=RARDeployer</attribute>
       <attribute name="ResourceAdapterName">
         Minerva JDBC XA Resource Adapter
       </attribute>
  -    <attribute name="Properties">
  +    <attribute name="ManagedConnectionFactoryProperties">
         XADataSourceClass=YourXADataSourceClassNameHere
         SomeOtherPropertySuchAsURL=url=urltomydatabase
       </attribute>
  @@ -271,15 +217,15 @@
         #PoolConfiguration=per-factory
   
         # Connection pooling properties - see
  -      # org.jboss.pool.PoolParameters
  +      # org.jboss.resource.connectionmanager.PoolParameters
         MinSize=0
         MaxSize=10
  -      Blocking=true
  +      BlockingTimeoutMillis=10000
         GCEnabled=false
         IdleTimeoutEnabled=false
         InvalidateOnError=false
         TrackLastUsed=false
  -      GCIntervalMillis=120000
  +      CleanupIntervalMillis=120000
         GCMinIdleMillis=1200000
         IdleTimeoutMillis=1800000
         MaxIdleTimeoutPercent=1.0
  @@ -289,8 +235,8 @@
         org.jboss.resource.security.ManyToOnePrincipalMapping
       </attribute>
       <attribute name="PrincipalMappingProperties">
  -      userName=sa
  -      password=
  +      UserName=sa
  +      Password=
       </attribute>
     </mbean>
     -->
  @@ -355,11 +301,13 @@
        |
        | You can keep running with your XADataSourceLoader mbeans... 
        | but they will go away in a future jboss release.  Why not convert now?
  -   -->
  +   - ->
         <mbean code="org.jboss.resource.ConnectionFactoryLoader" 
         name="JBOSS-SYSTEM:service=ConnectionFactoryLoader,name=DefaultDS">
  -    <attribute 
name="Properties">ConnectionURL=jdbc:HypersonicSQL:hsql://localhost:1476</attribute>
  -    <attribute name="FactoryName">DefaultDS</attribute>
  +    <attribute 
name="ManagedConnectionFactoryProperties">ConnectionURL=jdbc:HypersonicSQL:hsql://localhost:1476
  +  DriverClass=org.hsql.jdbcDriver
  +  UserName=sa</attribute>
  +    <attribute name="JndiName">DefaultDS</attribute>
       <attribute name="TransactionManagerName">java:/TransactionManager</attribute>
       <attribute name="ResourceAdapterName">Minerva JDBC LocalTransaction 
ResourceAdapter</attribute>
       <attribute name="RARDeployerName">JCA:service=RARDeployer</attribute>
  @@ -367,12 +315,12 @@
       <attribute name="ConnectionManagerProperties">#
         #Wed Aug 15 16:17:29 EDT 2001
         InvalidateOnError=false
  -      Blocking=true
  +      BlockingTimeoutMillis=500000
         IdleTimeoutMillis=1800000
         MaxSize=10
         TimestampUsed=false
         IdleTimeoutEnabled=false
  -      GCIntervalMillis=120000
  +      CleanupIntervalMillis=120000
         MinSize=0
         GCMinIdleMillis=1200000
         GCEnabled=false
  @@ -381,9 +329,9 @@
       <attribute name="PrincipalMappingClass">
         org.jboss.resource.security.ManyToOnePrincipalMapping
      </attribute>
  -    <attribute name="PrincipalMappingProperties">userName=sa</attribute>
  +    <attribute name="PrincipalMappingProperties">UserName=sa</attribute>
     </mbean>
  -  
  +-->  
   
     <!-- ==================================================================== -->
     <!-- JBoss Server Management                                              -->
  @@ -531,25 +479,23 @@
       </attribute>
     </mbean>
   
  -  <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
  +  <!-- JMS XA Resource adapter, use this to get transacted JMS in beans - ->
     <mbean code="org.jboss.resource.ConnectionFactoryLoader"
            name="JCA:service=ConnectionFactoryLoader,name=JmsXA">
  -    <attribute name="FactoryName">JmsXA</attribute>
  +    <attribute name="JndiName">JmsXA</attribute>
       <attribute name="RARDeployerName">JCA:service=RARDeployer</attribute>
       <attribute name="ResourceAdapterName">JMS Adapter</attribute>
       <attribute name="ConnectionManagerFactoryName">MinervaXACMFactory</attribute>
  -    <!-- See the documentation for the specific connection manager
  -         implementation you are using for the properties you can set -->
       <attribute name="ConnectionManagerProperties">
         # Pool type - uncomment to force, otherwise it is the default
         #PoolConfiguration=per-factory
   
         # Connection pooling properties - see
  -      # org.jboss.pool.PoolParameters
  +      # org.jboss.resource.connectionmanager.PoolParameters
         MinSize=0
         MaxSize=10
  -      Blocking=true
  -      GCEnabled=false
  +      BlockingTimeoutMillis=5000
  +      CleanupEnabled=false
         IdleTimeoutEnabled=false
         InvalidateOnError=false
         TrackLastUsed=false
  @@ -559,13 +505,12 @@
         MaxIdleTimeoutPercent=1.0
       </attribute>
   
  -    <!-- Principal mapping configuration -->
       <attribute name="PrincipalMappingClass">
         org.jboss.resource.security.ManyToOnePrincipalMapping
       </attribute>
       <attribute name="PrincipalMappingProperties">
       </attribute>
  -  </mbean>
  +  </mbean>-->
   
   
     <!-- ==================================================================== -->
  @@ -606,9 +551,8 @@
   
     <mbean code="org.jboss.deployment.AutoDeployer" 
name="JBOSS-SYSTEM:service=AutoDeployer">
       <attribute name="Deployers">
  -      JCA:service=RARDeployer;
  -             JBOSS-SYSTEM:service=ServiceDeployer;
  -        J2EE:service=J2eeDeployer
  +      JBOSS-SYSTEM:service=ServiceDeployer;
  +      J2EE:service=J2eeDeployer
       </attribute>
       <attribute name="URLs">
         ../deploy/lib,
  
  
  

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

Reply via email to