How to load resources from an ear's META-INF directory in JBoss EAP 6

Solution Verified - Updated -

Issue

  • Where is the classpath root for an ear deployed in EAP
  • In JBoss EAP 5.X the root of the context classloader classpath was the root folder of the ear and we were able to read resources out of the ear/META-INF directory, can this be done in JBoss EAP 6?

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 6.2

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