bounded スレッドプール設定を、EAP 6.4 から EAP 7 に移行する
Issue
- スレッドのサブシステムが EAP 7 から削除されたようです。EAP 6.4 で使用していた設定を EAP 7 でも同じように利用する必要があります。以下は EAP 6.4 の設定です。
<subsystem xmlns="urn:jboss:domain:threads:1.1">
<thread-factory name="http-connector-factory" group-name="bq-thread-pool" thread-name-pattern="HTTP-%t" priority="9"/>
<bounded-queue-thread-pool name="bq-thread-pool" allow-core-timeout="true">
<core-threads count="20"/>
<queue-length count="20"/>
<max-threads count="100"/>
<keepalive-time time="120" unit="seconds"/>
<thread-factory name="http-connector-factory"/>
</bounded-queue-thread-pool>
</subsystem>
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
