You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Charlie Mordant (Created) (JIRA)" <de...@myfaces.apache.org> on 2011/11/09 09:57:51 UTC

[jira] [Created] (MYFACES-3392) Myfaces + Osgi + Log4j debug level = infinite loop

Myfaces + Osgi + Log4j debug level = infinite loop
--------------------------------------------------

                 Key: MYFACES-3392
                 URL: https://issues.apache.org/jira/browse/MYFACES-3392
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions: 2.1.3
         Environment: Equinox/Felix
            Reporter: Charlie Mordant
            Priority: Minor


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)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira