The isolated EAR or WAR repository will load its libraries in this order:
WEB-INF/lib (for WARs)
libraries in server/default/lib
tomcat-libraries in server/default/deploy/jbossweb-tomcat50.sar (jboss-3.2.6).
and got the next place where the application's classes collides with the server classes
Guy Roth wrote:
As far as I understand, the error talks about the class 'NamespaceContext class'
I searched and found out that my web-inf/lib contains the following list of jars that contain this class:
For .war files, in your jboss-web.xml, the following template applies:
*Note: As of at least JBoss 4.2.1, the <class-loading> tag appears to no longer be supported as isolation is ignored. Instead, the following configuration appears to accomplish the same goal: