How to allow applications to load external files via the classpath on JBoss

Solution Verified - Updated -

Issue

  • We have few applications in EARs and our problem is that we build a different EARs for each environment (containing environment specific property files). We would like to change the EARs to be environment neutral and have the environment specific property files deployed outside the EARs. How do we configure application specific (isolated) external classloaders in JBoss? Is there a better way of doing this without major changes to applications?

Environment

  • JBoss Enterprise Application Platform (EAP) 5.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.