Is it possible to specify absolute paths to jars in a JBoss EAP 6 module.xml?
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 thejboss-deployment-structure.xml. It works perfectly when I add relative path inresource-root pathin themodule.xml, When I add absolute path inresource-root paththe jboss won't add folder to class path, How I can make application to work by adding absolute path inresource-root pathin themodule.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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
