Adding of external jar file into classpath for jBoss 7

classpath, external, jar, jboss7.x

Solution

There's a directory called `modules` where you can put your jars. But to know how to do that you should read this guide. You may also create a global module that is accessible to all deployments. Look at this doc.

Problem

I would like to include external jar files into classpath for all configurations of jBoss7. Is there any way to do this without moving my files somewhere into jboss lib directories? Or better - is there any way to include all jar files in some external directory?

Original source