managedThreadFactory - Managed Thread Factory (managedThreadFactory)

Managed thread factory

NameTypeDefaultDescription
idstringA unique configuration ID.
contextServiceRefA reference to top level contextService element (string).DefaultContextServiceConfigures how context is propagated to threads
createDaemonThreadsbooleanfalseConfigures whether or not threads created by the managed thread factory should be daemon threads.
defaultPriorityint
Min: 1

Max: 10
Default priority for threads created by the managed thread factory. If unspecified, the priority of the creating thread is used. Priority cannot exceed the maximum priority for the managed thread factory, in which case the maximum priority is used instead.
jndiNamestringJNDI name
maxPriorityint
Min: 1

Max: 10
Maximum priority for threads created by the managed thread factory.

contextService

Configures how context is propagated to threads

NameTypeDefaultDescription
onError
  • IGNORE
  • FAIL
  • WARN
WARNDetermines the action to take in response to configuration errors. For example, if securityContext is configured for this contextService, but the security feature is not enabled, then onError determines whether to fail, raise a warning, or ignore the parts of the configuration which are incorrect.
IGNORE
Server will not issue any warning and error messages when it incurs a configuration error.
FAIL
Server will issue a warning or error message on the first error occurrence and then stop the server.
WARN
Server will issue warning and error messages when it incurs a configuration error.
baseContextRefA reference to top level contextService element (string).Specifies a base context service from which to inherit context that is not already defined on this context service.
jndiNamestringJNDI name

contextService > baseContext

Specifies a base context service from which to inherit context that is not already defined on this context service.

NameTypeDefaultDescription
idstringA unique configuration ID.
onError
  • IGNORE
  • FAIL
  • WARN
WARNDetermines the action to take in response to configuration errors. For example, if securityContext is configured for this contextService, but the security feature is not enabled, then onError determines whether to fail, raise a warning, or ignore the parts of the configuration which are incorrect.
IGNORE
Server will not issue any warning and error messages when it incurs a configuration error.
FAIL
Server will issue a warning or error message on the first error occurrence and then stop the server.
WARN
Server will issue warning and error messages when it incurs a configuration error.
baseContextRefA reference to top level contextService element (string).Specifies a base context service from which to inherit context that is not already defined on this context service.
jndiNamestringJNDI name

contextService > baseContext > baseContext

Specifies a base context service from which to inherit context that is not already defined on this context service.

contextService > baseContext > classloaderContext

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.

contextService > baseContext > jeeMetadataContext

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.

contextService > baseContext > securityContext

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.

contextService > baseContext > syncToOSThreadContext

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.

contextService > baseContext > zosWLMContext

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.
defaultTransactionClassstringASYNCBNThe Transaction Class name provided to WLM to classify work when a new WLM context is being created for non-Daemon work.
daemonTransactionClassstringASYNCDMNThe Transaction Class name provided to WLM to classify work when a new WLM context is created for Daemon work.
wlm
  • Propagate
  • PropagateOrNew
  • New
PropagateIndicates how the WLM context should be handled for non-Daemon work.
Propagate
Use the same WLM Context (if one exists).
PropagateOrNew
Use the same WLM context or create a new one if no current context exists.
New
Always create a new WLM context.

contextService > classloaderContext

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.

contextService > jeeMetadataContext

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.

contextService > securityContext

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.

contextService > syncToOSThreadContext

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.

contextService > zosWLMContext

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.
defaultTransactionClassstringASYNCBNThe Transaction Class name provided to WLM to classify work when a new WLM context is being created for non-Daemon work.
daemonTransactionClassstringASYNCDMNThe Transaction Class name provided to WLM to classify work when a new WLM context is created for Daemon work.
wlm
  • Propagate
  • PropagateOrNew
  • New
PropagateIndicates how the WLM context should be handled for non-Daemon work.
Propagate
Use the same WLM Context (if one exists).
PropagateOrNew
Use the same WLM context or create a new one if no current context exists.
New
Always create a new WLM context.