ICEfaces
  1. ICEfaces
  2. ICE-3091

Session Expiry when re-deploying portlets to Liferay on Glassfish

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      Liferay (multiple versions) Glassfish v2 portal portlet
    • Workaround Exists:
      Yes
    • Workaround Description:
      I was able to reload the portlet page by closing the window or tab then clearing the private data in Firefox (cache, cookies, etc.) before opening a new window or tab and reloading the page.

      Description

      When you redeploy a portlet to Liferay running on Glassfish, reloading the page results in a Session Expired dialog that will not go away unless you close the current browser window/tab and then clear the cache, cookies, etc. There are similar comments in the forums and other JIRAs but this one is easily reproducible when Liferay is running on Glassfish.

        Issue Links

          Activity

          Deryk Sinotte created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Fix Version/s 1.7.1 [ 10122 ]
          Assignee Priority P2
          Assignee Mircea Toma [ mircea.toma ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #16730 Tue May 27 14:12:06 MDT 2008 mircea.toma ICE-3091 - Test if requests belong to valid session. Only GET requests can create new sessions. Fix busy indicator.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/status.js
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainServlet.java
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/application.js
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
          Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/common/standard/ResponseHandlerServer.java
          Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/SessionExpiredServer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #16731 Tue May 27 14:15:33 MDT 2008 mircea.toma ICE-3091 - Test if requests belong to valid session. Only GET requests can create new sessions. Fix busy indicator.
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/application.js
          Commit graph ADD /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/SessionExpiredServer.java
          Commit graph ADD /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/common/standard/ResponseHandlerServer.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainServlet.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/status.js
          Hide
          Mircea Toma added a comment -

          Test if requests belong to valid session. Only GET requests can create new sessions. Fix busy indicator.

          Show
          Mircea Toma added a comment - Test if requests belong to valid session. Only GET requests can create new sessions. Fix busy indicator.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #17029 Sat Jul 05 07:16:39 MDT 2008 mircea.toma ICE-3091 Block creation of new session for XMLHTTPRequests. Remove view disposal confirmation.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainSessionBoundServlet.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/SendUpdatedViews.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainServlet.java
          Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/common/standard/OKResponse.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ReceivePing.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/DisposeViews.java
          Commit graph DEL /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/SessionExpiredServer.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ViewBoundServer.java
          Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/common/standard/EmptyResponse.java
          Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionVerifier.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ResourceDispatcher.java
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/application.js
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/RequestVerifier.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
          Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/SessionExpiredResponse.java
          Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/NOOPResponse.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #17030 Sat Jul 05 07:17:49 MDT 2008 mircea.toma ICE-3091 Block creation of new session for XMLHTTPRequests. Remove view disposal confirmation.
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/ViewBoundServer.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/DisposeViews.java
          Commit graph ADD /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionVerifier.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
          Commit graph ADD /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/common/standard/OKResponse.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainServlet.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/RequestVerifier.java
          Commit graph ADD /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/SessionExpiredResponse.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainSessionBoundServlet.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/application.js
          Commit graph DEL /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/common/standard/OKHandler.java
          Commit graph ADD /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/NOOPResponse.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/SessionExpiredServer.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/ReceivePing.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/SendUpdatedViews.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/ResourceDispatcher.java
          Commit graph ADD /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/common/standard/EmptyResponse.java
          Hide
          Mircea Toma added a comment -

          The previously committed fixes are too restrictive. Some setups require that POST request can generate new sessions.

          Show
          Mircea Toma added a comment - The previously committed fixes are too restrictive. Some setups require that POST request can generate new sessions.
          Mircea Toma made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Hide
          Mircea Toma added a comment -

          Block creation of new session only for XMLHTTPRequests. Remove view disposal confirmation since previous fixes made the shutdown sequence obsolete.

          Show
          Mircea Toma added a comment - Block creation of new session only for XMLHTTPRequests. Remove view disposal confirmation since previous fixes made the shutdown sequence obsolete.
          Mircea Toma made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Mircea Toma made changes -
          Link This issue is duplicated by ICE-3288 [ ICE-3288 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P2
          Assignee Mircea Toma [ mircea.toma ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #17176 Wed Jul 16 09:16:53 MDT 2008 mircea.toma ICE-3288 Block creation of new session for XMLHTTPRequests. Remove view disposal confirmation. (TRUNK received this commit for ICE-3091)
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/core/DisposeViews.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7.1/icefaces/bridge/src/application.js
          Commit graph MODIFY /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/core/ResourceDispatcher.java
          Commit graph ADD /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionVerifier.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/core/SendUpdatedViews.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/core/RequestVerifier.java
          Commit graph ADD /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/common/standard/EmptyResponse.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/core/ViewBoundServer.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/SessionDispatcher.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainSessionBoundServlet.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/core/SessionExpiredServer.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainServlet.java
          Commit graph ADD /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/common/standard/OKResponse.java
          Commit graph ADD /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/core/NOOPResponse.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/core/ReceivePing.java
          Commit graph ADD /icefaces/branches/icefaces-1.7.1/icefaces/core/src/com/icesoft/faces/webapp/http/core/SessionExpiredResponse.java

            People

            • Assignee:
              Unassigned
              Reporter:
              Deryk Sinotte
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: