Tomohisa igarashi created SWITCHYARD-626:
--------------------------------------------
Summary: Make sure to use correct TCCL when acceessing a CDI bean
Key: SWITCHYARD-626
URL:
https://issues.jboss.org/browse/SWITCHYARD-626
Project: SwitchYard
Issue Type: Bug
Components: component-bean
Affects Versions: 0.4
Reporter: Tomohisa igarashi
You will see following error when you access a CDI bean from hornetq-binding service.
According to
https://issues.jboss.org/browse/AS7-2496 , the thread context class loader
should be a one that is used to load that CDI bean. hornetq-binding service is invoked as
a HornetQ client thread so the context class loader come from HornetQ. That should be
switched when accessing a CDI bean.
{quote}
java.lang.IllegalStateException: Singleton not set for ModuleClassLoader for Module
"org.hornetq:main" from local module loader @36d1c778 (roots:
/opt/switchyard-as7-0.4/modules)
{quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira