How to add external directories/files to application classpath in JBoss EAP 5 / 4

Solution Unverified - Updated -

Issue

  • How to add external directories/files to application classpath in JBoss? I would like to place shared libraries or property files to external directory without packaging these to application.

  • Is it possible to add a single file using codebase without using any wildcard like * ?

  • We are looking for a solution for JBoss EAP 5.2 to add external jar (from a directory) in the same classloader of a webapp.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x

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.