swapnil narvekar [
http://community.jboss.org/people/swapnil_narya] created the discussion
"Re: How to isolate ClassLoader in JBoss 6"
To view the discussion, visit:
http://community.jboss.org/message/640556#640556
--------------------------------------------------------------
Hi Ales ,
Thanks fro a reply.
Actually I have made following changes in jboss-classloading.xml.
and it helped to got rid of this exception.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!--See
http://phytodata.wordpress.com/2010/10/21/demystifying-the-jboss5-jboss-c...
http://phytodata.wordpress.com/2010/10/21/demystifying-the-jboss5-jboss-c...
<classloading xmlns="urn:jboss:classloading:1.0"
name="test.war"
domain="test"
parent-first="false"
export-all="NON_EMPTY"
import-all="true">
<parent-policy>
<before-filter>
<javabean xmlns="urn:jboss:javabean:2.0"
class="org.jboss.classloader.plugins.filter.NegatingClassFilter">
<constructor>
<parameter>
<javabean xmlns="urn:jboss:javabean:2.0"
class="org.jboss.classloader.spi.filter.PackageClassFilter">
<constructor>
<parameter>org.hibernate,org.apache.commons.collections,com.sun.mail.smtp</parameter>
</constructor>
</javabean>
</parameter>
</constructor>
</javabean>
</before-filter>
</parent-policy>
</classloading>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
after making these changes my web application deployed successfully.
But when I tried to login into my web-application by login-form it gave an excpetion.
*java.lang.LinkageError : LoaderConstraintException*
*
*
please refer the link where I mentioned the complete scenario.
http://community.jboss.org/message/640547#640547#640547
http://community.jboss.org/message/640547#640547
I request you to read that scenario.
*
*
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/640556#640556]
Start a new discussion in JBoss Microcontainer at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]