Skip to content

Instantly share code, notes, and snippets.

@jbayer
Created August 30, 2012 06:04
Show Gist options
  • Save jbayer/3523094 to your computer and use it in GitHub Desktop.
Save jbayer/3523094 to your computer and use it in GitHub Desktop.
vmc-ng push with simple java war file
jbayer$ vmc push --path simple.war
Name> simplejames
Instances> 1
1: django
2: grails
3: java_web
4: lift
5: node
6: otp_rebar
7: php
8: rack
9: rails3
10: sinatra
11: spring
12: standalone
13: wsgi
Framework> 3
1: python2
2: java
3: node
4: node06
5: erlangR14B02
6: php
7: ruby18
8: ruby19
Runtime> 2
URL> simplejames.p01.rbconsvcs.com
1: 64M
2: 128M
3: 256M
4: 512M
5: 1G
6: 2G
Memory Limit> 3
Creating simplejames... OK
Create services for application?> n
Bind other services to application?> n
Save configuration?> y
Application root> .
Saved to manifest.yml.
Uploading simplejames... OK
Starting simplejames... FAILED
CFoundry::APIError: 170001: Staging error: failed to stage application:
[2012-08-30 06:03:22] Setting up temporary directories
[2012-08-30 06:03:22] Downloading application
[2012-08-30 06:03:22] Unpacking application
[2012-08-30 06:03:22] Staging application
[2012-08-30 06:03:22] Staging plugin failed: /var/vcap/packages/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.62/lib/vcap/staging/plugin/java_web/plugin.rb:28:in `block in stage_application': Web application staging failed: web.xml not found (RuntimeError)
from /var/vcap/packages/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.62/lib/vcap/staging/plugin/java_web/plugin.rb:22:in `chdir'
from /var/vcap/packages/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.62/lib/vcap/staging/plugin/java_web/plugin.rb:22:in `stage_application'
from /var/vcap/packages/stager/bin/run_plugin:19:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment