Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-548

Log4j 2.0 ERROR "Could not search jar" with JBoss EAP 6.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-rc1, 2.1
    • 2.11.1, 3.0.0
    • Core
    • None
    • EJB 3.1 , JBoss EAP 6.2 , Windows 7 , Eclipse Kepler

    Description

      When trying to use log4j 2.0-rc1 with EJB3.1 i got Error Message:
      "ERROR StatusLogger Could not search jar file 'jboss-eap-6.2\standalone\deployments\Log4J2Ear.ear\lib\log4j-core-2.0-rc1.jar\org\apache\logging\log4j\core' for classes matching criteria: annotated with @Plugin file not found"
      after debugging the application found that the problem is located in :
      org.apache.logging.log4j.core.config.plugins.ResolverUtil
      method: findInPackage --> line number 247
      the protocol used in the jar is vfs not vfszip

      Attachments

        1. LOG4J2-548 - evictors.patch
          3 kB
          Eric Victorson
        2. LOG4J2-548 - evictors.patch
          3 kB
          Martin Laforest

        Activity

          People

            ggregory Gary D. Gregory
            shehata_fci Shehata
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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