Is it possible to specify absolute paths to jars in a JBoss EAP 6 module.xml?

Solution Unverified - Updated -

Issue

  • We would like to be able to specify absolute paths to jars in module.xml. For example:
<resources>
  <resource-root path="/path/to/library/mylib.jar"/>
</resources>
  • In my application I want to add a folder to a class path , I have tried by creating a module in modules\system\layers\base\ location.
    And I add the custom module in the jboss-deployment-structure.xml. It works perfectly when I add relative path in resource-root path in the module.xml , When I add absolute path in resource-root path the jboss won't add folder to class path, How I can make application to work by adding absolute path in resource-root path in the module.xml.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.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.