Skip to content

Instantly share code, notes, and snippets.

@jbayer
Created January 14, 2014 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbayer/8415149 to your computer and use it in GitHub Desktop.
Save jbayer/8415149 to your computer and use it in GitHub Desktop.
example ratpack app
$ gcf p ratpack-james -p example-ratpack-gradle-groovy-app-fat.jar --no-route
Updating app ratpack-james in org jwatters-org / space staging as jbayer@gopivotal.com...
OK
Uploading ratpack-james...
OK
Starting app ratpack-james in org jwatters-org / space staging as jbayer@gopivotal.com...
OK
0 of 1 instances running, 1 starting
1 of 1 instances running
App started
Showing health and status for app ratpack-james in org jwatters-org / space staging as jbayer@gopivotal.com...
OK
requested state: started
instances: 1/1
usage: 1G x 1 instances
urls:
state since cpu memory disk
#0 running 2014-01-14 12:41:19 AM 0.0% 7.7M of 1G 134.5M of 1G
jamesbayer:libs jamesbayer$ gcf logs ratpack-james
Connected, tailing logs for app ratpack-james in org jwatters-org / space staging as jbayer@gopivotal.com...
^Cjamesbayer:libs jamesbayer$ gcf logs ratpack-james --recent
Connected, dumping recent logs for app ratpack-james in org jwatters-org / space staging as jbayer@gopivotal.com...
2014-01-13T23:25:32.79-0800 [API] OUT Created app with guid 2affa606-38a2-4cff-b7a9-78f9f105b3ee
2014-01-13T23:34:38.51-0800 [API] OUT Updated app with guid 2affa606-38a2-4cff-b7a9-78f9f105b3ee ({"name"=>"ratpack-james"})
2014-01-13T23:36:50.50-0800 [DEA] OUT Got staging request for app with id 2affa606-38a2-4cff-b7a9-78f9f105b3ee
2014-01-13T23:36:53.10-0800 [API] OUT Updated app with guid 2affa606-38a2-4cff-b7a9-78f9f105b3ee ({"state"=>"STARTED"})
2014-01-13T23:36:53.39-0800 [STG] OUT -----> Downloaded app package (11M)
2014-01-13T23:36:54.33-0800 [API] ERR Encountered error: Staging error: failed to stage application:
2014-01-13T23:36:54.33-0800 [API] ERR Script exited with status 1
2014-01-14T00:28:24.19-0800 [API] OUT Updated app with guid 2affa606-38a2-4cff-b7a9-78f9f105b3ee ({"name"=>"ratpack-james"})
2014-01-14T00:40:43.70-0800 [DEA] OUT Got staging request for app with id 2affa606-38a2-4cff-b7a9-78f9f105b3ee
2014-01-14T00:40:45.54-0800 [API] OUT Updated app with guid 2affa606-38a2-4cff-b7a9-78f9f105b3ee ({"state"=>"STARTED"})
2014-01-14T00:40:47.22-0800 [STG] OUT -----> Downloaded app package (13M)
2014-01-14T00:40:55.33-0800 [STG] OUT -----> Downloading OpenJDK 1.7.0_45 from http://download.pivotal.io.s3.amazonaws.com/openjdk/lucid/x86_64/openjdk-1.7.0_45.tar.gz (2.3s)
2014-01-14T00:40:55.33-0800 [STG] OUT Expanding JRE to .java (1.0s)
2014-01-14T00:41:03.38-0800 [STG] OUT -----> Uploading droplet (38M)
2014-01-14T00:41:16.47-0800 [DEA] OUT Registering app instance (index 0) with guid 2affa606-38a2-4cff-b7a9-78f9f105b3ee
2014-01-14T00:41:19.76-0800 [App/0] OUT
2014-01-14T00:41:19.76-0800 [App/0] ERR
2014-01-14T00:41:21.91-0800 [App/0] ERR Jan 14, 2014 8:41:21 AM ratpack.server.internal.NettyRatpackServer start
2014-01-14T00:41:21.91-0800 [App/0] ERR INFO: Ratpack started for http://localhost:5050
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment