java.util.HashMap

ICEsoft JIRA Issue Tracker | Mircea Toma | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    We have received several deadlocks on our server when running Icefaces 1.8.2.GA P07 on Jboss 5.1.0.GA This issue may be related to a particular use case as this does not occcur frequently. Nevertheless , the issue is a deadlock in SessionDispatcher , we noticed following in our thread dump . The logs were similar for all the cases we when we received deadlocks , "http-###%2F172.28.2.140-37001-3" - Thread t@70 java.lang.Thread.State: BLOCKED at java.util.Collections$SynchronizedCollection.add(Collections.java:1577) - waiting to lock <13115e92> (a java.util.Collections$SynchronizedSet) owned by "Session Monitor" t@44 at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.addInSessionContext(SessionDispatcher.java:459) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.checkSession(SessionDispatcher.java:142) - locked <558ef455> (a java.util.HashMap) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:96) at com.icesoft.faces.webapp.http.servlet.BlockExpiredSessionRequests.service(BlockExpiredSessionRequests.java:53) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:204) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at gov.sec.ess.view.XSSFilter.doFilter(XSSFilter.java:32) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) "Session Monitor" - Thread t@44 java.lang.Thread.State: BLOCKED at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.notifySessionShutdown(SessionDispatcher.java:272) - waiting to lock <558ef455> (a java.util.HashMap) owned by "http-###%2F172.28.2.140-37001-3" t@70 at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.access$400(SessionDispatcher.java:73) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.shutdown(SessionDispatcher.java:441) - locked <13115e92> (a java.util.Collections$SynchronizedSet) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.shutdownIfExpired(SessionDispatcher.java:454) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Listener$1.run(SessionDispatcher.java:325) Locked ownable synchronizers: - None

    ICEsoft JIRA Issue Tracker | 2 years ago | Avinash Singh
    java.util.HashMap
  2. 0

    On session expiry coupled with a page redirect causes the framework to lockup with the following thread dump: Found one Java-level deadlock: ============================= &quot;Session Monitor&quot;: waiting to lock monitor 0x003e4b9c (object 0x0a2a03a0, a java.util.HashMap), which is held by &quot;HTTPThreadGroup-6&quot; &quot;HTTPThreadGroup-6&quot;: waiting to lock monitor 0x003e4bbc (object 0x0acf4880, a com.evermind.server.http.EvermindHttpSession), which is held by &quot;Session Monitor&quot; Java stack information for the threads listed above: =================================================== &quot;Session Monitor&quot;: at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.notifySessionShutdown(SessionDispatcher.java:272) - waiting to lock &lt;0x0a2a03a0&gt; (a java.util.HashMap) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.access$400(SessionDispatcher.java:73) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Listener.sessionDestroyed(SessionDispatcher.java:361) at com.icesoft.faces.util.event.servlet.ContextEventRepeater.sessionDestroyed(ContextEventRepeater.java:319) at com.evermind.server.http.HttpApplication.invalidateSession(HttpApplication.java:996) at com.evermind.server.http.HttpApplication.invalidateSession(HttpApplication.java:978) at com.evermind.server.http.EvermindHttpSession.invalidate(EvermindHttpSession.java:411) - locked &lt;0x0acf4880&gt; (a com.evermind.server.http.EvermindHttpSession) at com.evermind.server.http.EvermindHttpSession.invalidate(EvermindHttpSession.java:378) - locked &lt;0x0acf4880&gt; (a com.evermind.server.http.EvermindHttpSession) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.shutdown(SessionDispatcher.java:445) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.shutdownIfExpired(SessionDispatcher.java:457) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Listener$1.run(SessionDispatcher.java:325) &quot;HTTPThreadGroup-6&quot;: at com.evermind.server.http.EvermindHttpSession.setAttribute(EvermindHttpSession.java:171) - waiting to lock &lt;0x0acf4880&gt; (a com.evermind.server.http.EvermindHttpSession) at com.evermind.server.http.EvermindHttpSession.setAttribute(EvermindHttpSession.java:137) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$Monitor.&lt;init&gt;(SessionDispatcher.java:388) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.checkSession(SessionDispatcher.java:136) - locked &lt;0x0a2a03a0&gt; (a java.util.HashMap) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:96) at com.icesoft.faces.webapp.http.servlet.BlockExpiredSessionRequests.service(BlockExpiredSessionRequests.java:53) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:204) at ***.***Servlet.service(***Servlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) Found 1 deadlock.

    ICEsoft JIRA Issue Tracker | 2 years ago | Mircea Toma
    java.util.HashMap

    Root Cause Analysis

    1. java.util.HashMap

      No message provided

      at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service()
    2. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:96)
      2. com.icesoft.faces.webapp.http.servlet.BlockExpiredSessionRequests.service(BlockExpiredSessionRequests.java:53)
      3. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:55)
      4. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:204)
      4 frames