JBoss Community

Re: META-INF/seam.properties searching problem

created by s ls in JBoss AS 7 Development - View the full discussion

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

Start a new discussion in JBoss AS 7 Development at Community