JBossWeb WildFly Subsystem Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Undo revision 17370 by Ovidiu (talk))
 
(6 intermediate revisions by the same user not shown)
Line 11: Line 11:
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[WildFly Threads Subsystem Configuration]]
:[[WildFly Threads Subsystem Configuration]]
</blockquote>
For more details on the JBossWeb threading model, see:
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[JBossWeb Concepts#Threading_Model|JBossWeb Threading Model]]
</blockquote>
</blockquote>


Line 25: Line 19:
"http-bluehost/1.2.3.4:8080-Poller" daemon prio=10 tid=0x00002aed88140800 nid=0x7020 in Object.wait() [0x00002aed8c301000]
"http-bluehost/1.2.3.4:8080-Poller" daemon prio=10 tid=0x00002aed88140800 nid=0x7020 in Object.wait() [0x00002aed8c301000]
</pre>
</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