[jboss-dev-forums] [JBoss AS 7 Development] - Re: META-INF/seam.properties searching problem
s ls
do-not-reply at jboss.com
Mon Mar 19 04:40:11 EDT 2012
s ls [https://community.jboss.org/people/sunls] created the discussion
"Re: META-INF/seam.properties searching problem"
To view the discussion, visit: https://community.jboss.org/message/724606#724606
--------------------------------------------------------------
About this problem , I debuged it. The code that in org.jboss.modules.Module.java is executed.
log.trace("Attempting to find all resources %s in %s", canonPath, this);
final String path = pathOf(canonPath);
final Map<String, List<LocalLoader>> paths = getPathsUnchecked(exportsOnly);
final List<LocalLoader> loaders = paths.get(path);
META-INF/seam.properties is searched, "path" variable's value is "META-INF".
There are only application's module class loaders in "loaders" list, liking:
local loader for ModuleClassLoader for Module "deployment.XXXX.ear.XXXX.war:main" from Service Module Loader
local loader for ModuleClassLoader for Module "deployment.XXXX.ear:main" from Service Module Loader
local loader for ModuleClassLoader for Module "deployment.XXXX.ear.YYYY.jar:main" from Service Module Loader
local loader for ModuleClassLoader for Module "deployment.XXXX.ear.jboss-seam.jar:main" from Service Module Loader
Other module class loader are not exist.So, must jar files that include META-INF/seam.properties be place in inside of application?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/724606#724606]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120319/731f373b/attachment.html
More information about the jboss-dev-forums
mailing list