Bug 5752

Summary: Weld reinitializes for every bean lookup
Product: jbatch Reporter: justinwesley
Component: RIAssignee: ScottKurz
Severity: major CC: issues
Priority: P5    
Version: 1   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Whiteboard: RI_only

Description justinwesley 2014-01-29 17:16:46 UTC
class WeldSEBatchArtifactFactoryImpl will re-initialize Weld for every component lookup. This causes problems with the lookup of batch artifacts. Weld should only be initialized once throughout the JVM.

Example code can be found at https://github.com/justin-wesley/jbatch-bug
Comment 1 ScottKurz 2015-09-01 20:48:31 UTC
Fixed in https://github.com/WASdev/standards.jsr352.jbatch/commit/b1a178619a2d7741f86bf0eecb2040ed9501eed7.

Fixed in 1.0.1 release.