Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-758

org.apache.commons.logging.impl.Log4JLogger doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0.beta1, 1.6.0
    • None
    • None

    Description

      Due to the way commons-logging works and the fact commons-logging is provided in TomEE Log4JLogger can't be used in applications if any container dependencies (like myfaces) uses it.

      So the solution is to replace org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger by org.apache.commons.logging.Log=org.apache.openejb.log.commonslogging.Log4J4AppOpenEJB4ContainerLog in commons-logging.properties

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: