You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Reinhard Sandtner (JIRA)" <ji...@apache.org> on 2017/01/10 09:06:58 UTC
[jira] [Created] (BATCHEE-115) StepScope blows up with
ContextNotActiveException in partitioned batches
Reinhard Sandtner created BATCHEE-115:
-----------------------------------------
Summary: StepScope blows up with ContextNotActiveException in partitioned batches
Key: BATCHEE-115
URL: https://issues.apache.org/jira/browse/BATCHEE-115
Project: BatchEE
Issue Type: Bug
Components: batchee-extensions
Affects Versions: 0.5-incubating
Reporter: Reinhard Sandtner
Assignee: Reinhard Sandtner
if we use {{@StepScoped}} beans or batch artifacts in a partitioned batch we blow up with a ContextNotActiveException.
Currently the setup of the threads is done via Listeneres but the {{*StepScopeListener}}s gets only called before or after the 'parent' step while the {{*JobScopeListener}}s are called before the start of each partition thread if they are declared in batchee.properties.
Everything works fine for single threaded batches ;)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)