-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
JBossAS-4.2.1.GA
-
None
-
Workaround Exists
-
A customer has reported a problem where configuring "double isolation" for web-apps causes problems.
By "double isolation" I mean JBoss is already configured to provide servlet spec style isolation
(parent delegation is false), but then the webapp configures it again in jboss-web.xml
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
xxx:loader=yyy
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
This at least causes problems when initializing a servlet context listener, e.g
with the Spring context listener
2007-07-10 12:47:04,078 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/context]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.NoClassDefFoundError: java/util/Set
at org.springframework.core.io.ClassPathResource.<init>(ClassPathResource.java:95)
at org.springframework.web.context.ContextLoader.<clinit>(ContextLoader.java:133)
at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:57)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
- is related to
-
JBAS-4536 Isolated classloading is incorrectly isolating java.* classes
- Closed