name="<war-name>"
domain="<domain-name>"
export-all="NON_EMPTY"
import-all="true">
</classloading>
Put the above snippet in a file called jboss-classloading.xml within your WEB-INF directory and jboss will use your WARs jars instead of it's own when classloading for your application. Of course, be sure to substitute
Note: This was used with JBOSS 5.1.0 EAP. I believe it works with most new versions of jboss though.
No comments:
Post a Comment