This content has been marked as final.
Show 1 reply
-
1. Re: classloader problem with a ear + sar inside
demarco Sep 25, 2008 9:50 AM (in response to demarco)ok, we found this wiki in which it is described, but not why it works in this way...
http://wiki.jboss.org/wiki/ClassLoadingConfiguration
"There are two levels of scoping, isolation from other deployments, and isolation that overrides the loading of JBoss server classes. With nested modules, only the top level file may specify class loader scoping. If you have a .ear file containing other modules, only scoping specified in the .ear's META-INF/jboss-app.xml is used. This also applies for any other deployment which contains sub-deployments. For example, if a .sar contains a .war deployment, only the .sar META-INF/jboss-service.xml scoping has effect."
Btw I'm looking for another solution, f.e. in different packages.