[
http://jira.jboss.com/jira/browse/JBAS-4534?page=all ]
Adrian Brock reopened JBAS-4534:
--------------------------------
Problem with "Double Isolation" configured for webapps
------------------------------------------------------
Key: JBAS-4534
URL:
http://jira.jboss.com/jira/browse/JBAS-4534
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: ClassLoading
Affects Versions: JBossAS-4.2.1.GA
Reporter: Adrian Brock
Assigned To: Adrian Brock
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira