Hi Jeenandra,

Is it possible that you deployed once without a Procfile? If you do that, 
Heroku will set your web process count to zero and you will have to 
manually set it to 1. You only have to do this once of course.
 

> On 05/23/2012 03:58 PM, Jeenandra Kumar wrote: 
> > Ok.. That spun the process up.. But I had to execute the same command 
> > the next time too after the push.. 
> > Is there a way to fix so that I dont have to execute the scale command 
> > after the code push.. 
> > 
> > Also heroky ps:stop doesnt seem to work either.. I had to do scale 
> > web=0 to stop the process.. 
> > 
> > 
> > On May 23, 4:34 am, "James Ward"<j...@heroku.com>  wrote: 
> >> Try: 
> >> 
> >> heroku scale web=1 
> >> 
> >> If your first push doesn't have a Procfile containing a process named 
> "web" then Heroku won't auto-start a web dyno for you...  Even if you add a 
> web process later. 
> >> 
> >> -James 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> -----Original Message----- 
> >> From: Jeenandra Kumar<jeenan...@gmail.com> 
> >> 
> >> Sender: heroku@googlegroups.com 
> >> Date: Tue, 22 May 2012 18:16:45 
> >> To: Heroku<heroku@googlegroups.com> 
> >> Reply-To: heroku@googlegroups.com 
> >> Subject: Cannot start Java sample app with Jetty 
> >> 
> >> I am trying to start the sample app provided herehttps://
> 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 jeenan...@yahoo.com 
> >> 2012-05-19T01:45:27+00:00 heroku[api]: Release v2 created by 
> >> jeenan...@yahoo.com 
> >> 2012-05-19T01:45:27+00:00 heroku[api]: Config add MAVEN_OPTS, PATH, 
> >> JAVA_OPTS by jeenan...@yahoo.com 
> >> 2012-05-19T01:45:27+00:00 heroku[api]: Release v3 created by 
> >> jeenan...@yahoo.com 
> >> 2012-05-19T01:45:27+00:00 heroku[api]: Release v4 created by 
> >> jeenan...@yahoo.com 
> >> 2012-05-19T01:45:27+00:00 heroku[api]: Deploy 06a8a3b by 
> >> jeenan...@yahoo.com 
> >> 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.comdeployed to Heroku 
> >> 
> >> To g...@heroku.com: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 
> >> heroku+unsubscr...@googlegroups.com 
> >> For more options, visit this group athttp://
> groups.google.com/group/heroku?hl=en_US?hl=en 
> > 
>

-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

Reply via email to