logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41214] - Deadlock with RollingFileAppender
Date Tue, 15 Jan 2008 16:54:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41214>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41214





------- Additional Comments From benoitx@yahoo.com  2008-01-15 08:54 -------
We have the same deadlock issue under windows XP and log4j-1.2.15. Is there a
workaround? Is it specific to using the AsyncAppender with RollingFileAppender?

"movementMDPListenerContainer-1" prio=6 tid=0x5edfa8d0 nid=0x1bcc waiting for
monitor entry [0x60c5d000..0x60c5fa18]
        at org.apache.log4j.Category.callAppenders(Category.java:185)
        - waiting to lock <0x13b78530> (a org.apache.log4j.spi.RootCategory)
        at org.apache.log4j.Category.forcedLog(Category.java:372)
        at org.apache.log4j.Category.log(Category.java:864)
        at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.commons.logging.impl.Log4jProxy.log(Log4jProxy.java:288)
        at org.apache.commons.logging.impl.Log4jProxy.debug(Log4jProxy.java:235)
        at org.apache.commons.logging.impl.Log4JLogger.debug(Log4JLogger.java:84)
        at org.hibernate.jdbc.AbstractBatcher.log(AbstractBatcher.java:393)
        at
org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:474)
        at
org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:415)
        at
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1560)
        at org.hibernate.loader.Loader.doQuery(Loader.java:661)
        at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
        at org.hibernate.loader.Loader.doList(Loader.java:2144)
        at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)
        at org.hibernate.loader.Loader.list(Loader.java:2023)
        at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:95)
        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message