[jboss-cvs] JBossAS SVN: r90664 - in branches/JBPAPP_5_0: connector/src/resources/jca-sar and 2 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Jun 27 22:39:47 EDT 2009


Author: smarlow at redhat.com
Date: 2009-06-27 22:39:46 -0400 (Sat, 27 Jun 2009)
New Revision: 90664

Added:
   branches/JBPAPP_5_0/connector/src/resources/jca-sar/jca-jboss-beans-production.xml
   branches/JBPAPP_5_0/profileservice/src/resources/hdscanner-jboss-beans-production.xml
   branches/JBPAPP_5_0/server/src/resources/uuid-key-generator/META-INF/jboss-service-production.xml
Modified:
   branches/JBPAPP_5_0/build/build-distr.xml
   branches/JBPAPP_5_0/build/build.xml
Log:
JBPAPP-2052 Production profile for EAP 5

Modified: branches/JBPAPP_5_0/build/build-distr.xml
===================================================================
--- branches/JBPAPP_5_0/build/build-distr.xml	2009-06-28 02:01:32 UTC (rev 90663)
+++ branches/JBPAPP_5_0/build/build-distr.xml	2009-06-28 02:39:46 UTC (rev 90664)
@@ -562,6 +562,7 @@
       </fileset>
       <fileset dir="${_module.output}/resources/jca-sar">
         <include name="jca-jboss-beans.xml"/>
+        <include name="jca-jboss-beans-production.xml"/>
       </fileset>
     </copy>
     <copy todir="${install.all.deploy}" filtering="no">
@@ -1873,6 +1874,8 @@
     <!-- Copy the profileservice hdscanner bean to deploy -->
     <copy todir="${install.server}/all/deploy/"
       file="${_module.output}/resources/hdscanner-jboss-beans.xml" />
+    <copy todir="${install.server}/all/deploy/"
+      file="${_module.output}/resources/hdscanner-jboss-beans-production.xml" />
     <!-- Copy the profileservice beans to deploy -->
     <copy todir="${install.server}/all/deploy/"
       file="${_module.output}/resources/profileservice-jboss-beans.xml" />

Modified: branches/JBPAPP_5_0/build/build.xml
===================================================================
--- branches/JBPAPP_5_0/build/build.xml	2009-06-28 02:01:32 UTC (rev 90663)
+++ branches/JBPAPP_5_0/build/build.xml	2009-06-28 02:39:46 UTC (rev 90664)
@@ -961,11 +961,29 @@
 
     <!-- move production config files to the names that are used -->
 	 <move file="${install.production}/conf/jboss-log4j-production.xml" tofile="${install.production}/conf/jboss-log4j.xml"/>
+	 <move file="${install.production}/deploy/jca-jboss-beans-production.xml" tofile="${install.production}/deploy/jca-jboss-beans.xml"/>
+	 <move file="${install.production}/deploy/hdscanner-jboss-beans-production.xml" tofile="${install.production}/deploy/hdscanner-jboss-beans.xml"/>
+	 <move file="${install.production}/deploy/uuid-key-generator.sar/META-INF/jboss-service-production.xml" tofile="${install.production}/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml"/>
 
     <!-- delete production litter -->
     <delete file="${install.production}/conf/jboss-log4j-production.xml"/>
     <delete file="${install.all}/conf/jboss-log4j-production.xml"/>
 
+	 <delete file="${install.production}/deploy/jca-jboss-beans-production.xml"/>	
+	 <delete file="${install.all}/deploy/jca-jboss-beans-production.xml"/>	
+	 <delete file="${install.standard}/deploy/jca-jboss-beans-production.xml"/>	
+	 <delete file="${install.default}/deploy/jca-jboss-beans-production.xml"/>	
+
+	 <delete file="${install.production}/deploy/hdscanner-jboss-beans-production.xml"/>	
+	 <delete file="${install.all}/deploy/hdscanner-jboss-beans-production.xml"/>	
+	 <delete file="${install.standard}/deploy/hdscanner-jboss-beans-production.xml"/>	
+	 <delete file="${install.default}/deploy/hdscanner-jboss-beans-production.xml"/>	
+
+	 <delete file="${install.production}/deploy/uuid-key-generator.sar/META-INF/jboss-service-production.xml"/>
+	 <delete file="${install.all}/deploy/uuid-key-generator.sar/META-INF/jboss-service-production.xml"/>	
+	 <delete file="${install.standard}/deploy/uuid-key-generator.sar/META-INF/jboss-service-production.xml"/>
+	 <delete file="${install.default}/deploy/uuid-key-generator.sar/META-INF/jboss-service-production.xml"/>	
+
     <!-- Build server/minimal manually -->
     <mkdir dir="${install.minimal.deploy}"/>
     <mkdir dir="${install.minimal.deployers}"/>

Added: branches/JBPAPP_5_0/connector/src/resources/jca-sar/jca-jboss-beans-production.xml
===================================================================
--- branches/JBPAPP_5_0/connector/src/resources/jca-sar/jca-jboss-beans-production.xml	                        (rev 0)
+++ branches/JBPAPP_5_0/connector/src/resources/jca-sar/jca-jboss-beans-production.xml	2009-06-28 02:39:46 UTC (rev 90664)
@@ -0,0 +1,58 @@
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+  <!-- ==================================================================== -->
+  <!-- JBossCX setup, for J2EE connector architecture support               -->
+  <!-- ==================================================================== -->
+
+  <!-- THREAD POOL -->
+  <bean name="WorkManagerThreadPool" class="org.jboss.util.threadpool.BasicThreadPool">
+
+     <!-- Expose via JMX -->  
+     <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.jca:service=WorkManagerThreadPool", exposedInterface=org.jboss.util.threadpool.BasicThreadPoolMBean.class)</annotation>
+  
+     <!-- The name that appears in thread names -->
+     <property name="name">WorkManager</property>
+
+     <!-- The maximum amount of work in the queue -->
+     <property name="maximumQueueSize">1024</property>
+
+     <!-- The maximum number of active threads -->
+     <property name="maximumPoolSize">100</property>
+
+     <!-- How long to keep threads alive after their last work (default one minute) -->
+     <property name="keepAliveTime">60000</property>
+
+  </bean>
+
+  <!-- WORK MANAGER -->
+  <bean name="WorkManager" class="org.jboss.resource.work.JBossWorkManager">
+
+     <!-- Expose via JMX -->  
+     <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.jca:service=WorkManager", exposedInterface=org.jboss.resource.work.JBossWorkManagerMBean.class)</annotation>
+
+     <!-- The thread pool -->
+     <property name="threadPool"><inject bean="WorkManagerThreadPool"/></property>
+     
+     <!-- The xa terminator --> 
+     <property name="XATerminator"><inject bean="TransactionManager" property="XATerminator"/></property>
+  
+  </bean>
+
+  <!-- CACHED CONNECTION MANAGER --> 
+  <bean name="CachedConnectionManager" class="org.jboss.resource.connectionmanager.CachedConnectionManager"> 
+
+     <!-- Expose via JMX -->  
+     <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.jca:service=CachedConnectionManager", exposedInterface=org.jboss.resource.connectionmanager.CachedConnectionManagerMBean.class)</annotation>
+
+     <!-- Whether to track unclosed connections and close them -->
+     <property name="debug">false</property>
+
+     <!-- Whether to throw an error for unclosed connections (true) or just log a warning (false) -->
+     <property name="error">false</property>
+    
+     <!-- The transaction manager -->
+     <property name="transactionManager"><inject bean="TransactionManager" property="transactionManager"/></property>
+
+  </bean>
+
+</deployment>

Added: branches/JBPAPP_5_0/profileservice/src/resources/hdscanner-jboss-beans-production.xml
===================================================================
--- branches/JBPAPP_5_0/profileservice/src/resources/hdscanner-jboss-beans-production.xml	                        (rev 0)
+++ branches/JBPAPP_5_0/profileservice/src/resources/hdscanner-jboss-beans-production.xml	2009-06-28 02:39:46 UTC (rev 90664)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    Hot deployment scanning
+    
+    $Id: hdscanner-jboss-beans.xml 85817 2009-03-13 12:19:25Z alesj $
+-->
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+    <!-- Hotdeployment of applications -->
+    <bean name="HDScanner" class="org.jboss.system.server.profileservice.hotdeploy.HDScanner">
+        <property name="deployer"><inject bean="ProfileServiceDeployer"/></property>
+        <property name="profileService"><inject bean="ProfileService"/></property>
+        <property name="scanPeriod">60000</property>
+        <property name="scanThreadName">HDScanner</property>
+    </bean>
+
+    <bean name="ToolsDeploymentScanner" class="org.jboss.system.tools.DeploymentScanner">
+      <constructor>
+        <parameter><inject bean="ProfileServiceDeploymentRepositoryAdapter"/></parameter>
+      </constructor>
+      <property name="serverConfig"><inject bean="JBossServer" property="config"/></property>
+    </bean>
+
+    <bean name="ProfileServiceDeploymentRepositoryAdapter" class="org.jboss.system.tools.ProfileServiceDeploymentRepositoryAdapter">
+      <constructor>
+        <parameter><inject bean="HDScanner"/></parameter>
+        <parameter><inject bean="ProfileService"/></parameter>
+        <parameter><inject bean="StructureModificationChecker"/></parameter>
+      </constructor>
+    </bean>
+
+</deployment>

Added: branches/JBPAPP_5_0/server/src/resources/uuid-key-generator/META-INF/jboss-service-production.xml
===================================================================
--- branches/JBPAPP_5_0/server/src/resources/uuid-key-generator/META-INF/jboss-service-production.xml	                        (rev 0)
+++ branches/JBPAPP_5_0/server/src/resources/uuid-key-generator/META-INF/jboss-service-production.xml	2009-06-28 02:39:46 UTC (rev 90664)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  UUID Key Generator Factory Service Configuration                     -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<server>
+
+  <!-- UUIDKeyGeneratorFactoryService -->
+  <mbean code="org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactoryService"
+         name="jboss:service=KeyGeneratorFactory,type=UUID">
+     <depends>jboss:service=Naming</depends>
+  </mbean>
+
+  <!-- HiLoKeyGeneratorFactory -->
+  <mbean code="org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory"
+         name="jboss:service=KeyGeneratorFactory,type=HiLo">
+
+     <depends>jboss:service=TransactionManager</depends>
+
+     <!-- Attributes common to HiLo factory instances -->
+
+     <!-- DataSource JNDI name -->
+     <depends optional-attribute-name="DataSource">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
+
+     <!-- table name -->
+     <attribute name="TableName">HILOSEQUENCES</attribute>
+
+     <!-- Column that contains sequence name -->
+     <attribute name="SequenceColumn">SEQUENCENAME</attribute>
+
+     <!-- Column that contains hi values -->
+     <attribute name="IdColumnName">HIGHVALUES</attribute>
+
+     <!-- Create table DDL - DDL should be in a single line without line breaks to work with DB2 7.2 -->
+     <attribute name="CreateTableDdl">
+        create table HILOSEQUENCES (SEQUENCENAME varchar(50) not null, HIGHVALUES integer not null, constraint hilo_pk primary key (SEQUENCENAME))
+     </attribute>
+
+     <!-- Uncomment to make it cluster-safe: Select current Hi value query (FOR UPDATE is recommended)  -->
+     <attribute name="SelectHiSql">
+        select HIGHVALUES from HILOSEQUENCES where SEQUENCENAME='general' FOR UPDATE
+     </attribute>                                                  
+
+     <!-- whether the table should be created (if doesn't exist yet) at the start phase -->
+     <attribute name="CreateTable">true</attribute>
+
+     <!-- whether the table should be dropped (if exists) at the stop phase -->
+     <attribute name="DropTable">false</attribute>
+
+     <!-- Instance-specific attributes -->
+
+     <!-- JNDI name -->
+     <attribute name="FactoryName">HiLoKeyGeneratorFactory</attribute>
+
+     <!-- Sequence name which this factory will use -->
+     <attribute name="SequenceName">general</attribute>
+
+     <!-- Block size -->
+     <attribute name="BlockSize">10</attribute>
+  </mbean>
+
+</server>
+




More information about the jboss-cvs-commits mailing list