java.util.HashMap

ICEsoft JIRA Issue Tracker | Avinash Singh | 2 years ago
  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 | 1 year ago | Mircea Toma
    java.util.HashMap
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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 | 1 year ago | Mircea Toma
    java.util.HashMap
  5. 0

    [JIRA] (JENKINS-23784) Allow parallel class loading

    Google Groups | 4 months ago | jgl...@cloudbees.com (JIRA)
    java.util.HashMap

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    4. com.icesoft.faces
      BlockingServlet.service
      1. com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:71)
      1 frame
    5. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    6. gov.sec.ess
      XSSFilter.doFilter
      1. gov.sec.ess.view.XSSFilter.doFilter(XSSFilter.java:32)
      1 frame
    7. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      4 frames
    8. JBoss Application Server Tomcat
      SecurityContextEstablishmentValve.invoke
      1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      2. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      3. org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      4. org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      4 frames
    9. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      2 frames
    10. JBoss Application Server Tomcat
      CachedConnectionValve.invoke
      1. org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      1 frame
    11. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
      2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      3 frames
    12. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames