weblogic version: 10.3.2
一、使用WebLogic 8.1 Thread Pool Model
10.3.2官方文档:http://docs.oracle.com/cd/E15523_01/web.1111/e13814/appb_queues.htm#i1050864
<execute-queue>
<name>default</name>
<thread-count>1800</thread-count>
<threads-maximum>1800</threads-maximum>
</execute-queue>
<max-open-sock-count>-1</max-open-sock-count>
<stuck-thread-max-time>600</stuck-thread-max-time>
<stuck-thread-timer-interval>60</stuck-thread-timer-interval>
<use81-style-execute-queues>true</use81-style-execute-queues>
二、
下面地文字引用: http://hi.baidu.com/mfktafd/item/a505f6e043bd1911595dd8ea
第一方法:直接在启动命令里加上.
-Dweblogic.threadpool.MinPoolSize=800 -Dweblogic.threadpool.MaxPoolSize=800
我是在setDomainEnv.sh 里的JAVA_OPTIONS中加的我公司机子上测试可以通过
第二方法:直接在配置文件中加上
1,在CONFIG.XML中的
<server>
<name>Adminserver</name>
<self-tuning-thread-pool-size-min>1000</self-tuning-thread-pool-size-min>
<self-tuning-thread-pool-size-max>1000</self-tuning-thread-pool-size-max>
...
</server>
2、在startweblogic.cmd脚本中加入一下java启动参数:
-Dweblogic.configuration.schemaValidationEnabled=false (注我在11G上加不加这个上面配置的线程数都可以用)
我在我机子上测试通过.