Hi everyone,
short description of my problem:
I created a Vaadin web application that was deployed in Wildfly 8.0.0.Beta1 and worked. When I tried to deploy the same application on Wildfly 8.0.0.CR1, I got a "Session Expired" immediately after the first interaction. Further testing revealed, that this problem occurs in Firefox 24.2.0, Chrome 31.0 and Firefox 27.0, but not in Internet Explorer 11 and the Eclipse integrated browser (which identifies itself as Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.19pre) Gecko).
To reproduce it's enough to create a basic Vaadin application via Maven:
mvn archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=LATEST
package it via
mvn package
and deploy on Wildfly. This will create a sample application which only features a single button. As soon as that button is clicked, "Session Expired" occurs.
The following was tested.
Browsers/OS/Java
- Firefox 24.2.0 on CentOS 6.5 with Oracle Java 1.7.0_45
- Chrome 31.0 on CentOS 6.5 with Oracle Java 1.7.0_45
- Firefox 27.0 on Windows 7 with Oracle Java 1.6.0_38
- Integrated browser from eclipse on CentOS 6.5 with Oracle Java 1.7.0_45
- Internet Explorer 11 on Windows 7 with Oracle Java 1.6.0_38
Webservers
- Wildfly 8.0.0.Beta1 on CentOS 6.5 with Oracle Java 1.7.0_45
- Wildfly 8.0.0.CR1 on CentOS 6.5 with Oracle Java 1.7.0_45
- Glassfish 3.0.1 on CentOS 6.5 with Oracle Java 1.7.0_45
Results: Application works in all Browsers on Wildfly 8.0.0.Beta1 and Glassfish 3.0.1. When deployed on Wildfly 8.0.0.CR1, the same WAR file only works in IE 11 and the Eclipse integrated browser.
Finally, I tried to find out exactly what browser Eclipse uses:
# For Eclipse - works
BrowserApplication: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.19pre) Gecko
MajorVersion: -1
MinorVersion: -1
# For Firefox 24.2.0 - doesn't work
BrowserApplication: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0
MajorVersion: 24
MinorVersion: 0
Not sure if this is a bug or whats going on, any comment is appreciated.