I need your help regarding Play on Heroku:

I tried to deployed the minuteproject 4 play (1.2.4) sample (http://
minuteproject.wikispaces.com/Play).
The play petshop demo app work locally on hsqldb.
I git the project and follow the instruction from James article
http://www.jamesward.com/2011/12/11/tutorial-play-framework-jpa-json-jquery-heroku
I change the DB snippet to be Heroku compliant.
Apparently when I look in the logs there is a 'Module not found: /
app/.play/modules/crud'. And I have an error message on heroku site.
Below are the full heroku/git list of command I issued.

The source code is on 
http://sourceforge.net/projects/minuteproject/files/0.8/0.8.0/
demo-src-generated-0.8.zip under Play directory.

Do you have any ideas?

Best regards,

Florian.

Here are the instructions:

C:\minuteProject-0.8\demo\output\play\petshop>git push heroku master
Enter passphrase for key '/c/xxxx/.ssh/id_rsa':
Counting objects: 77, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (67/67), done.
Writing objects: 100% (77/77), 17.67 KiB, done.
Total 77 (delta 27), reused 0 (delta 0)

-----> Heroku receiving push
-----> Play! app detected
grep: conf/dependencies.yml: No such file or directory
-----> WARNING: Play! version not specified in dependencies.yml.
Default version: 1.2.4 being used....
-----> Installing Play! 1.2.4.....
-----> done
-----> Installing ivysettings.xml..... done
-----> Building Play! application...
       ~        _            _
       ~  _ __ | | __ _ _  _| |
       ~ | '_ \| |/ _' | || |_|
       ~ |  __/|_|\____|\__ (_)
       ~ |_|            |__/
       ~
       ~ play! 1.2.4, http://www.playframework.org
       ~
       1.2.4
       Building Play! application at directory ./
       Resolving dependencies: .play/play dependencies ./ --forProd --
forceCopy --silent -Duser.home=/tmp/build_316ctm50
y6sfp 2>&1
       ~ !! /tmp/build_316ctm50y6sfp/conf/dependencies.yml does not
exist
       ~
       ~ Done!
       ~
       Precompiling: .play/play precompile ./ --silent 2>&1
       21:35:03,968 INFO  ~ Starting /tmp/build_316ctm50y6sfp
       21:35:03,972 WARN  ~ Declaring modules in application.conf is
deprecated. Use dependencies.yml instead (module.cr
ud)
       21:35:03,973 INFO  ~ Module crud is available (/tmp/
build_316ctm50y6sfp/.play/modules/crud)
       21:35:04,067 INFO  ~ Precompiling ...
       21:35:12,132 INFO  ~ Done.
-----> No Procfile found. Will use the following default process:
       play run --http.port=$PORT $PLAY_OPTS
-----> Discovering process types
       Procfile declares types -> (none)
       Default types for Play! -> web
-----> Compiled slug size is 26.9MB
-----> Launching... done, v5
       http://pure-mountain-7961.herokuapp.com deployed to Heroku

To [email protected]:pure-mountain-7961.git
 * [new branch]      master -> master

C:\minuteProject-0.8\demo\output\play\petshop>heroku open
Opening http://pure-mountain-7961.herokuapp.com/

C:\minuteProject-0.8\demo\output\play\petshop>heroku logs
2012-02-19T19:31:04+00:00 heroku[api]: Add-on add logging:basic by
[email protected]
2012-02-19T19:31:04+00:00 heroku[api]: Release v2 created by
[email protected]
2012-02-19T21:34:59+00:00 heroku[slugc]: Slug compilation started
2012-02-19T21:35:20+00:00 heroku[api]: Add-on add shared-database:5mb
by [email protected]
2012-02-19T21:35:20+00:00 heroku[api]: Release v3 created by
[email protected]
2012-02-19T21:35:23+00:00 heroku[api]: Config add PLAY_OPTS, PATH,
JAVA_OPTS by [email protected]
2012-02-19T21:35:23+00:00 heroku[api]: Release v4 created by
[email protected]
2012-02-19T21:35:24+00:00 heroku[api]: Deploy 67ac64b by
[email protected]
2012-02-19T21:35:24+00:00 heroku[api]: Release v5 created by
[email protected]
2012-02-19T21:35:26+00:00 heroku[web.1]: State changed from created to
starting
2012-02-19T21:35:26+00:00 heroku[slugc]: Slug compilation finished
2012-02-19T21:35:33+00:00 heroku[web.1]: Starting process with command
`play run --http.port=32995 --%prod -Dprecompiled
=true`
2012-02-19T21:35:34+00:00 app[web.1]: ~        _            _
2012-02-19T21:35:34+00:00 app[web.1]: ~  _ __ | | __ _ _  _| |
2012-02-19T21:35:34+00:00 app[web.1]: ~ |_|            |__/
2012-02-19T21:35:34+00:00 app[web.1]: ~ | '_ \| |/ _' | || |_|
2012-02-19T21:35:34+00:00 app[web.1]: ~ |  __/|_|\____|\__ (_)
2012-02-19T21:35:34+00:00 app[web.1]: ~
2012-02-19T21:35:34+00:00 app[web.1]: ~ framework ID is prod
2012-02-19T21:35:34+00:00 app[web.1]: ~ Oops,
2012-02-19T21:35:34+00:00 app[web.1]: ~
2012-02-19T21:35:34+00:00 app[web.1]: ~ Module not found: /app/.play/
modules/crud
2012-02-19T21:35:34+00:00 app[web.1]: ~
2012-02-19T21:35:34+00:00 app[web.1]: ~ play! 1.2.4, 
http://www.playframework.org
2012-02-19T21:35:35+00:00 heroku[web.1]: Process exited with status
255
2012-02-19T21:35:35+00:00 heroku[web.1]: State changed from starting
to crashed
2012-02-19T21:35:35+00:00 heroku[web.1]: State changed from crashed to
created
2012-02-19T21:35:36+00:00 heroku[web.1]: State changed from created to
starting
2012-02-19T21:35:42+00:00 heroku[web.1]: Starting process with command
`play run --http.port=28359 --%prod -Dprecompiled
=true`
2012-02-19T21:35:43+00:00 app[web.1]: ~
2012-02-19T21:35:43+00:00 app[web.1]: ~ framework ID is prod
2012-02-19T21:35:43+00:00 app[web.1]: ~        _            _
2012-02-19T21:35:43+00:00 app[web.1]: ~  _ __ | | __ _ _  _| |
2012-02-19T21:35:43+00:00 app[web.1]: ~ play! 1.2.4, 
http://www.playframework.org
2012-02-19T21:35:43+00:00 app[web.1]: ~ |  __/|_|\____|\__ (_)
2012-02-19T21:35:43+00:00 app[web.1]: ~ | '_ \| |/ _' | || |_|
2012-02-19T21:35:43+00:00 app[web.1]: ~
2012-02-19T21:35:43+00:00 app[web.1]: ~ Oops,
2012-02-19T21:35:43+00:00 app[web.1]: ~ Module not found: /app/.play/
modules/crud
2012-02-19T21:35:43+00:00 app[web.1]: ~
2012-02-19T21:35:43+00:00 app[web.1]: ~ |_|            |__/
2012-02-19T21:35:44+00:00 heroku[web.1]: Process exited with status
255
2012-02-19T21:35:44+00:00 heroku[web.1]: State changed from starting
to crashed
2012-02-19T21:36:52+00:00 heroku[router]: Error H10 (App crashed) ->
GET pure-mountain-7961.herokuapp.com/ dyno= queue=
wait= service= status=503 bytes=

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to