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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19419 Thu Oct 15 10:11:21 MDT 2009 deryk.sinotte IPCK-22: stop attempting to reconnect when contextDestroyed events are received
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/net/messaging/DefaultMessageService.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/conf/META-INF/include.tld
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19425 Thu Oct 15 10:52:37 MDT 2009 deryk.sinotte IPCK-22: stop attempting to reconnect when contextDestroyed events are received
        Files Changed
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/net/messaging/DefaultMessageServiceContextListener.java
        Deryk Sinotte created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19576 Mon Nov 02 13:42:45 MST 2009 deryk.sinotte IPCK-22: removing System.out calls with proper logging
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/net/messaging/DefaultMessageServiceContextListener.java
        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.
        Deryk Sinotte made changes -
        Field Original Value New Value
        Fix Version/s 1.8.2 [ 10201 ]
        Assignee Ken Fyten [ ken.fyten ] Greg Dick [ greg.dick ]
        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.
        Greg Dick made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: