ICEpush
  1. ICEpush
  2. PUSH-160

ICEpush application (WebSphere + Myfaces + Portlets) throws exception cleaning up on expiry

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Component/s: Push Server
    • Labels:
      None
    • Environment:
      ICEPush 3.0 + ICEFaces 3 + WebSphere 7 + Myfaces 2.1.6 + Portal 2)
    • Assignee Priority:
      P2

      Description

      I've seen this on session expiry, and on application redeployment when the original application is unloaded. Application throws the following exception:

      [21/02/12 9:19:58:017 PST] 00000054 WindowScopeMa W Failed to invokeinterface javax.annotation.PreDestroy on class org.icefaces.samples.showcase.example.compat.progress.LongTaskManager
                                       java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:600)
      at org.icefaces.impl.application.WindowScopeManager.callAnnotatedMethod(WindowScopeManager.java:256)
      at org.icefaces.impl.application.WindowScopeManager.notifyPreDestroy(WindowScopeManager.java:189)
      at org.icefaces.impl.application.WindowScopeManager.notifyPreDestroyForAll(WindowScopeManager.java:181)
      at org.icefaces.impl.application.WindowScopeManager.disposeWindows(WindowScopeManager.java:175)
      at org.icefaces.impl.application.SessionExpiredListener.sessionDestroyed(SessionExpiredListener.java:72)
      at com.ibm.ws.session.http.HttpSessionObserver.sessionDestroyed(HttpSessionObserver.java:179)
      at com.ibm.ws.session.SessionEventDispatcher.sessionDestroyed(SessionEventDispatcher.java:160)
      at com.ibm.ws.session.StoreCallback.sessionInvalidated(StoreCallback.java:126)
      at com.ibm.ws.session.store.memory.MemorySession.invalidate(MemorySession.java:222)
      at com.ibm.ws.session.store.memory.MemoryStore.runInvalidation(MemoryStore.java:403)
      at com.ibm.ws.session.WsSessionInvalidator.alarm(WsSessionInvalidator.java:64)
      at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:127)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)

      Caused by: java.lang.RuntimeException: FacesContext is not present for thread Thread[Non-deferrable Alarm : 9,5,main]
      at org.icefaces.application.PushRenderer.missingFacesContext(PushRenderer.java:226)
      at org.icefaces.application.PushRenderer.removeCurrentSession(PushRenderer.java:121)
      at org.icefaces.samples.showcase.example.compat.progress.LongTaskManager.deinit(LongTaskManager.java:61)
      ... 17 more

        Activity

        Hide
        Ted Goddard added a comment -

        Repeat testing on this platform combination. This is believed to be fixed at the application level.

        Show
        Ted Goddard added a comment - Repeat testing on this platform combination. This is believed to be fixed at the application level.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: