https://issues.apache.org/bugzilla/show_bug.cgi?id=56831

            Bug ID: 56831
           Summary: javax.faces.application.ViewExpiredException thrown
                    for applications which contextRoot contains dash
           Product: Tomcat 7
           Version: 7.0.55
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: jhu...@redhat.com

Created attachment 31889
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31889&action=edit
Maven project to reproduce the issue - its simplified RichFaces project to
contain only JSF dependencies

When I deploy a JSF application (Mojarra 2.2.7), which .war name contains dash
(deployed context root contains dash as well),
javax.faces.application.ViewExpiredException is being in the first Ajax request
from such application.

The same application works if its .war does not contain dash (the context root
is without dash).

Another important thing to reproduce this is, that the error is thrown only
when you get to the app via redirect. If the application is loaded directly,
everything works. More info in steps to reproduce.

I have tried different Tomcat versions - 8.x, 7.0.30, etc. - still the same.
I have tried different JSF Mojarra versions, newer or older.

Here are the steps to reproduce:
1. download attached maven project
2. issue "mvn clean package" from its root directory
3. deploy simple-app.war to Tomcat
4. load localhost:8080 and then Tomcat Gui manager
5. click on the context root to load actual app
6. try to write something into input and see the ViewExpiredException

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to