This one's annoying. I can see where the problem is, but not an easy way to fix it. Going to ignore it for now.
Found one Java-level deadlock:
"ajp-bio-8009-exec-66870":
waiting to lock monitor 0x00007f2fe69a9e88 (object 0x0000000788aaf318, a java.util.Collections$SynchronizedRandomAccessList),
which is held by "ajp-bio-8009-exec-65276"
"ajp-bio-8009-exec-65276":
waiting to lock monitor 0x00007f2fe5371088 (object 0x000000078941bc58, a java.util.Collections$SynchronizedRandomAccessList),
which is held by "hurry-up-9"
"hurry-up-9":
waiting to lock monitor 0x00007f2fe69a9e88 (object 0x0000000788aaf318, a java.util.Collections$SynchronizedRandomAccessList),
which is held by "ajp-bio-8009-exec-65276"
Java stack information for the threads listed above:
"ajp-bio-8009-exec-66870":
at net.socialgamer.cah.data.Game.getInfo(Game.java:424)
waiting to lock <0x0000000788aaf318> (a java.util.Collections$SynchronizedRandomAccessList)
at net.socialgamer.cah.data.Game.getInfo(Game.java:387)
at net.socialgamer.cah.handlers.GameListHandler.handle(GameListHandler.java:72)
at net.socialgamer.cah.servlets.AjaxServlet.handleRequest(AjaxServlet.java:93)
at net.socialgamer.cah.servlets.CahServlet.doPost(CahServlet.java:110)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at net.socialgamer.cah.CacheControlFilter.doFilter(CacheControlFilter.java:27)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
locked <0x0000000792673418> (a org.apache.tomcat.util.net.SocketWrapper)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
"ajp-bio-8009-exec-65276":
at java.util.Collections$SynchronizedCollection.contains(Collections.java:1579)
waiting to lock <0x000000078941bc58> (a java.util.Collections$SynchronizedRandomAccessList)
at net.socialgamer.cah.data.Game.getPlayerStatus(Game.java:494)
at net.socialgamer.cah.data.Game.getPlayerInfo(Game.java:465)
at net.socialgamer.cah.data.Game.getAllPlayerInfo(Game.java:443)
locked <0x0000000788aaf318> (a java.util.Collections$SynchronizedRandomAccessList)
at net.socialgamer.cah.handlers.GetGameInfoHandler.handleWithUserInGame(GetGameInfoHandler.java:62)
at net.socialgamer.cah.handlers.GameWithPlayerHandler.handle(GameWithPlayerHandler.java:57)
at net.socialgamer.cah.handlers.GameHandler.handle(GameHandler.java:77)
at net.socialgamer.cah.servlets.AjaxServlet.handleRequest(AjaxServlet.java:93)
at net.socialgamer.cah.servlets.CahServlet.doPost(CahServlet.java:110)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at net.socialgamer.cah.CacheControlFilter.doFilter(CacheControlFilter.java:27)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
locked <0x0000000789341f90> (a org.apache.tomcat.util.net.SocketWrapper)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
"hurry-up-9":
at net.socialgamer.cah.data.Game.playersToUsers(Game.java:1144)
waiting to lock <0x0000000788aaf318> (a java.util.Collections$SynchronizedRandomAccessList)
at net.socialgamer.cah.data.Game.broadcastToPlayers(Game.java:325)
at net.socialgamer.cah.data.Game.skipIdlePlayers(Game.java:762)
locked <0x000000078941bc58> (a java.util.Collections$SynchronizedRandomAccessList)
at net.socialgamer.cah.data.Game.access$3(Game.java:741)
at net.socialgamer.cah.data.Game$3.run(Game.java:686)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)
This one's annoying. I can see where the problem is, but not an easy way to fix it. Going to ignore it for now.
Found one Java-level deadlock:
"ajp-bio-8009-exec-66870": waiting to lock monitor 0x00007f2fe69a9e88 (object 0x0000000788aaf318, a java.util.Collections$SynchronizedRandomAccessList), which is held by "ajp-bio-8009-exec-65276" "ajp-bio-8009-exec-65276": waiting to lock monitor 0x00007f2fe5371088 (object 0x000000078941bc58, a java.util.Collections$SynchronizedRandomAccessList), which is held by "hurry-up-9" "hurry-up-9": waiting to lock monitor 0x00007f2fe69a9e88 (object 0x0000000788aaf318, a java.util.Collections$SynchronizedRandomAccessList), which is held by "ajp-bio-8009-exec-65276"
Java stack information for the threads listed above:
"ajp-bio-8009-exec-66870": at net.socialgamer.cah.data.Game.getInfo(Game.java:424)
Found 1 deadlock.