一个关于死锁的问题,求大神帮忙分析下!!

野渡无人舟自横 发布于 2016/04/07 10:29
阅读 184
收藏 0
"http-9080-572" daemon prio=10 tid=0x00007ffce8518000 nid=0x41d6 waiting for monitor entry [0x00007ffc4bf7e000]
   java.lang.Thread.State: BLOCKED (on object monitor)
at org.apache.log4j.Category.callAppenders(Category.java:204)
- waiting to lock <0x00000000b5cd7500> (a org.apache.log4j.spi.RootLogger)
at org.apache.log4j.Category.forcedLog(Category.java:391)
at org.apache.log4j.Category.debug(Category.java:260)
at com.cc.log.HsLogger.writeDebug(HsLogger.java:34)
at com.cc.log.Log.debug(Log.java:148)
at com.cc.systemx.base.MainServlet.doPost(MainServlet.java:91)
at com.cc.systemx.base.MainServlet.doGet(MainServlet.java:232)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at de.javakaffee.web.msm.RequestTrackingContextValve.invoke(RequestTrackingContextValve.java:99)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
加载中
0
sofn
sofn
com.cc.log.HsLogger.writeDebug(HsLogger.java:34)  加锁了?
野渡无人舟自横
野渡无人舟自横
log4j.debug(message)直接用的这个
返回顶部
顶部