[jboss-user] [JBoss Microcontainer] - Re: how to set 'UseJBossWebLoader' in jboss-6.0.0 - CR1

swapnil narvekar do-not-reply at jboss.com
Mon Dec 12 05:10:42 EST 2011


swapnil narvekar [http://community.jboss.org/people/swapnil_narya] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/641028#641028

--------------------------------------------------------------
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#640741 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
[http://community.jboss.org/message/641028#641028]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111212/b0e0f6cd/attachment.html 


More information about the jboss-user mailing list