play2-on-dotcloud icon indicating copy to clipboard operation
play2-on-dotcloud copied to clipboard

[2.1-RC1] play entered fatal state

Open sealskej opened this issue 13 years ago • 3 comments

I am not able to start Play 2.1 RC1 server with default Welcome app. This is my log

[play.0] ==> /var/log/supervisor/play.log <==
[play.0] JAVA_OPTIONS=-Xmx128M -XX:PermSize=64M -XX:MaxPermSize=128M
[play.0] (To change JAVA_OPTIONS, edit the "run" script!)
[play.0] /home/dotcloud/run: 20: target/start: not found
[play.0] JAVA_OPTIONS=-Xmx128M -XX:PermSize=64M -XX:MaxPermSize=128M
[play.0] (To change JAVA_OPTIONS, edit the "run" script!)
[play.0] /home/dotcloud/run: 20: target/start: not found
[play.0] JAVA_OPTIONS=-Xmx128M -XX:PermSize=64M -XX:MaxPermSize=128M
[play.0] (To change JAVA_OPTIONS, edit the "run" script!)
[play.0] /home/dotcloud/run: 20: target/start: not found
[play.0] JAVA_OPTIONS=-Xmx128M -XX:PermSize=64M -XX:MaxPermSize=128M
[play.0] (To change JAVA_OPTIONS, edit the "run" script!)
[play.0] /home/dotcloud/run: 20: target/start: not found
[play.0] ==> /var/log/supervisor/supervisord.log <==
[play.0] 2012-12-11 00:24:53,398 WARN Included extra file "/home/dotcloud/supervisor.conf" during parsing
[play.0] 2012-12-11 00:24:53,502 INFO RPC interface 'supervisor' initialized
[play.0] 2012-12-11 00:24:53,502 WARN cElementTree not installed, using slower XML parser for XML-RPC
[play.0] 2012-12-11 00:24:53,502 CRIT Server 'unix_http_server' running without any HTTP authentication checking
[play.0] 2012-12-11 00:24:53,508 INFO daemonizing the supervisord process
[play.0] 2012-12-11 00:24:53,510 INFO supervisord started with pid 149
[play.0] 2012-12-11 00:24:54,521 INFO spawned: 'play' with pid 151
[play.0] 2012-12-11 00:24:54,673 INFO exited: play (exit status 127; not expected)
[play.0] 2012-12-11 00:24:55,682 INFO spawned: 'play' with pid 184
[play.0] 2012-12-11 00:24:55,778 INFO exited: play (exit status 127; not expected)
[play.0] 2012-12-11 00:24:57,790 INFO spawned: 'play' with pid 198
[play.0] 2012-12-11 00:24:57,886 INFO exited: play (exit status 127; not expected)
[play.0] 2012-12-11 00:25:00,896 INFO spawned: 'play' with pid 212
[play.0] 2012-12-11 00:25:00,999 INFO exited: play (exit status 127; not expected)
[play.0] 2012-12-11 00:25:02,000 INFO gave up: play entered FATAL state, too many start retries too quickly

sealskej avatar Dec 11 '12 00:12 sealskej

I have compiled app locally, pushed again and it works. Thanks!

sealskej avatar Dec 11 '12 01:12 sealskej

I had the same problem.

You need to : play clean compile stage before pushing

chrisghost avatar Jan 23 '13 15:01 chrisghost

I need to update the documentation about the new option. by default now you need to compile you app locally. You could still compile on dotcloud server, but the interest is limited as it need really more memory and if its to slow the deployment will fail.

mchv avatar Jan 23 '13 18:01 mchv