Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2201

Struts-faces renders blank pages when refreshing page.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2 Family
    • None
    • Operating System: other
      Platform: PC
    • 31097

    Description

      I downloaded the latest struts-faces nightly build (2004-09-07) and dropped
      the demo applications into a fresh jboss 3.2.5, both jboss and the webapps are
      unmodified.

      When I run the demo application and hit the refresh button on a page, that
      page comes back blank (except the first page, wich always works). Waiting a
      minute and hitting refresh sometimes brings the page back but subseqvent
      refreshes always generates the blank page again.

      The server gives the following warnings:
      17:12:58,140 WARN [ViewHandlerImpl] Unable to determine FaceServlet mapping
      for servlet path '/editRegistration.do'.
      17:13:11,469 WARN [ViewHandlerImpl] Unable to determine FaceServlet mapping
      for servlet path '/tour.do'.

      I am not sure though that these warnings are assosciated with this particular
      problem since they sometimes occur even when the pages renders ok. The amazing
      thing is that the application works perfect as long as I navigate through it
      using the links. It is ONLY the refresh command that makes it disappear.

      I tried the solution suggested by kreator at
      http://forum.java.sun.com/thread.jsp?thread=500294&forum=427&message=2661146
      and added a context.release() at the end of FacesRequestProcessor wich fixed
      the problem but introduces an illegalstate exception (don't remember the exact
      exception) wich is logical since the context has been removed.

      Cheers
      Fredrik

      Attachments

        Activity

          People

            Unassigned Unassigned
            fredrik@collabra.se Fredrik Hultin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: