ICEfaces
  1. ICEfaces
  2. ICE-3210

Revert back to Send Updated Views when adapting to AHS fails

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces, JMS Broker, ICEfaces AHS

      Description

      When adapting to AHS by the ICEfaces Core framework fails at any stage of the adaptation, it should revert back to Send Updated Views. Currently, only an informative language is logged explaining the problem at hand and which actions could be taken by the developer. We could still keep this message in the logs, but it would be nicer if the framework could revert back to Send Updated Views as well.

        Activity

        Jack Van Ooststroom created issue -
        Jack Van Ooststroom made changes -
        Field Original Value New Value
        Assignee Jack Van Ooststroom [ jack.van.ooststroom ]
        Hide
        Jack Van Ooststroom added a comment -

        Changed Fix Version(s) to 1.7.2

        Show
        Jack Van Ooststroom added a comment - Changed Fix Version(s) to 1.7.2
        Jack Van Ooststroom made changes -
        Fix Version/s 1.7.2 [ 10130 ]
        Hide
        Jack Van Ooststroom added a comment -

        Changed Assignee Priority to P1

        Show
        Jack Van Ooststroom added a comment - Changed Assignee Priority to P1
        Jack Van Ooststroom made changes -
        Assignee Priority P1
        Hide
        Jack Van Ooststroom added a comment -

        After the introduction of the handshake mechanism we should be able to reduce the amount of messages/exceptions more easily.

        Show
        Jack Van Ooststroom added a comment - After the introduction of the handshake mechanism we should be able to reduce the amount of messages/exceptions more easily.
        Hide
        Mandeep Hayher added a comment -

        Following exception is seen when icefaces-ahs.jar is included in component-showcase:

        ERROR - Exception sending context initialized event to listener instance of class com.icesoft.faces.util.event.servlet.ContextEventRepeater - org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/component-showcase]
        java.lang.NoClassDefFoundError: javax/jms/JMSException
        at com.icesoft.faces.util.event.servlet.MessagingContextEventPublisher.setUpMessageServiceClient(MessagingContextEventPublisher.java:139)
        at com.icesoft.faces.util.event.servlet.MessagingContextEventPublisher.publish(MessagingContextEventPublisher.java:88)
        at com.icesoft.faces.util.event.servlet.ContextEventRepeater.contextInitialized(ContextEventRepeater.java:203)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

        Show
        Mandeep Hayher added a comment - Following exception is seen when icefaces-ahs.jar is included in component-showcase: ERROR - Exception sending context initialized event to listener instance of class com.icesoft.faces.util.event.servlet.ContextEventRepeater - org.apache.catalina.core.ContainerBase. [Catalina] . [localhost] . [/component-showcase] java.lang.NoClassDefFoundError: javax/jms/JMSException at com.icesoft.faces.util.event.servlet.MessagingContextEventPublisher.setUpMessageServiceClient(MessagingContextEventPublisher.java:139) at com.icesoft.faces.util.event.servlet.MessagingContextEventPublisher.publish(MessagingContextEventPublisher.java:88) at com.icesoft.faces.util.event.servlet.ContextEventRepeater.contextInitialized(ContextEventRepeater.java:203) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
        Ken Fyten made changes -
        Fix Version/s 1.7.2RC1 [ 10140 ]
        Fix Version/s 1.7.2 [ 10130 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17551 Thu Sep 11 11:44:08 MDT 2008 jack.van.ooststroom Partly Fixed JIRA ICE-3210 : Revert back to Send Updated Views when adapting to AHS fails
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/util/event/servlet/ContextEventRepeater.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17552 Thu Sep 11 11:45:11 MDT 2008 jack.van.ooststroom Partly Fixed JIRA ICE-3210 : Revert back to Send Updated Views when adapting to AHS fails
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/util/event/servlet/ContextEventRepeater.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17553 Thu Sep 11 11:47:29 MDT 2008 jack.van.ooststroom Partly Fixed JIRA ICE-3210 : Revert back to Send Updated Views when adapting to AHS fails
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/AsyncServerDetector.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17554 Thu Sep 11 11:48:12 MDT 2008 jack.van.ooststroom Partly Fixed JIRA ICE-3210 : Revert back to Send Updated Views when adapting to AHS fails
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/AsyncServerDetector.java
        Hide
        Jack Van Ooststroom added a comment -

        The last mentioned exception doesn't seem to be there anymore... (The exception was spotted using Tomcat by the way.)

        Show
        Jack Van Ooststroom added a comment - The last mentioned exception doesn't seem to be there anymore... (The exception was spotted using Tomcat by the way.)
        Hide
        Jack Van Ooststroom added a comment -

        Changed Fix Version(s) back to 1.7.2. We should really look into the handshake mechanism before pursuing this one.

        Show
        Jack Van Ooststroom added a comment - Changed Fix Version(s) back to 1.7.2. We should really look into the handshake mechanism before pursuing this one.
        Jack Van Ooststroom made changes -
        Fix Version/s 1.7.2 [ 10130 ]
        Fix Version/s 1.7.2RC1 [ 10140 ]
        Hide
        Jack Van Ooststroom added a comment -

        Lowered Assignee Priority to P2 as it is dependent on the mentioned handshake mechanism.

        Show
        Jack Van Ooststroom added a comment - Lowered Assignee Priority to P2 as it is dependent on the mentioned handshake mechanism.
        Jack Van Ooststroom made changes -
        Assignee Priority P1 P2
        Hide
        Jack Van Ooststroom added a comment -

        A follow-up JIRA has been created to further address this issue (ICE-3522). Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - A follow-up JIRA has been created to further address this issue ( ICE-3522 ). Marking this one as FIXED.
        Jack Van Ooststroom made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Jack Van Ooststroom added a comment -

        When trying to adapt to AHS on Tomcat, an exception is thrown as the JMS API is not present on a default Tomcat install. I added a check to see if the JMS API is present before using the JMS API itself to try and adapt to the AHS environment.

        Show
        Jack Van Ooststroom added a comment - When trying to adapt to AHS on Tomcat, an exception is thrown as the JMS API is not present on a default Tomcat install. I added a check to see if the JMS API is present before using the JMS API itself to try and adapt to the AHS environment.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Assignee Jack Van Ooststroom [ jack.van.ooststroom ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: