EJB fails to read xml when invoked via ESB in JBoss SOA
Issue
- We have an isolated esb and an isolated ear with an ejb
- The issue is when the esb invokes the ejb via the ejbprocessor, the ejb fails to load an xml file which is packaged in the ejb jar.
- Apache Commons Configuration is used to read the configuration xml (looking at source it uses the Thread context classloader when locating the resource)
- In testing if the client calling the ejb is withing the ear with the ejb / configuration xml, it is able to load the xml sucesssfully.
Environment
- JBoss Service Oriented Architecture (SOA) 4.3 CP01
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.