ICEfaces
  1. ICEfaces
  2. ICE-4247

Weblogic 9 and 10 failed on ICEfaces 1.8 RC2

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8RC2
    • Fix Version/s: 1.8
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Weblogic 9, 10
    • Affects:
      Compatibility/Configuration
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Add the following to the ICEfaces applications web.xml:

          <context-param>
              <param-name>com.icesoft.faces.blockingRequestHandler</param-name>
              <param-value>icefaces</param-value>
          </context-param>

      This will cause the ICEfaces application not to try and use Push Server.
      Show
      Add the following to the ICEfaces applications web.xml:     <context-param>         <param-name>com.icesoft.faces.blockingRequestHandler</param-name>         <param-value>icefaces</param-value>     </context-param> This will cause the ICEfaces application not to try and use Push Server.

      Description

      ICEfaces application failed to load in weblogic 9 and 10 with the following exception:

      java.lang.NullPointerException
      at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:30)
      at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
      at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
      at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:50)
      at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
      at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:155)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(Unknown Source)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

        Activity

        Hide
        Mircea Toma added a comment -

        Fail fast in SessionDispatcher.checkSession method.

        Show
        Mircea Toma added a comment - Fail fast in SessionDispatcher.checkSession method.
        Hide
        Mircea Toma added a comment -

        Jack, please re-test with my latest commit. The stacktrace will point you to the real issue.

        This case shows once again that avoiding to fail fast it will usually mislead you later on.

        Show
        Mircea Toma added a comment - Jack, please re-test with my latest commit. The stacktrace will point you to the real issue. This case shows once again that avoiding to fail fast it will usually mislead you later on.
        Hide
        Jack Van Ooststroom added a comment -

        Unfortunately, WebLogic 9.2 and 10.0 report the User Session Expired almost immediately. Additionally, WebLogic 9.0 occasionally throws the following exception once at the beginning:

        <25-Mar-2009 12:11:46 o'clock PM MST> <Error> <HTTP> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@b9f370 - name: 'auctionMonitor.war', context-path: '/auctionMonitor'] Servlet failed with Exception
        java.lang.NullPointerException
        at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.removeRequest(SessionDispatcher.java:140)
        at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:65)
        at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
        at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:153)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        Truncated. see log file for complete stacktrace
        >

        Show
        Jack Van Ooststroom added a comment - Unfortunately, WebLogic 9.2 and 10.0 report the User Session Expired almost immediately. Additionally, WebLogic 9.0 occasionally throws the following exception once at the beginning: <25-Mar-2009 12:11:46 o'clock PM MST> <Error> <HTTP> <BEA-101020> < [weblogic.servlet.internal.WebAppServletContext@b9f370 - name: 'auctionMonitor.war', context-path: '/auctionMonitor'] Servlet failed with Exception java.lang.NullPointerException at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.removeRequest(SessionDispatcher.java:140) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:65) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:153) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) Truncated. see log file for complete stacktrace >
        Hide
        Jack Van Ooststroom added a comment -

        Ignore my previous mention of the NPE and it still not working after my committed fix. This was due to a FF3-Cookie-Cache issue. WebLogic 9.0, 9.1, 9.2, 10.0 and 10.3 seem to work fine now. Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - Ignore my previous mention of the NPE and it still not working after my committed fix. This was due to a FF3-Cookie-Cache issue. WebLogic 9.0, 9.1, 9.2, 10.0 and 10.3 seem to work fine now. Marking this one as FIXED.

          People

          • Assignee:
            Unassigned
            Reporter:
            Sam Xiao
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: