JBoss Community

Re: how to set 'UseJBossWebLoader' in jboss-6.0.0 - CR1

created by swapnil narvekar in JBoss Microcontainer - View the full discussion

Hi Ales,

       Thanks for the reply

       Actually I am struggling to solve out LinkageErrorException.

I posted this exception here:

http://community.jboss.org/message/640741#640741

 

According to me,this happens because of two classLoaders are accessing same version of a class.

 

So i need to keep classloader isolated.

I have addedc jboss-web.xml in WEB-INF folder as follows:

 

<?xml version="1.0" encoding="UTF-8"?>

<jboss-web>

    <context-root>emhada</context-root>

    <class-loading java2ClassLoadingCompliance="false">

        <loader-repository>

            com.mastek:archive=emhada.war

        <loader-repository-config>java2ParentDelegation=false</loader-repository-config>

        </loader-repository>

    </class-loading>

</jboss-web>

 

but it did ot work out.So I decided to set UseJBossWebLoader as a false.May be because of this that problem may solve.

 

for this reason I need that property

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community