Where Do I Place Shared Libraries In EAP 6
Issue
-
I wish to load some JAR files into my class path every time my server starts up. Now every time I add a JAR, do I have to create a module and have these jars copied there followed by specifying a global module in my configuration xml file and creating a module.xml in the modules folder as well? Is there a common shared lib folder where I can just drop these jar files? I do not want to keep making several changes to my standalone-full.xml file again and again every time I have to add a jar file. More importantly in our current environment we have several hundreds of JBoss servers and making custom changes to include jar files as modules for each set of servers is just not feasible.
-
Back in EAP 5.x we used to copy shared jars into the server/default/lib directory, what is the equivalent way to do this in EAP 6.x?
-
How to deploy applications have similar dependencies into same server-group in domain mode? Is there any way to define common, shared library location for each server-group?
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.
