JBossWeb WildFly Subsystem Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 13: Line 13:
</blockquote>
</blockquote>


For more details on the JBossWeb threading model, see:
Aside from the threads that handle requests, JBossWeb uses two more:


<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
<pre>
:[[JBossWeb Concepts#Threading_Model|JBossWeb Threading Model]]
"http-bluehost/1.2.3.4:8080-Acceptor-0" daemon prio=10 tid=0x00002aed88141800 nid=0x7022 runnable [0x00002aed8c402000]
</blockquote>
"http-bluehost/1.2.3.4:8080-Poller" daemon prio=10 tid=0x00002aed88140800 nid=0x7020 in Object.wait() [0x00002aed8c301000]
</pre>
 
=Valve=
 
{{Internal|Tomcat_Concepts#Valve|Tomcat Concepts - Valve}}
 
==Global Valve==
 
{{Internal|Custom_WildFly_JBossWeb_Valve#Global_Valve|Custom Global JBossWeb Valve}}
 
==Context Valve==
 
{{Internal|Custom_WildFly_JBossWeb_Valve#Context_Valve|Custom Context JBossWeb Valve}}

Latest revision as of 20:48, 8 March 2017

Internal

Threading Model

By default, the JBoss Web connectors use a built-in thread pool. More details required..

The JBoss Web connectors can be configured to use thread pools defined by the WildFly Threads Subsystem. For an example on how to configure an executor and its associated thread factory for use with a JBossWeb connector in WildFly see:

WildFly Threads Subsystem Configuration

Aside from the threads that handle requests, JBossWeb uses two more:

"http-bluehost/1.2.3.4:8080-Acceptor-0" daemon prio=10 tid=0x00002aed88141800 nid=0x7022 runnable [0x00002aed8c402000]
"http-bluehost/1.2.3.4:8080-Poller" daemon prio=10 tid=0x00002aed88140800 nid=0x7020 in Object.wait() [0x00002aed8c301000]

Valve

Tomcat Concepts - Valve

Global Valve

Custom Global JBossWeb Valve

Context Valve

Custom Context JBossWeb Valve