why does mojarra 2.1 scan every other war on each module startup?
问题 We have a huge EAR application with about 20 ejb-jar and war modules. For each war module that Mojarra starts, it seems it is trying to scan annotation on every other war. Other wars are unavailable to the classloader, so I get lot of exceptions. It eventually starts anyway, but it clutters my logs with warnings, and I guess application startup time could be much less without this (+100 seconds). To make it clear, I have following structure: EAR +- ejb1 +- ejb2 +- war1 +- war2 When Mojarra