ICEfaces
  1. ICEfaces
  2. ICE-2540

ICEfaces AHS: improve exception reporting for when icefaces-ahs.jar is unintentionally added to a deployment

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7DR#3, 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEfaces Asynchronous HTTP Server

      Description

      When somebody unintentionally adds the icefaces-ahs.jar to a web application archive. It throws a bunch of exceptions when it is deployed and accessed. Exceptions like icefaces.responseTopic not bound and such (because JMS was not configured on the target application server). We should improve this exception report explaining that the icefaces-ahs.jar is included in the archive and that the JMS is not configured correctly. Suggesting that if it was intentionally included the user should refer to the ICEfaces Developer's Guide on how to configure JMS, and that if it was unintentionally included the user should remove it from the archive.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #15453 Wed Dec 19 11:33:59 MST 2007 jack.van.ooststroom Fixed JIRA ICE-2540 : ICEfaces AHS: improve exception reporting for when icefaces-ahs.jar is unintentionally added to a deployment
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/server/AsyncHttpServerAdaptingServlet.java
        Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/util/event/servlet/MessagingContextEventPublisher.java
        Commit graph MODIFY /icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/common/messaging/MessageService.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 -

        Changed Fix Version to 1.7-Beta 1.

        Show
        Jack Van Ooststroom added a comment - Changed Fix Version to 1.7-Beta 1.
        Jack Van Ooststroom made changes -
        Fix Version/s 1.7Beta 1 [ 10112 ]
        Hide
        Jack Van Ooststroom added a comment -

        A follow-up is created: ICE-2541

        Show
        Jack Van Ooststroom added a comment - A follow-up is created: ICE-2541
        Ken Fyten made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Jack Van Ooststroom added a comment -

        The exception reporting is a bit improved in this particular case. Now whenever the icefaces-ahs.jar is included in the deployment, but the JMS is not configured on the application server, the following informative message is displayed in the log:

        Failed to subscribe to topic: icefaces.responseTopic
        Exception message: javax.naming.NameNotFoundException: icefaces.responseTopic not bound
        Exception cause: javax.naming.NameNotFoundException: icefaces.responseTopic not bound

        The icefaces-ahs.jar is included in the deployment, but the JMS topics are not
        configured correctly on the application server. If you intended to use the
        Asynchronous HTTP Server (AHS), please refer to the ICEfaces Developer's Guide
        for instructions on how to configure the JMS topics on the application server.
        If you did not intend to use AHS, please remove the icefaces-ahs.jar from your
        deployment and try again.

        Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - The exception reporting is a bit improved in this particular case. Now whenever the icefaces-ahs.jar is included in the deployment, but the JMS is not configured on the application server, the following informative message is displayed in the log: Failed to subscribe to topic: icefaces.responseTopic Exception message: javax.naming.NameNotFoundException: icefaces.responseTopic not bound Exception cause: javax.naming.NameNotFoundException: icefaces.responseTopic not bound The icefaces-ahs.jar is included in the deployment, but the JMS topics are not configured correctly on the application server. If you intended to use the Asynchronous HTTP Server (AHS), please refer to the ICEfaces Developer's Guide for instructions on how to configure the JMS topics on the application server. If you did not intend to use AHS, please remove the icefaces-ahs.jar from your deployment and try again. Marking this one as FIXED.
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        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: