JBOSS - Global modules - profiles modules.xml

JBOSS global modules is one of the best feature provided by JBOSS to share all common jars / libraries in one place to be used across all WAR / EARs deployed.

To used jboss global modules we need to writed module.xml with list of jars under
/export/opt/jboss/jboss-eap-6.3/modules//../
/module.xml


Example : /export/opt/jboss/jboss-eap-6.3/modules/com/abc/main/module.xml

After having this module.xml and copying the required jars into dir :
/export/opt/jboss/jboss-eap-6.3/modules/com/abc/main

We need to add entry to the
domain.xml


               
                  
               

                false
                true
                false
   


But this is very important to add under rite profile. For example if you want to share these global modules under default profile your servers also should fall under the same default profile.
If you server exists under a group which follows full profile you should have this entry in the full profile.


0 comments to "JBOSS - Global modules - profiles modules.xml "

Post a Comment

Whoever writes Inappropriate/Vulgar comments to context, generally want to be anonymous …So I hope U r not the one like that?
For lazy logs, u can at least use Name/URL option which doesn’t even require any sign-in, The good thing is that it can accept your lovely nick name also and the URL is not mandatory too.
Thanks for your patience
~Krishna(I love "Transparency")

Popular Posts

Enter your email address:

Buffs ...

Tags


Powered by WidgetsForFree

Archives