java - A Play 1.x app randomly loses the reference to any of its view templates -
I am currently working with Play 1.x for almost 2 years, and this is the first time that I I am experiencing this way. My app is running on the server (in production mode), and after a certain period, it is just "hanged"
When a particular path is called, then I receive an "internal error" message Appears. I have inspected the log, I found them all to be over following: No
@ 6j3jc3f0p Internal Server Error (500) / 4343206 Template request for the GET / action (/ Applications / Controller / In the application. Line 206 around Java) template application / action.html does not exist. play.exceptions.TemplateNotFoundException: template not found on MyController / showDetails.html play.mvc.Controller.renderTemplate (Controller.java:668) on play.mvc on play.mvc.Controller.renderTemplate (Controller.java:641). On Controller.render controllers.MyController.showDetails (Controller.java:696) (MyController.java:206) play.mvc.ActionInvoker.invokeWithContinuation (ActionInvoker.java:557) on play.mvc.ActionInvoker.invoke (ActionInvoker.java 508) on play.mvc.ActionInvoker.invokeControllerMethod (ActionInvoker.java:484) play.mvc.ActionInvoker.invokeControllerMethod (ActionInvoker.java:479) on play.mvc.ActionInvoker.invoke (ActionInvoker.java:161) on prayer . HTTP request (play!) 14: 32: 50,665 error ~ @ 6j3jc3f10 Error template not found during the 500 response template errors / 500.html does not exist. play.exceptions.TemplateNotFoundException: Template not found: 500.html on play.templates.TemplateLoader.load (TemplateLoader.java:192) on play.server.PlayHandler.serve500 (PlayHandler.java:774) errors / Invocation.HTTP request (Play!)
Looks like, after some time, the application loses any reference to the templates, even a default that is 500 error Is responsible for opening in
I googled around and found out that the way this code has been compiled, I'm running Java version 1.7.0_60
. Another application that I have been successfully running for two months is running on Java version 1.7.0_51
, and java.source = 1.5
. When I tried to set java.source to 1.5, I could not compile the code, so I set it to 1.6, but as it seems, it is not helping too much.
Do you have any ideas what can be wrong? It can not be anything in the code because it is based on the code base of the application which is continuously going on for months in production.
Comments
Post a Comment