There is a conflict with the loaded log4j.jar version coming from somewhere. If your bundling your own log4j.jar in the web and need this version, then you have to enable class loader overrides using a jboss-web.xml setup like:
<jboss-web> <class-loading java2ClassLoadingCompliance="false"> <loader-repository> jboss.test:war=log4j113.war <loader-repository-config> java2ParentDelegation=false </loader-repository-config> </loader-repository> </class-loading> </jboss-web>
I also experienced a "java.lang.VerifyError " and the reason seems to be that there are two Jar's with different versions in two different webapps. What I don't understand in your example-configuration is this line:
Is this a symbolic name or do I have to use the name of my war-file here?
Greetings from Germany
You can use any object name.