EJB fails to read xml when invoked via ESB in JBoss SOA

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content