I am getting this exception in my app deploy to Jboss 7.1 :
Caused by: java.lang.ClassCastException: org.jboss.logmanager.log4j.BridgeLogger cannot be cast to org.owasp.esapi.Logger
... 22 more
I have a ear file that I deploy with several war modules. One of the class calls a getLogger which ends up getting the BridgeLogger returned to it.
So far I've tried:
1. Excluding logmanager module in jboss-deployment -structure.xml file at both deployment and sub-deployment level
2. Add org.apache.log4j dependency in ear Manifest file
3. Add jboss-log4j.xml config file to META-INF
I have also payed around with log4j dependency in my main ear pom file to ensure that that is the module I want to access. But nothing has worked.
Please can someone shed any light on this issue? I have read at places that jboss 7.2 version has this issue fixed. If so, when will that be out?
I'm stuck with issue for long and need some urgent help !!!!!
Retrieving data ...