Uploaded image for project: 'JIRA (including JIRA Core)'
  1. JIRA (including JIRA Core)
  2. JRA-20537

Plugins 1 - Shaded log4j - JIRA fails bootstrap with plugins that contain copies of log4j

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 4.1
    • Fix Version/s: None
    • Component/s: Plugins [Deprecated]
    • Labels:
      None
    • Environment:
    • Symptom Severity:
      Major

      Description

      INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_12/jre/lib/i386/client:/usr/java/jdk1.6.0_12/jre/lib/i386:/usr/java/jdk1.6.0_12/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
      Feb 26, 2010 11:40:17 AM org.apache.coyote.http11.Http11Protocol init
      INFO: Initializing Coyote HTTP/1.1 on http-8080
      Feb 26, 2010 11:40:17 AM org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 395 ms
      Feb 26, 2010 11:40:17 AM org.apache.catalina.realm.JAASRealm setContainer
      INFO: Set JAAS app name Catalina
      Feb 26, 2010 11:40:17 AM org.apache.catalina.core.StandardService start
      INFO: Starting service Catalina
      Feb 26, 2010 11:40:17 AM org.apache.catalina.core.StandardEngine start
      INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
      0.661: [GC [PSYoungGen: 15168K->1512K(17664K)] 15168K->1512K(259648K), 0.0050020 secs] [Times: user=0.01 sys=0.00, real=0.01 secs] 
      0.906: [GC [PSYoungGen: 16680K->2384K(17664K)] 16680K->2384K(259648K), 0.0047560 secs] [Times: user=0.00 sys=0.00, real=0.01 secs] 
      Feb 26, 2010 11:40:18 AM org.apache.catalina.core.StandardContext start
      SEVERE: Error listenerStart
      Feb 26, 2010 11:40:18 AM org.apache.catalina.core.StandardContext start
      SEVERE: Context [] startup failed due to previous errors
      1.164: [GC [PSYoungGen: 17552K->2484K(17664K)] 17552K->2854K(259648K), 0.0044280 secs] [Times: user=0.01 sys=0.01, real=0.01 secs] 
      log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
      log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
      log4j:ERROR [org.apache.catalina.loader.StandardClassLoader@1fcf0ce] whereas object of type 
      log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [WebappClassLoader
        delegate: false
        repositories:
          /WEB-INF/classes/
      ----------> Parent Classloader:
      org.apache.catalina.loader.StandardClassLoader@1fcf0ce
      ].
      log4j:ERROR Could not instantiate appender named "console".
      log4j:ERROR A "com.atlassian.jira.logging.JiraHomeAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
      log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
      log4j:ERROR [org.apache.catalina.loader.StandardClassLoader@1fcf0ce] whereas object of type 
      log4j:ERROR "com.atlassian.jira.logging.JiraHomeAppender" was loaded by [WebappClassLoader
        delegate: false
        repositories:
          /WEB-INF/classes/
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                pdzwart Pete de Zwart
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 12h
                  12h