I am running JBoss EAP6 on two servers and I am trying to get CAS working. It works on node 1 great but on node 2 I am getting a error:
Detected both log4j-over-slf4j.jar AND slf4j-log4j12.jar on the class path
If I run the following on node 1:
find / -name log4j-over-slf4j.jar 2>errors.txt I
get this output:
/usr/share/java/slf4j/log4j-over-slf4j.jar
/usr/share/java/slf4j-eap6/log4j-over-slf4j.jar
But if I run it on node 2 I get the following:
/usr/share/java/slf4j-eap6/log4j-over-slf4j.jar
/usr/share/java/slf4j/log4j-over-slf4j.jar
if I run: find / -name slf4j-log4j12.jar 2>errors.txt
is at /usr/share/java/slf4j-eap6/slf4j-log4j12.jar on both nodes.
I have a feeling that node2 is using /usr/share/java/slf4j-eap6/ before /usr/share/java/slf4j/ which has both jars in them making the error.. Keep in mind node 1 works..