Thread Context Propagation (contextService)
Configures how context is propagated to threads
- baseContext
- classloaderContext
- jeeMetadataContext
- securityContext
- syncToOSThreadContext
- zosWLMContext
Attribute name | Data type | Default value | Description |
---|---|---|---|
baseContextRef | A 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. | |
id | string | A unique configuration ID. | |
jndiName | string | JNDI name | |
onError |
|
WARN | Determines 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.
|
- baseContext
Description: Specifies a base context service from which to inherit context that is not already defined on this context service.Required: falseData type: Attribute name Data type Default value Description baseContextRef A 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. id string A unique configuration ID. jndiName string JNDI name onError - IGNORE
- FAIL
- WARN
WARN Determines 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.
- baseContext > baseContext
Description: Specifies a base context service from which to inherit context that is not already defined on this context service.Required: falseData type: com.ibm.ws.context.service-factory
- baseContext > classloaderContext
Description: A unique configuration ID.Required: falseData type: Attribute name Data type Default value Description id string A unique configuration ID.
- baseContext > jeeMetadataContext
Description: A unique configuration ID.Required: falseData type: Attribute name Data type Default value Description id string A unique configuration ID.
- baseContext > securityContext
Description: A unique configuration ID.Required: falseData type: Attribute name Data type Default value Description id string A unique configuration ID.
- baseContext > syncToOSThreadContext
Description: A unique configuration ID.Required: falseData type: Attribute name Data type Default value Description id string A unique configuration ID.
- baseContext > zosWLMContext
Description: A unique configuration ID.Required: falseData type: Attribute name Data type Default value Description daemonTransactionClass string ASYNCDMN The Transaction Class name provided to WLM to classify work when a new WLM context is created for Daemon work. defaultTransactionClass string ASYNCBN The Transaction Class name provided to WLM to classify work when a new WLM context is being created for non-Daemon work. id string A unique configuration ID. wlm - Propagate
- PropagateOrNew
- New
Propagate Indicates 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.
- classloaderContext
Description: A unique configuration ID.Required: falseData type: Attribute name Data type Default value Description id string A unique configuration ID.
- jeeMetadataContext
Description: A unique configuration ID.Required: falseData type: Attribute name Data type Default value Description id string A unique configuration ID.
- securityContext
Description: A unique configuration ID.Required: falseData type: Attribute name Data type Default value Description id string A unique configuration ID.
- syncToOSThreadContext
Description: A unique configuration ID.Required: falseData type: Attribute name Data type Default value Description id string A unique configuration ID.
- zosWLMContext
Description: A unique configuration ID.Required: falseData type: Attribute name Data type Default value Description daemonTransactionClass string ASYNCDMN The Transaction Class name provided to WLM to classify work when a new WLM context is created for Daemon work. defaultTransactionClass string ASYNCBN The Transaction Class name provided to WLM to classify work when a new WLM context is being created for non-Daemon work. id string A unique configuration ID. wlm - Propagate
- PropagateOrNew
- New
Propagate Indicates 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.