The current application, for which its own log4j dependency is used, but this becomes a problem for deployment on JBoss EAP6 / AS7, as it always rolls back the deployment due to a logging problem.
Therefore, I follow the instructions on the Internet using the following command
standalone.sh -Dorg.jboss.as.logging.per-deployment=false
The good news is it works. Now I can deploy the application without error stopping the deployment.
The sad part is that I cannot convince the client to always start the server with this condition.
So my question is: how to make such a change constantly in the application?
I'm trying to add
<exclusions> <module name="org.apache.log4j" /> <module name="org.apache.commons.logging" /> <module name="org.jboss.logging" /> <module name="org.jboss.logging.jul-to-slf4j-stub" /> <module name="org.jboss.logmanager" /> <module name="org.jboss.logmanager.log4j" /> <module name="org.jboss.as.logging" /> <module name="org.slf4j" /> </exclusions>
But it does not work .... So what can I do?
source share