I just tried this straight from the git source and it worked fine. Did
you use the source straight from the github repo? Did you make changes
to the app?
-James
On 05/22/2012 07:16 PM, Jeenandra Kumar wrote:
I am trying to start the sample app provided here
https://github.com/heroku/devcenter-java
on http://floating-robot-9278.herokuapp.com/
From the push logs it appears to be doing everything it is supposed to
do.. But for some reason the web process is not coming up.
the web process starts when using the heroku run "java ..."
C:\Users\JUttamc\src\morning-spring>heroku ps
Process State Command
------- ----- -------
C:\Users\JUttamc\src\morning-spring>heroku logs
2012-05-19T01:45:07+00:00 heroku[slugc]: Slug compilation started
2012-05-19T01:45:27+00:00 heroku[api]: Add-on add shared-database:5mb
by [email protected]
2012-05-19T01:45:27+00:00 heroku[api]: Release v2 created by
[email protected]
2012-05-19T01:45:27+00:00 heroku[api]: Config add MAVEN_OPTS, PATH,
JAVA_OPTS by [email protected]
2012-05-19T01:45:27+00:00 heroku[api]: Release v3 created by
[email protected]
2012-05-19T01:45:27+00:00 heroku[api]: Release v4 created by
[email protected]
2012-05-19T01:45:27+00:00 heroku[api]: Deploy 06a8a3b by
[email protected]
2012-05-19T01:45:27+00:00 heroku[web.1]: State changed from created to
down
2012-05-19T01:45:28+00:00 heroku[slugc]: Slug compilation finished
2012-05-19T01:45:52+00:00 heroku[router]: Error H14 (No web processes
running) -> GET floating-robot-9278.herokuapp.com/
dyno= queue= wait= service= status=503 bytes=
2012-05-19T01:45:53+00:00 heroku[router]: Error H14 (No web processes
running) -> GET floating-robot-9278.herokuapp.com/
favicon.ico dyno= queue= wait= service= status=503 bytes=
C:\Users\JUttamc\src\morning-spring>git push heroku master
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 264 bytes, done.
Total 3 (delta 1), reused 0 (delta 0)
-----> Heroku receiving push
-----> Java app detected
-----> Installing settings.xml..... done
-----> executing /app/tmp/repo.git/.cache/.maven/bin/mvn -B -
Duser.home=/tmp/build_1jl7rky12q4iq -Dmaven.repo.local=/app
/tmp/repo.git/.cache/.m2/repository -s /app/tmp/repo.git/.cache/.m2/
settings.xml -DskipTests=true clean install
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building helloworld 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
helloworld ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-
resources) @ helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /tmp/
build_1jl7rky12q4iq/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-
compile) @ helloworld ---
[INFO] Compiling 1 source file to /tmp/build_1jl7rky12q4iq/
target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-
testResources) @ helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /tmp/
build_1jl7rky12q4iq/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-
testCompile) @ helloworld ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @
helloworld ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @
helloworld ---
[INFO] Building jar: /tmp/build_1jl7rky12q4iq/target/
helloworld-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-dependency-plugin:2.4:copy-dependencies (copy-
dependencies) @ helloworld ---
[INFO] Copying jetty-http-7.6.0.v20120127.jar to /tmp/
build_1jl7rky12q4iq/target/dependency/jetty-http-7.6.0.v201
20127.jar
[INFO] Copying jetty-servlet-7.6.0.v20120127.jar to /tmp/
build_1jl7rky12q4iq/target/dependency/jetty-servlet-7.6.
0.v20120127.jar
[INFO] Copying jetty-io-7.6.0.v20120127.jar to /tmp/
build_1jl7rky12q4iq/target/dependency/jetty-io-7.6.0.v2012012
7.jar
[INFO] Copying jetty-continuation-7.6.0.v20120127.jar to /tmp/
build_1jl7rky12q4iq/target/dependency/jetty-continu
ation-7.6.0.v20120127.jar
[INFO] Copying servlet-api-2.5.jar to /tmp/build_1jl7rky12q4iq/
target/dependency/servlet-api-2.5.jar
[INFO] Copying jetty-server-7.6.0.v20120127.jar to /tmp/
build_1jl7rky12q4iq/target/dependency/jetty-server-7.6.0.
v20120127.jar
[INFO] Copying jetty-security-7.6.0.v20120127.jar to /tmp/
build_1jl7rky12q4iq/target/dependency/jetty-security-7.
6.0.v20120127.jar
[INFO] Copying jetty-util-7.6.0.v20120127.jar to /tmp/
build_1jl7rky12q4iq/target/dependency/jetty-util-7.6.0.v201
20127.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install)
@ helloworld ---
[INFO] Installing /tmp/build_1jl7rky12q4iq/target/
helloworld-1.0-SNAPSHOT.jar to /app/tmp/repo.git/.cache/.m2/rep
ository/com/example/helloworld/1.0-SNAPSHOT/helloworld-1.0-
SNAPSHOT.jar
[INFO] Installing /tmp/build_1jl7rky12q4iq/pom.xml to /app/tmp/
repo.git/.cache/.m2/repository/com/example/hellowo
rld/1.0-SNAPSHOT/helloworld-1.0-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6.018s
[INFO] Finished at: Tue May 22 21:20:30 UTC 2012
[INFO] Final Memory: 12M/490M
[INFO]
------------------------------------------------------------------------
-----> Discovering process types
Procfile declares types -> web
-----> Compiled slug size is 944K
-----> Launching... done, v6
http://floating-robot-9278.herokuapp.com deployed to Heroku
To [email protected]:floating-robot-9278.git
cc0f642..984559f master -> master
--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
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_US?hl=en