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

        Sam Xiao created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 1.8 [ 10161 ]
        Affects [Compatibility/Configuration]
        Assignee Priority P1
        Assignee Mircea Toma [ mircea.toma ]
        Jack Van Ooststroom made changes -
        Workaround Description 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.
        Workaround Exists [Yes]
        Salesforce Case []
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18636 Mon Mar 23 18:24:12 MDT 2009 mircea.toma ICE-4247 Fail fast in SessionDispatcher.checkSession method.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
        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.
        Mircea Toma made changes -
        Assignee Mircea Toma [ mircea.toma ] Jack Van Ooststroom [ jack.van.ooststroom ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18652 Wed Mar 25 13:47:09 MDT 2009 jack.van.ooststroom Added Partial Fix for JIRA ICE-4247 : Weblogic 9 and 10 failed on ICEfaces 1.8 RC2
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/util/ServerUtility.java
        Jack Van Ooststroom made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        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.
        Jack Van Ooststroom made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Assignee Priority P1
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Jack van Ooststroom [ jack.van.ooststroom ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: