Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3977

slf4j is used by ws security related bits, logging bridge probably needed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • jbossws-cxf-5.1.4.Final
    • jbossws-cxf-5.1.3.Final
    • None
    • None

      WS security related bits use slf4j and warning message is logged on client
      Logging bridge is probably needed.

      13:01:11,794 INFO  [AbstractPerfJUnitTest] Running wsse.SimpleSignEncryptTest
      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      

      workaround is to add dependency like:

                      <dependency>  <!-- security tests deps. need this othewise SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". -->
                          <groupId>org.slf4j</groupId>
                          <artifactId>slf4j-log4j12</artifactId>
                          <version>1.7.7</version>
                          <scope>test</scope>
                      </dependency>
      

              rhn-support-asoldano Alessio Soldano
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: