You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/03/05 19:08:21 UTC

[Bug 56221] New: Crash when using tomcat version 7.0.52 when calling setImplementation method of LogFactory.java

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


[Bug 56221] Crash when using tomcat version 7.0.52 when calling setImplementation method of LogFactory.java

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56221

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
None of the quoted code involves Apache Tomcat.

Further, Bugzilla is not a support forum.

The Apache Tomcat users amiling list is the correct location for support
questions but it is unclear form the information that this is even a Tomcat
question.

-- 
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