I need to use some external jar(s) within the apps deployed in JBoss. Environment may have multiple server instances and the apps deployed in those instances use these external files. I see several alternatives:
1. Copy the external jars to jboss_home/server/instanceN/lib (or creating sym links in this directory)
2. Modify jboss_home/server/instanceN/conf/jboss-service.xml by adding <classpath codebase....> elements.
3. Modify JBOSS_CLASSPATH in the run script. I'm getting class loading issues.
Is option 2 right one? Please give some pointers.
Thanks.
Looks like I posted this question in the wrong section :(