Play framework does not return page and static content
Posted
by
Anton
on Stack Overflow
See other posts from Stack Overflow
or by Anton
Published on 2012-11-03T18:22:32Z
Indexed on
2012/11/05
11:01 UTC
Read the original article
Hit count: 304
playframework
|playframework-1.x
I'm using play framework in production for one of my web projects. From time to time Play does not render main page or does not return some of the static content files.
I have attached few screenshots below. First screenshot displays firebug console, loading of the site is stucked at the beginning, when serving home page.
Second screenshot display fiddler console, when 2 static resources are not loading.
This issue is hard to reproduce, it happens 1 of 15 time, I have to delete cache data and reload page. (pressing CRTL-F5 in FF). Issue can be reproduced in most of the browsers.
Initially, I was thinging that there is something wrong with hosting provider. But I have changed hosting provided and issue has not gone.
Version of the play is 1.2.2. Play is running as standalone server.
Not sure, but probably deploying Play to Jetty/Tomcat/Resin would help. Also I'm thinging about rewriting application to another stack (well-known for me - j2ee, spring, whatever)
- I have no idea how to debug and resolve this issue. Any clue ?
- Has anyone faced same issue with Play before ?
© Stack Overflow or respective owner