"jaikiran" wrote : Have you configured classloading in your application? These 
might help you understand what's going on:
  | 
  | http://www.jboss.org/community/wiki/ClassCastExceptions
  | 
  | http://www.jboss.org/community/wiki/ClassLoadingConfiguration
  | 
  | http://www.jboss.org/community/wiki/JBossClassLoadingUseCases
  | 
  | 


In relation to http://www.jboss.org/community/wiki/ClassCastExceptions about 
using the JMX console of JBoss for verify duplicate deployments, the jmx 
console show me:

org.richfaces.component.UIPanelMenu Information
Not loaded in repository cache

There is no problem, and prueba.ear is the unique application in the server. 
The richfaces libraries only exist in server/default/lib and are the same 
version of application.

In relation to http://www.jboss.org/community/wiki/ClassLoadingConfiguration 
about isolation:

The first part (jboss-app.xml)

<jboss-app>
   <loader-repository>
    prueba:archive=prueba.ear
   </loader-repository>
</jboss-app>

and jboss-web.xml

<jboss-web>
   <class-loading> 
      <loader-repository> 
      pruebaWar:archive=pruebaWar
      </loader-repository> 
   </class-loading>
</jboss-web>


It doesn't work.

The second part about Isolation with Overriding Server Classes

<jboss-app>
   <loader-repository>
        prueba:archive=prueba.ear
        <loader-repository-config>
                java2ParentDelegation=false 
        </loader-repository-config>
   </loader-repository>
</jboss-app>


<jboss-web>
   <class-loading java2ClassLoadingCompliance="false">
        <loader-repository>
           pruebaWar:archive=pruebaWar
        
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
        </loader-repository>
   </class-loading>
</jboss-web>

It doesn't work.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249249
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to