Bugzilla – Bug 5752
Weld reinitializes for every bean lookup
Last modified: 2015-09-01 20:48:31 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
Fixed in https://github.com/WASdev/standards.jsr352.jbatch/commit/b1a178619a2d7741f86bf0eecb2040ed9501eed7.
Fixed in 1.0.1 release.