java.lang.IllegalStateException error when accessing application that uses RESTEasy Client in JBoss BPM Suite 6
Issue
- An application uses
ClientRequestto access aREST APIand when it is deployed toBPMS 6.0.xand accessed, it throws an exception similar to the following:
Caused by: java.lang.IllegalStateException: JBAS016071: Singleton not set for ModuleClassLoader for Module "deployment.bpms6-client-resteasy.war:main" from Service Module Loader. This means that you are trying to access a weld deployment with a Thread Context ClassLoader that is not associated with the deployment.
How to fix this exception ?
Environment
- Red Hat JBoss BPM Suite (BPMS)
- 6.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
