tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56221] New: Crash when using tomcat version 7.0.52 when calling setImplementation method of LogFactory.java
Date Wed, 05 Mar 2014 18:08:21 GMT
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: dev@tomcat.apache.org
          Reporter: anurag_gujral@yahoo.com

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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message