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, 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