[jboss-cvs] JBossAS SVN: r89544 - trunk/server/src/etc/deploy.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri May 29 20:02:40 EDT 2009


Author: david.lloyd at jboss.com
Date: 2009-05-29 20:02:39 -0400 (Fri, 29 May 2009)
New Revision: 89544

Modified:
   trunk/server/src/etc/deploy/thread-pool-jboss-beans.xml
Log:
Just use a thread factory executor for now, until the kinks get worked out of JBTHR for long-running, queueless pools

Modified: trunk/server/src/etc/deploy/thread-pool-jboss-beans.xml
===================================================================
--- trunk/server/src/etc/deploy/thread-pool-jboss-beans.xml	2009-05-29 23:22:13 UTC (rev 89543)
+++ trunk/server/src/etc/deploy/thread-pool-jboss-beans.xml	2009-05-30 00:02:39 UTC (rev 89544)
@@ -39,17 +39,12 @@
             <keepalive-time time="30" unit="seconds"/>
             <reject-policy name="block"/>
         </thread-pool-executor>
-
-       <!--
-         ~ This thread pool is for LONG-RUNNING tasks that may block for extended periods of time.
-         -->
-        <!-- commented out for now due to a couple Threads bugs, to be resolved in 1.0.1.GA -->
-        <!--<thread-pool-executor name="LongRunningTasksThreadPool" thread-factory="SystemThreadFactory" queue-length="0" allow-core-timeout="true">-->
-        <thread-pool-executor name="LongRunningTasksThreadPool" thread-factory="SystemThreadFactory" queue-length="1">
-           <core-pool-size count="1"/>
-           <max-pool-size count="100000"/>
-           <keepalive-time time="60" unit="seconds"/>
-           <reject-policy name="abort"/>
-        </thread-pool-executor>
     </threads>
+
+    <bean name="LongRunningTasksThreadPool" class="java.util.concurrent.Executor">
+        <constructor factoryClass="org.jboss.threads.JBossExecutors" factoryMethod="threadFactoryExecutor">
+            <parameter><inject bean="SystemThreadFactory"/></parameter>
+        </constructor>
+    </bean>
+
 </deployment>
\ No newline at end of file




More information about the jboss-cvs-commits mailing list