When using CDI injection in an application that launches its own threads sometimes the following exception is thrown
java.lang.IllegalStateException: JBAS016071: Singleton not set for ModuleClassLoader for Module
How to use CDI with a thread pool?
- Red Hat JBoss Enterprise Application Platform (EAP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.