show us content of your lib folder(s)
so ear/lib and your war/lib
I have not packaged the jar's under the EAR lib , instead of that created a "module" for the app jar files , and used that in ear meta-inf/jboss-deployment-structure.xml
and the custome module refers to
<dependencies> <module name="javaee.api" export="true"/> <module name="org.apache.log4j" export="true"/>
---- My application jar's
and org.apache.log4j depends on
and also , log4j.xml properties in the class path.
Do you include your own copy of log4j or have a copy of log4j in your deployment?
The org.apache.log4j module is an alias for org.jboss.log4j.logmanager. This means that you can use either module name, but you'll end up getting org.jboss.log4j.logmanager as the dependency.
James R. Perkins