2 Replies Latest reply on Mar 11, 2013 8:27 AM by Radim Hanus

    RF4.1, form login, session expired and ajax request fired-> how to get the login page ?!?

    Radim Hanus Expert

      Hi,

       

      I'm struggling with following problem:

       

      I have jsf2/rf4 application with form login security, whenever I restart jboss7.1 I have no response from a page where only ajax controls are available (menu with mode="ajax", a4j:commandButton, ...)

      I turned on a4j:log and see following output:

       

      debug[17:41:22.140]: New request added to queue. Queue requestGroupingId changed to j_idt68:table

      debug[17:41:22.144]: Queue will wait 0ms before submit

      debug[17:41:22.145]: richfaces.queue: will submit request NOW

      info [17:41:22.156]: Received 'begin' event from <div id=j_idt68:table class="rf-edt" ...>

      info [17:41:22.185]: Received 'beforedomupdate' event from <div id=j_idt68:table class="rf-edt" ...>

      debug[17:41:22.186]: Server returned responseText: <?xml version='1.0' encoding='UTF-8'?> <partial-response><changes><update id="javax.faces.ViewState"><![CDATA[8119495113141661195:1155975418646854343]]></update></changes></partial-response>

      info [17:41:22.188]: Listing content of response changes element:
      Element update for id=javax.faces.ViewState
      <update id="javax.faces.ViewState"><![CDATA[8119495113141661195:1155975418646854343]]></update>

      debug[17:41:22.190]: richfaces.queue: ajax submit successfull

      debug[17:41:22.190]: richfaces.queue: Nothing to submit

      info [17:41:22.195]: Received 'success' event from <div id=j_idt68:table class="rf-edt" ...>

      info [17:41:22.196]: Received 'complete' event from <div id=j_idt68:table class="rf-edt" ...>

       

      When I refresh the page manually (f.e. F5) login page appears as expected

       

      I walked throught RF4.1 docs, forum, stackoverflow but cannot find any hints, only for RF3.3

      I appreciate any help !

       

      Thanx in advance,

      Radim