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
jboss-aop.jar
jboss-common-core.jar
jboss-common.jar
jboss-j2ee.jar
jboss-jmx.jar
jboss-logging-spi.jar
jboss-system.jar
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:
axiom-impl-1.2.7.jar
axis2-adb-1.4.1.jar
dom4j-1.6.1.jar
list.txt
saxon9he.jar
stax-1.2.0_rc2-dev.jar
stax-api-1.0.1.jar
XmlSchema-1.4.2.jar
xom-1.1.jar
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:
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|