User: user57  
  Date: 02/02/15 17:33:26

  Added:       src/etc/deploy hsqldb-default-service.xml jms-service.xml
                        user-service.xml
  Log:
   o cleaned up server/src/etc a bit.  Probably need to reconsider how
     we paqkage configuration files, since our notion of a configuration file
     has changed so much with the recent deployable xml stuff.
     For now just cleaning stuff up to make the build system cleaner
  
  Revision  Changes    Path
  1.1                  jboss/src/etc/deploy/hsqldb-default-service.xml
  
  Index: hsqldb-default-service.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <!-- ===================================================================== -->
  <!--                                                                       -->
  <!--  JBoss Server Configuration                                           -->
  <!--                                                                       -->
  <!-- ===================================================================== -->
  
  <!-- $Id: hsqldb-default-service.xml,v 1.1 2002/02/16 01:33:26 user57 Exp $ -->
  
  <server>
  
  
    <classpath archives="jbosscx.sar"/>
  
    <!-- ==================================================================== -->
    <!-- JDBC - Initialize the databases                                      -->
    <!-- to ConnectionFactoryLoader                                           -->
    <!-- ==================================================================== -->
  
    <mbean code="org.jboss.resource.ConnectionFactoryLoader" 
         name="jboss:service=ConnectionFactoryLoader,name=DefaultDS">
      <attribute name="ManagedConnectionFactoryProperties">
          ConnectionURL=jdbc:hsqldb:hsql://localhost:1476
          DriverClass=org.hsqldb.jdbcDriver
          UserName=sa
      </attribute>
      <attribute name="JndiName">DefaultDS</attribute>
      <attribute name="TransactionManagerName">java:/TransactionManager</attribute>
  
      <!--Anonymous depends to database being started -->
      <!--WARNING: DO NOT COPY BLINDLY! This is useful only if the database is
          started by an mbean in the jboss jmx framework! The only example of this 
          we have right now is hsqldb! Do not use a line like this for external 
          databases. -->
      <depends>jboss:service=Hypersonic</depends>
  
      <depends 
optional-attribute-name="ResourceAdapterName">jboss.jca:service=RARDeployment,name=Minerva
 JDBC LocalTransaction ResourceAdapter</depends>
      <depends 
optional-attribute-name="ConnectionManagerFactoryLoaderName">jboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory</depends>
      <attribute name="ConnectionManagerProperties">
        MinSize=0
        MaxSize=10
        BlockingTimeoutMillis=5000
        IdleTimeoutMinutes=30
        CleanupIntervalMinutes=10
        MaxIdleTimeoutPercent=1.0
      </attribute>
      <attribute name="PrincipalMappingClass">
        org.jboss.resource.security.ManyToOnePrincipalMapping
     </attribute>
      <attribute name="PrincipalMappingProperties">UserName=sa</attribute>
    </mbean>
  
    <mbean code="org.jboss.resource.ConnectionFactoryLoader" 
         name="jboss:service=ConnectionFactoryLoader,name=NoTransDS">
      <attribute name="ManagedConnectionFactoryProperties">
          ConnectionURL=jdbc:hsqldb:hsql://localhost:1476
          DriverClass=org.hsqldb.jdbcDriver
          UserName=sa
          AutoCommit=true
      </attribute>
      <attribute name="JndiName">NoTransDS</attribute>
      <attribute name="TransactionManagerName">java:/TransactionManager</attribute>
  
      <!--Anonymous depends to database being started -->
      <depends>jboss:service=Hypersonic</depends>
  
      <depends 
optional-attribute-name="ResourceAdapterName">jboss.jca:service=RARDeployment,name=Minerva
 JDBC LocalTransaction ResourceAdapter</depends>
      <depends 
optional-attribute-name="ConnectionManagerFactoryLoaderName">jboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaNoTransCMFactory</depends>
      <attribute name="ConnectionManagerProperties">
        MinSize=0
        MaxSize=10
        BlockingTimeoutMillis=5000
        IdleTimeoutMinutes=30
        CleanupIntervalMinutes=10
        MaxIdleTimeoutPercent=1.0
      </attribute>
      <attribute name="PrincipalMappingClass">
        org.jboss.resource.security.ManyToOnePrincipalMapping
     </attribute>
      <attribute name="PrincipalMappingProperties">UserName=sa</attribute>
    </mbean>
  
    <!-- Moved to end to test anonymous depends -->
  
    <mbean code="org.jboss.jdbc.HypersonicDatabase" 
         name="jboss:service=Hypersonic">
      <attribute name="Port">1476</attribute>
      <attribute name="Silent">true</attribute>
      <attribute name="Database">default</attribute>
      <attribute name="Trace">false</attribute>
    </mbean>
  
  </server>
  
  
  
  1.1                  jboss/src/etc/deploy/jms-service.xml
  
  Index: jms-service.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <server>
   
    <classpath codebase="lib/ext" archives="*"/>
  
    <!-- ==================================================================== -->
    <!-- JMS Stuff                                                            -->
    <!-- ==================================================================== -->
  
    <!-- The JMS provider loader -->
    <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
         name="jboss.mq:service=JMSProviderLoader,name=JBossMQProvider">
      <attribute name="ProviderName">DefaultJMSProvider</attribute>
      <attribute name="ProviderAdapterClass">
        org.jboss.jms.jndi.JBossMQProvider
      </attribute>
      <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
      <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
    </mbean>
  
    <!-- The server session pool for Message Driven Beans -->
    <mbean code="org.jboss.jms.asf.ServerSessionPoolLoader"
         name="jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool">
      <attribute name="PoolName">StdJMSPool</attribute>
      <attribute name="PoolFactoryClass">
        org.jboss.jms.asf.StdServerSessionPoolFactory
      </attribute>
    </mbean>
  
    <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
    <mbean code="org.jboss.resource.ConnectionFactoryLoader"
           name="jboss.jca:service=ConnectionFactoryLoader,name=JmsXA">
      <attribute name="JndiName">JmsXA</attribute>
      <depends 
optional-attribute-name="ResourceAdapterName">jboss.jca:service=RARDeployment,name=JMS 
Adapter</depends>
      <depends 
optional-attribute-name="ConnectionManagerFactoryLoaderName">jboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaXACMFactory</depends>
      <attribute name="ManagedConnectionFactoryProperties">
         SessionDefaultType=javax.jms.Topic
         #UserName=guest
         #Password=guest
       </attribute>
      <attribute name="ConnectionManagerProperties">
        # Pool type - uncomment to force, otherwise it is the default
        #PoolConfiguration=per-factory
  
        # Connection pooling properties - see
        # org.jboss.resource.connectionmanager.PoolParameters
        MinSize=0
        MaxSize=10
        BlockingTimeoutMillis=5000
        IdleTimeoutMinutes=30
        CleanupIntervalMinutes=10
        MaxIdleTimeoutPercent=1.0
      </attribute>
  
      <attribute name="PrincipalMappingClass">
        org.jboss.resource.security.ManyToOnePrincipalMapping
      </attribute>
      <attribute name="PrincipalMappingProperties">
      </attribute>
    </mbean>
  
  </server>
  
  
  
  1.1                  jboss/src/etc/deploy/user-service.xml
  
  Index: user-service.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE server>
  <!-- $Id: user-service.xml,v 1.1 2002/02/16 01:33:26 user57 Exp $ -->
  
  <!-- ===================================================================== -->
  <!--                                                                       -->
  <!--  User Service Configuration                                           -->
  <!--                                                                       -->
  <!-- ===================================================================== -->
  
  <server>
  
    <classpath codebase="lib/ext" archives="*"/>
    
    <!--
       | Add custom MBeans here.  MBeans should be registered under the
       | 'user' JMX domain, or a domain specific to the component application.
       |
       | Do not place user components in the 'jboss' domain or any sub-domain.
     -->
   
    <!-- Example Service Configuration  
  
    <mbean code="my.company.MyService" 
           name="user:service=MyService">
      <attribute name="MyAttribute">AttributeValue</attribute>
    </mbean>
    
    -->
     
  </server>
  
  
  

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

Reply via email to