https://issues.apache.org/bugzilla/show_bug.cgi?id=56221
Bug ID: 56221
Summary: Crash when using tomcat version 7.0.52 when calling
setImplementation method of LogFactory.java
Product: Tomcat 7
Version: 7.0.52
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Hi All,
We are testing apache tomcat release 7.0.52 , we are seeing a crash in the
tomcat code.
We stepped through the issue and have found that it is failing in the Apache
code when trying to initialize the logger, with the following error:
java.lang.ClassCastException: org.apache.ibatis.logging.slf4j.Slf4jImpl cannot
be cast to org.apache.ibatis.logging.Log
This is occurring in LogFactory.java, in the setImplementation method, at the
following line: Log log = candidate.newInstance(new
Object[]{LogFactory.class});
This cast will successfully occur in 7.0.47 version of tomcat. We think they
must have changed some hierarchy with regard to their logging but have as of
yet been unable to track this down. Would somebody there with more expertise
with regard to Tomcat be able to shed some light on the situation?
Thanks in advance for your help.
Anurag
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]