502 startup get Exception: org.apache.commons.lo ception: Invalid class loader hierarchy.
Trying to do a server rename. On startup we get in tomcat catalina
INFO: Server startup in 66402 ms
Exception in thread "Thread-22" org.apache.commons.logging.LogConfigurationException: org.apache.commons.lo
ception: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log
igurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.
ging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader
visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid cl
ogging.Log' visible, which is not allowed.))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at com.ibm.rdm.fronting.server.concurrent.RRSConcurrency$1.uncaughtException(RRSConcurrency.java:62
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:799)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:797)
at java.lang.Thread.uncaughtException(Thread.java:1241)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfiguratio
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogC
version of 'org.apache.commons.logging.Log' visible, which is not allowed.)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 7 more
Caused by: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have
t allowed.
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)
and the services fail to start. What/how do i resolve this error?
INFO: Server startup in 66402 ms
Exception in thread "Thread-22" org.apache.commons.logging.LogConfigurationException: org.apache.commons.lo
ception: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log
igurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.
ging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader
visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid cl
ogging.Log' visible, which is not allowed.))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at com.ibm.rdm.fronting.server.concurrent.RRSConcurrency$1.uncaughtException(RRSConcurrency.java:62
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:799)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:797)
at java.lang.Thread.uncaughtException(Thread.java:1241)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfiguratio
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogC
version of 'org.apache.commons.logging.Log' visible, which is not allowed.)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 7 more
Caused by: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have
t allowed.
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)
and the services fail to start. What/how do i resolve this error?
One answer
Did you accidentally throw a .jar file into the Tomcat library path? The class org.apache.commons.logging.Log is provided in the file org.apache.commons.logging_###.jar and each CLM application has a copy of this file (same version: 1.0.4.v201005080501, except CLMHelp which is 1.0.4.v201101211617). If a different version of this file has already loaded by Tomcat, the others will fail to load. So double check whether there is an extra copy of this file lying around somewhere.
Comments
Bas Bekker
JAZZ DEVELOPER Jul 04 '16, 11:27 a.m.Please provide more details; what application(s) your are using that gives this error, what version of the application, where do you see this error (log file, console?).
Norman Dignard
Jul 04 '16, 12:25 p.m.We're running 502 ifix14 single clm install using tomcat and oracle backend on RH 6.4. The error is on startup in the catalina.out