ICEfaces
  1. ICEfaces
  2. ICE-1770

Reloading page after app. server restart on Tomcat 6 displays exception.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#5
    • Fix Version/s: 1.7RC1, 1.7
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Tomcat 6
    • Workaround Exists:
      Yes
    • Workaround Description:
      Restart the browser to view the application after a server restart.

      Description

      When using Tomcat 6 (Tomcat 5.x is okay) there appears to be a conflict between shutting down the app. server and the browser sending a ping/message. When you run the application it loads ok, shut down the server, no problems, but when you restart the server and try and reload the application page in the browser the following error is thrown in the browser, no errors in the server log:

      exception

      org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.ServletException: Session expired
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      root cause

      javax.servlet.ServletException: javax.servlet.ServletException: Session expired
      com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:89)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:60)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      root cause

      javax.servlet.ServletException: Session expired
      com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:38)
      com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
      com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
      com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:85)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:60)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      This is a real issue at development time when you're likely to be redeploying the application and restarting the app. server numerous time. You don't want to have to restart the browser every time, a simple reload should suffice.

        Issue Links

          Activity

          Ken Fyten created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Fix Version/s 1.6 [ 10031 ]
          Assignee Priority P2
          Assignee Mircea Toma [ mircea.toma ]
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          Mircea Toma made changes -
          Link This issue blocks ICE-1729 [ ICE-1729 ]
          Ken Fyten made changes -
          Summary Reloading page after app. server restart displays exception. Reloading page after app. server restart on Tomcat 6 displays exception.
          Environment All Tomcat 6
          Fix Version/s 1.6 [ 10031 ]
          Assignee Priority P2
          Description There appears to be a conflict between shutting down the app. server and the browser sending a ping/message. When you run the application it loads ok, shut down the server, no problems, but when you restart the server and try and reload the application page in the browser the following error is thrown in the browser, no errors in the server log:

          exception

          org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.ServletException: Session expired
          org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
          org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
          org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

          root cause

          javax.servlet.ServletException: javax.servlet.ServletException: Session expired
          com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:89)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
          org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
          org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
          org.apache.jsp.index_jsp._jspService(index_jsp.java:60)
          org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
          org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
          org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

          root cause

          javax.servlet.ServletException: Session expired
          com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:38)
          com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
          com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
          com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:85)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
          org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
          org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
          org.apache.jsp.index_jsp._jspService(index_jsp.java:60)
          org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
          org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
          org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

          This is a real issue at development time when you're likely to be redeploying the application and restarting the app. server numerous time. You don't want to have to restart the browser every time, a simple reload should suffice.
          When using Tomcat 6 (Tomcat 5.x is okay) there appears to be a conflict between shutting down the app. server and the browser sending a ping/message. When you run the application it loads ok, shut down the server, no problems, but when you restart the server and try and reload the application page in the browser the following error is thrown in the browser, no errors in the server log:

          exception

          org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.ServletException: Session expired
          org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
          org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
          org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

          root cause

          javax.servlet.ServletException: javax.servlet.ServletException: Session expired
          com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:89)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
          org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
          org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
          org.apache.jsp.index_jsp._jspService(index_jsp.java:60)
          org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
          org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
          org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

          root cause

          javax.servlet.ServletException: Session expired
          com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:38)
          com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
          com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
          com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:85)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
          org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
          org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
          org.apache.jsp.index_jsp._jspService(index_jsp.java:60)
          org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
          org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
          org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

          This is a real issue at development time when you're likely to be redeploying the application and restarting the app. server numerous time. You don't want to have to restart the browser every time, a simple reload should suffice.
          Assignee Mircea Toma [ mircea.toma ]
          Ken Fyten made changes -
          Resolution Won't Fix [ 2 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-1194 [ ICE-1194 ]
          Mircea Toma made changes -
          Link This issue is duplicated by ICE-2137 [ ICE-2137 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-1194 [ ICE-1194 ]
          Ken Fyten made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Fix Version/s 1.7 [ 10080 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 1.7RC1 [ 10123 ]
          Fix Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Fix Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: