1 of 1 people found this helpful
This is wrong forum for this, this is only for Teiid related questions. You need to ask in AS7 forum.
Either case, In JBoss AS7, the classloader is defined through modules. Look in the modules directory. I suggest you create a module(s) based on all the common libraries and then in your EAR file's MAINIFEST.MF file define the "Dependencies" property with all the modules defined. That will place the modules in the classpath for for your EAR.
Indeed I could use modules but we prefer pure OSGI solution as our application needs to be also deployed on WebSphere.