Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3392

Myfaces + Osgi + Log4j debug level = infinite loop

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1.3
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Environment:
      Equinox/Felix

      Description

      Hi,

      Debug level with log4j in an osgi environnement makes myfaces going in an infinite loop.

      I made an example available here:
      http://hudson.osgiliath.net/job/orthank-sample%20Tag/ws/

      In order to compile, you just need to have maven 3 and run: mvn clean install -DskipTests=true (integration tests are not stable for now).
      then, in order to launch run: mvn pax:provision -Dframework=equinox (or -Dframework=felix) and point your browser to http://localhost:8080/net.osgiliath.orthank-sample.java.web.simple_1.0.1.SNAPSHOT
      You'll be able to say hello with web services.
      You can desactivate ws client module to run it without ws.

      Turn the log level to debug in order to test (orthank-sample/orthank-sample.java/orthank-sample.java.logging-config/src/main/resource/log4j.properties file).

      Regards, Charlie (tcharl on twitter, cmordant1@gmail.com on gtalk)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tcharl Charlie Mordant
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: