The solution :

First, edit the conf/jboss-service.xml file and set the NamingService 
CallByValue to true:


    <!-- The call by value mode. true if all lookups are unmarshalled using
      the caller's TCL, false if in VM lookups return the value by reference.
    -->
    true

      ...


Second, edit the deploy/ear-deployer.xml file and set the Isolated and 
CallByValue attributes to true:


   <!-- EAR deployer, remove if you are not using ear deployments -->
   
      <!-- A flag indicating if ear deployments should have their own scoped
      class loader to isolate their classes from other deployments.
      -->
      true
      <!-- A flag indicating if the ear components should have in VM call
      optimization disabled.
      -->
      true
   


Last, edit the deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml file and 
set the Java2ClassLoadingCompliance and UseJBossWebLoader attributes to false:



   

      <!-- Get the flag indicating if the normal Java2 parent first class
           loading model should be used over the servlet 2.3 web container first
           model.
      -->
      false

      true

      <!-- A flag indicating if the JBoss Loader should be used. This loader
           uses a unified class loader as the class loader rather than the 
tomcat
           specific class loader.
      -->
      false

        ...

            

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946162#3946162

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946162


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to