<jboss-app>
<loader-repository>
${package-name}:archive=${unique-name}
</loader-repository>
</jboss-app>
An example:
<jboss-app>
<loader-repository>
com.shital:archive=test1
</loader-repository>
</jboss-app>
This needs to be done for each EJB which needs a scoped class loader. Make sure that unique-name in above example is unique for each EAR!
This file should be packaged in the same dir as application.xml.
No comments:
Post a Comment