FAQ
I'm using my CF vm with Ubuntu-10. I create a Mysql service and bind to a
helloworld ruby file.
so I use "tunnel-vmc-plugin",the VMC command to open tunnel to it,but got
an error:

C:\Documents and Settings\Administrator>vmc tunnel mysql-helloworld
1: none
2: mysql
3: mysqldump
Which client would you like to start?> 2

Opening tunnel on port 10000... FAILED
CFoundry::AppStagingError: 310: Staging failed: 'Staging task failed:
  Staging plugin failed:
/root/cloudfoundry/.deployments/devbox/deploy/rubies/rub
y-1.9.2-p180/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler.rb:263:
warning:
  Insecure world writable dir
/root/cloudfoundry/.deployments/devbox/deploy/rubie
s/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/bin in PATH, mode 040777
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/ge
ms/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/plugin/gemfile_
task.rb:325:in `log_and_raise_error': Failed fetching missing gem
rack-1.2.5.gem
  from Rubygems (RuntimeError)
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/gems/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/pl
ugin/gemfile_task.rb:247:in `block in get_gem_from_rubygems'
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/gems/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/pl
ugin/gemfile_task.rb:242:in `chdir'
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/gems/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/pl
ugin/gemfile_task.rb:242:in `get_gem_from_rubygems'
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/gems/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/pl
ugin/gemfile_task.rb:120:in `block in install_gem'
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/gems/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/pl
ugin/gemfile_task.rb:119:in `install_gem'
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/gems/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/pl
ugin/gemfile_task.rb:77:in `block in install_specs'
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/gems/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/pl
ugin/gemfile_task.rb:73:in `each'
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/gems/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/pl
ugin/gemfile_task.rb:73:in `install_specs'
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/gems/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/pl
ugin/gemfile_task.rb:57:in `install'
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/gems/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/pl
ugin/gemfile_support.rb:21:in `compile_gems'
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/gems/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/pl
ugin/sinatra/plugin.rb:13:in `block in stage_application'
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/gems/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/pl
ugin/sinatra/plugin.rb:10:in `chdir'
         from
/root/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p18
0/lib/ruby/gems/1.9.1/bundler/gems/vcap-staging-d973bce4201d/lib/vcap/staging/pl
ugin/sinatra/plugin.rb:10:in `stage_application'
         from /root/cloudfoundry/vcap/stager/bin/run_plugin:19:in `<main>'
'
For more information, see ~/.vmc/crash

Any help or advice? thanks for help.
Also, if I want to run 2 or more tomcat in CF for some testing, how can I
do that? is that something about staging-plugin?

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupvcap-dev @
postedMay 30, '13 at 6:52a
activeMay 30, '13 at 6:52a
posts1
users1

1 user in discussion

ShengHao Wang: 1 post

People

Translate

site design / logo © 2021 Grokbase