ICEfaces
  1. ICEfaces
  2. ICE-2120

ICEfaces AHS: Create only one MessageServiceClient per Servlet Context (Quick Fix)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6, 1.6.1
    • Fix Version/s: 1.6.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEfaces Asynchronous HTTP Server 1.6.0, 1.6.0a & 1.6.1

      Description

      Currently with the ICEfaces Asynchronous HTTP Server 1.6.x releases, one MessageServiceClient is created for each Session, which results in one MessageReceiver thread being created for each Session as well! We should look into trying to achieve the goal of having only one MessageServiceClient per Servlet Context that can be used by all Sessions. This JIRA case is used to introduce a quick fix for ICEfaces Asynchronous HTTP Server 1.6.1a. The final fix is targeted for ICEfaces Asynchronous HTTP Server 1.7.0 and mentioned in ICE-2073.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14825 Wed Sep 19 10:38:14 MDT 2007 jack.van.ooststroom Fixed JIRA ICE-2120: ICEfaces AHS: Create only one MessageServiceClient per Servlet Context (Quick Fix)
        Files Changed
        Commit graph MODIFY /projects/icefaces-ahs/trunk/icefaces-ahs/src/com/icesoft/faces/async/server/AsyncHttpServerAdaptingServlet.java
        Commit graph MODIFY /projects/icefaces-ahs/trunk/icefaces-ahs/src/com/icesoft/util/net/messaging/jms/JMSSubscriberConnection.java
        Commit graph MODIFY /projects/icefaces-ahs/trunk/icefaces-ahs/src/com/icesoft/util/ThreadFactory.java
        Jack Van Ooststroom created issue -
        Jack Van Ooststroom made changes -
        Field Original Value New Value
        Assignee Jack van Ooststroom [ jack.van.ooststroom ]
        Jack Van Ooststroom made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Jack Van Ooststroom added a comment -

        The fix for this issue is targeted for ICEfaces Asynchronous HTTP Server 1.6.1a.

        Show
        Jack Van Ooststroom added a comment - The fix for this issue is targeted for ICEfaces Asynchronous HTTP Server 1.6.1a.
        Hide
        Jack Van Ooststroom added a comment -

        This should be fixed in a better nicer way for ICEfaces 1.7. However, this JIRA case was specifically intended for a quick fix. The MessageServiceClient is now a static class member of AsyncHttpServerAdaptingServlet instead of a "normal" class member. This results in having only one MessageServiceClient per application, instead of per session. Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - This should be fixed in a better nicer way for ICEfaces 1.7. However, this JIRA case was specifically intended for a quick fix. The MessageServiceClient is now a static class member of AsyncHttpServerAdaptingServlet instead of a "normal" class member. This results in having only one MessageServiceClient per application, instead of per session. Marking this one as FIXED.
        Jack Van Ooststroom made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 1.6.1 [ 10070 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Jack van Ooststroom [ jack.van.ooststroom ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Jack Van Ooststroom
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: