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-classloading-xml-file-->
<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
I request you to read that scenario.