Brent Douglas created JBSEAM-4897:
-------------------------------------
Summary: jboss-seam-jul Log4JConversionFilter is incompatable with
jboss-logmanager
Key: JBSEAM-4897
URL:
https://issues.jboss.org/browse/JBSEAM-4897
Project: Seam 2
Issue Type: Bug
Components: Core
Affects Versions: 2.2.2.Final
Environment: AS7 7.1.0.Final-SNAPSHOT, seam-2.2.2.Final
Reporter: Brent Douglas
logmanager.Logger expects Log4JConversionFilter.isLoggable(LogRecord) to return if the
record is loggable while Log4JConversionFilter delegates back to the logger instead
resulting in a stack overflow. I don't know if AS7 is supported with seam2 but this is
the first actual problem I've come across while running on it.
{code}
Caused by: java.lang.StackOverflowError
at java.util.logging.LogRecord.getMessage(LogRecord.java:320) [:1.6.0_30]
at java.util.logging.Formatter.formatMessage(Formatter.java:97) [:1.6.0_30]
at
org.jboss.seam.interop.jul.Log4JConversionFilter.logWithThrowable(Log4JConversionFilter.java:81)
[jboss-seam-jul-2.2.2.Final.jar:2.2.2.Final]
at
org.jboss.seam.interop.jul.Log4JConversionFilter.isLoggable(Log4JConversionFilter.java:68)
[jboss-seam-jul-2.2.2.Final.jar:2.2.2.Final]
at org.jboss.logmanager.Logger.logRaw(Logger.java:640)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
at org.jboss.logmanager.Logger.log(Logger.java:600)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
at org.jboss.logmanager.Logger.log(Logger.java:612)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
at org.jboss.logmanager.log4j.BridgeLogger.error(BridgeLogger.java:72)
at
org.jboss.seam.interop.jul.Log4JConversionFilter.logWithThrowable(Log4JConversionFilter.java:86)
[jboss-seam-jul-2.2.2.Final.jar:2.2.2.Final]
at
org.jboss.seam.interop.jul.Log4JConversionFilter.isLoggable(Log4JConversionFilter.java:68)
[jboss-seam-jul-2.2.2.Final.jar:2.2.2.Final]
at org.jboss.logmanager.Logger.logRaw(Logger.java:640)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
at org.jboss.logmanager.Logger.log(Logger.java:600)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
at org.jboss.logmanager.Logger.log(Logger.java:612)
[jboss-logmanager-1.2.0.GA.jar:1.2.0.GA]
at org.jboss.logmanager.log4j.BridgeLogger.error(BridgeLogger.java:72)
...
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira