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

        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
        Hide
        Jack Van Ooststroom added a comment -

        Changed Assignee Priority to P1

        Show
        Jack Van Ooststroom added a comment - Changed Assignee Priority to 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)
        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.
        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.
        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: