Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-6456

KarafTestSupport should check if etc/org.ops4j.pax.logging.cfg resource exists

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0, 4.2.8
    • Component/s: karaf
    • Labels:

      Description

      When simply extending KarafTestSupport to create an itest, the configuration method in KarafTestSupport is looking for org.ops4j.pax.logging.cfg resource.
      It means the itest is failing with:

       java.lang.RuntimeException: Config resource /etc/org.ops4j.pax.logging.cfg not found
      

      The only workaround is to override the config() method.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                jbonofre Jean-Baptiste Onofré
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: