Uploaded image for project: 'Cactus'
  1. Cactus
  2. CACTUS-10

NoSuchMethodError in BaseLog.<init>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.1
    • 1.2
    • Servlet Sample
    • None
    • Operating System: Windows NT/2K
      Platform: PC
    • 3765

    Description

      Using the log4j-core.jar supplied with the Binary install of Cactus 2.2 I
      receive the following error when executing the Sample application task of
      "tests_tomcat_32". The specific exception occurs in the "tests" task.

      I can only assume that it has to do with invoking the static method
      getInstance(String) of the Log4j's Category class.

      Interestingly, when I hypothesized that maybe the log4j-core.jar was corrupt
      somehow and replaced it with the current log4j-core.jar (1.1.3) I received a the
      exception "NoClassDefFoundError" as it looks for org.apache.log4j.Logger in the
      org.apache.commons.cactus.util.log.LogService.getLog(String). I then downloaded
      the Cactus source and cannot even find a reference to a class named "Logger" in
      the LogService class. Also, the log4j-core.jar supplied with the Binary install
      does in fact have a org.apache.log4j.Logger class file.

      Something is REALLY messed up in either the sample application, the
      log4j-core.jar that it uses or in the way Cactus uses Log4J.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            houston.pagtakhan@safeway.com Houston Pagtakhan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: