mandubian / play-crud-siena

A module for the Play! web framework providing a CRUD mechanism when using Siena DB APIs.
16 stars 3 forks source link

Deployment issue with GAE #7

Open manjunathkg opened 12 years ago

manjunathkg commented 12 years ago

I'm very interested to use siena and play for my next project. I'm stuck now and I need some help.

In short, the issue is - The app works fine in local. But when deployed to App Engine, times out on start up. I verified play 1.2.5 itself is not an issue on App engine by deploying a dummy war with play and it loads fine. I'm not sure if the variable is crud siena or my configuration of it.

Stack is :

App is a simple crud app with /admin routed to module:crudsiena

The app loads in local machine and works almost fine (except one issue. which need custom coding I guess) .. but before proceeding wanted to test the deployment on App Engine

created war using play war command and deployed using app engine sdk 1.6.2.

On startup I see this log


2012-08-08 18:16:27.721 / 500 106163ms 0kb Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1 162.119.68.248 - - [08/Aug/2012:18:16:27 -0700] "GET / HTTP/1.1" 500 0 - "Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1" "manjutestapp.appspot.com" ms=106164 cpu_ms=48671 api_cpu_ms=0 cpm_usd=1.352024 loading_request=1 exit_code=203 instance=00c61b117cbfc97f5ebaa5ddf746a85af4cc6cf0 I 2012-08-08 18:16:27.571 This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application. I 2012-08-08 18:16:27.571 The process handling this request unexpectedly died. This is likely to cause a new process to be used for the next request to your application. (Error code 203)


Any idea where to look? Since it works on local I'm lost on where to even start looking.. do we have examples of crud-siena apps with large model set (appox 500 model classes - most of them simply reference to other models) deployed in production on app engine?