ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-22

DefaultMessageService keeps attempting connections during shutdown.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2.GA
    • Fix Version/s: 1.8.2.GA
    • Component/s: Enterprise Push Server
    • Labels:
      None
    • Environment:
      JMS

      Description

      In certain circumstances, the DefaultMessageService attempts to reconnect to JMS in order to support failover. However, when applications using the DefaultMessageService (either eps.war or an application.war) are in the midst of being shut down knowningly and gracefully, the attempts to reconnect can lead to various exceptions (e.g ClassNotFound).

      It's recommended that the service listen for and respond to contextDestroyed events so that the reconnection logic can be shut down.

        Activity

        Hide
        Greg Dick added a comment -

        The code no longer attempts to reconnect when the servlet container is shut down in Tomcat and WebSphere.

        Show
        Greg Dick added a comment - The code no longer attempts to reconnect when the servlet container is shut down in Tomcat and WebSphere.
        Hide
        Deryk Sinotte added a comment -

        Assigning to Greg for verification and closure. I know that we've checked in the code for this and that it solved some of the issues that we were seeing. Additional thread cleanup issues should get their own specific JIRA.

        Show
        Deryk Sinotte added a comment - Assigning to Greg for verification and closure. I know that we've checked in the code for this and that it solved some of the issues that we were seeing. Additional thread cleanup issues should get their own specific JIRA.

          People

          • Assignee:
            Greg Dick
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: