Author: rmannibucau
Date: Mon Aug 31 16:00:54 2015
New Revision: 1700269

URL: http://svn.apache.org/r1700269
Log:
adding a word on ServicePool configuration

Added:
    tomee/site/trunk/content/services.mdtext

Added: tomee/site/trunk/content/services.mdtext
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/services.mdtext?rev=1700269&view=auto
==============================================================================
--- tomee/site/trunk/content/services.mdtext (added)
+++ tomee/site/trunk/content/services.mdtext Mon Aug 31 16:00:54 2015
@@ -0,0 +1,16 @@
+Title: ServicePool and Services
+
+OpenEJB and TomEE services using ServicePool as wrapper - for instance ejbd 
service or all services not implementing SelfManaging interface - support some 
additional configuration due
+to the pooling. Here is the list of the additional properties (either 
configure them in the service configuration file in 
conf/conf.d/${service}.properties or in conf/system.properties prefixing them 
by “{service}.”).
+
+Basically using ServicePool the service is associated to a ThreadPoolExecutor 
and this one is configured with these properties (see ThreadPoolExecutor 
constructor for the detail):
+
+* threadsCore (default 10)
+* threads (default 150)
+* queue (default threadCore-1)
+* block (default true)
+* keepAliveTime (default 60000)
+
+Additionally you can force the socket to be closed after each request (this is 
an advanced setting, use it with caution):
+
+* forceSocketClose (default true)


Reply via email to