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

Myfaces + Osgi + Log4j debug level = infinite loop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 2.1.3
    • None
    • General
    • None
    • 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

            Unassigned Unassigned
            tcharl Charlie Mordant
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: