FATAL: Net::HTTPServerException: remote_file[/var/vcap/services/neo4j/neo4j-hosting-extension.jar]

245 views
Skip to first unread message

Moss

unread,
May 30, 2012, 5:29:33 AM5/30/12
to vcap-dev
Dear all,

I'm running dev_set_up and I meet a problem:

[Wed, 30 May 2012 17:18:30 +0800] INFO: Processing remote_file[/var/
vcap/services/neo4j/neo4j-hosting-extension.jar] action create
(neo4j::default line 22)
[Wed, 30 May 2012 17:18:35 +0800] ERROR: remote_file[/var/vcap/
services/neo4j/neo4j-hosting-extension.jar] (neo4j::default line 22)
has had an error
[Wed, 30 May 2012 17:18:35 +0800] ERROR: remote_file[/var/vcap/
services/neo4j/neo4j-hosting-extension.jar] (/home/cf/cloudfoundry/
vcap/dev_setup/cookbooks/neo4j/recipes/default.rb:22:in `from_file')
had an error:
remote_file[/var/vcap/services/neo4j/neo4j-hosting-extension.jar]
(neo4j::default line 22) had an error: Net::HTTPServerException: 403
"Forbidden"
/usr/lib/ruby/1.8/net/http.rb:2101:in `error!'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:313:in `streaming_request'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:328:in `retriable_rest_request'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:291:in `streaming_request'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:153:in `fetch'
/usr/lib/ruby/vendor_ruby/chef/provider/remote_file.rb:42:in
`action_create'
/usr/lib/ruby/vendor_ruby/chef/resource.rb:454:in `send'
/usr/lib/ruby/vendor_ruby/chef/resource.rb:454:in `run_action'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:49:in `run_action'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:85:in `converge'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:85:in `each'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:85:in `converge'
/usr/lib/ruby/vendor_ruby/chef/resource_collection.rb:94
/usr/lib/ruby/vendor_ruby/chef/resource_collection/
stepable_iterator.rb:116:in `call'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/
stepable_iterator.rb:116:in `call_iterator_block'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/
stepable_iterator.rb:85:in `step'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/
stepable_iterator.rb:104:in `iterate'
/usr/lib/ruby/vendor_ruby/chef/resource_collection/
stepable_iterator.rb:55:in `each_with_index'
/usr/lib/ruby/vendor_ruby/chef/resource_collection.rb:92:in
`execute_each_resource'
/usr/lib/ruby/vendor_ruby/chef/runner.rb:80:in `converge'
/usr/lib/ruby/vendor_ruby/chef/client.rb:330:in `converge'
/usr/lib/ruby/vendor_ruby/chef/client.rb:163:in `run'
/usr/lib/ruby/vendor_ruby/chef/application/solo.rb:207:in
`run_application'
/usr/lib/ruby/vendor_ruby/chef/application/solo.rb:195:in `loop'
/usr/lib/ruby/vendor_ruby/chef/application/solo.rb:195:in
`run_application'
/usr/lib/ruby/vendor_ruby/chef/application.rb:70:in `run'
/usr/bin/chef-solo:24
[Wed, 30 May 2012 17:18:35 +0800] ERROR: Running exception handlers
[Wed, 30 May 2012 17:18:35 +0800] ERROR: Exception handlers complete
[Wed, 30 May 2012 17:18:35 +0800] FATAL: Stacktrace dumped to /var/
chef/cache/chef-stacktrace.out
[Wed, 30 May 2012 17:18:35 +0800] FATAL: Net::HTTPServerException:
remote_file[/var/vcap/services/neo4j/neo4j-hosting-extension.jar]
(neo4j::default line 22) had an error: Net::HTTPServerException: 403
"Forbidden"

I don't know the reason but I find a issue https://github.com/cloudfoundry/vcap/issues/218
.

Is it a new version problem? Should I get an older version to do
dev_setup?

Thanks,
Moss

Frank Lu

unread,
May 30, 2012, 5:44:53 AM5/30/12
to vcap...@cloudfoundry.org
The jar is not available from dist.neo4j.org.
As a workaround, you could download it from https://docs.google.com/open?id=0B7FzUrrZowCvdkh4SU1QdFh1TDg.
and  put it in /var/vcap/services/neo4j/neo4j-hosting-extension.jar
after that, re-run vcap_dev_setup

--
Frank Lu (Mingfan Lu)

梅诚

unread,
May 30, 2012, 6:08:38 AM5/30/12
to vcap...@cloudfoundry.org
Thank you!

2012/5/30 Frank Lu <f...@rbcon.com>

张 磊

unread,
May 30, 2012, 9:25:47 PM5/30/12
to vcap-dev
That's a known issue. I think you can use neo4j-server-extension
instead.

On May 30, 6:08 pm, 梅诚 <chee...@gmail.com> wrote:
> Thank you!
>
> 2012/5/30 Frank Lu <f...@rbcon.com>
>
>
>
>
>
>
>
> > The jar is not available from dist.neo4j.org.
> > As a workaround, you could download it from
> >https://docs.google.com/open?id=0B7FzUrrZowCvdkh4SU1QdFh1TDg.
> > and  put it in /var/vcap/services/neo4j/neo4j-hosting-extension.jar
> > after that, re-run vcap_dev_setup
>

梅诚

unread,
May 30, 2012, 11:52:34 PM5/30/12
to vcap...@cloudfoundry.org
OK, I'll try it. Thank you!

2012/5/31 张 磊 <res...@163.com>
Reply all
Reply to author
Forward
0 new messages