The last problem has been solved. It was a problem of pointing at "lucid-0.10" repo instead of "lucid". Thaks a lot !
One question about application cookbok. Where is the war to be installed defined?.
I mean, I need to tell in some place the name of the war, the location....
undefined method `[]' for nil:NilClass
/var/cache/chef/cookbooks/application/recipes/java_webapp.rb:104:in `from_file'
/usr/lib/ruby/vendor_ruby/chef/mixin/recipe_definition_dsl_core.rb:69:in `instance_eval'
/usr/lib/ruby/vendor_ruby/chef/mixin/recipe_definition_dsl_core.rb:69:in `method_missing'
/var/cache/chef/cookbooks/application/recipes/java_webapp.rb:103:in `from_file'
/usr/lib/ruby/vendor_ruby/chef/cookbook_version.rb:578:in `load_recipe'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `each'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/var/cache/chef/cookbooks/application/recipes/default.rb:31:in `from_file'
/var/cache/chef/cookbooks/application/recipes/default.rb:28:in `each'
/var/cache/chef/cookbooks/application/recipes/default.rb:28:in `from_file'
/var/cache/chef/cookbooks/application/recipes/default.rb:25:in `each'
/var/cache/chef/cookbooks/application/recipes/default.rb:25:in `from_file'
/usr/lib/ruby/vendor_ruby/chef/search/query.rb:44:in `call'
/usr/lib/ruby/vendor_ruby/chef/search/query.rb:44:in `search'
/usr/lib/ruby/vendor_ruby/chef/search/query.rb:44:in `each'
/usr/lib/ruby/vendor_ruby/chef/search/query.rb:44:in `search'
/usr/lib/ruby/vendor_ruby/chef/mixin/language.rb:133:in `search'
/var/cache/chef/cookbooks/application/recipes/default.rb:21:in `from_file'
/usr/lib/ruby/vendor_ruby/chef/cookbook_version.rb:578:in `load_recipe'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `each'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/usr/lib/ruby/vendor_ruby/chef/run_context.rb:72:in `load'
/usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `each'
/usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `load'
/usr/lib/ruby/vendor_ruby/chef/client.rb:195:in `setup_run_context'
/usr/lib/ruby/vendor_ruby/chef/client.rb:159:in `run'
/usr/lib/ruby/vendor_ruby/chef/application/client.rb:239:in `run_application'
/usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `loop'
/usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `run_application'
/usr/lib/ruby/vendor_ruby/chef/application.rb:67:in `run'
/usr/bin/chef-client:25
[Wed, 11 Apr 2012 11:39:20 +0200] FATAL: Stacktrace dumped to /var/cache/chef/chef-stacktrace.out
[Wed, 11 Apr 2012 11:39:20 +0200] DEBUG: NoMethodError: undefined method `[]' for nil:NilClass
/var/cache/chef/cookbooks/application/recipes/java_webapp.rb:104:in `from_file'
/usr/lib/ruby/vendor_ruby/chef/mixin/recipe_definition_dsl_core.rb:69:in `instance_eval'
/usr/lib/ruby/vendor_ruby/chef/mixin/recipe_definition_dsl_core.rb:69:in `method_missing'
/var/cache/chef/cookbooks/application/recipes/java_webapp.rb:103:in `from_file'
/usr/lib/ruby/vendor_ruby/chef/cookbook_version.rb:578:in `load_recipe'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `each'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/var/cache/chef/cookbooks/application/recipes/default.rb:31:in `from_file'
/var/cache/chef/cookbooks/application/recipes/default.rb:28:in `each'
/var/cache/chef/cookbooks/application/recipes/default.rb:28:in `from_file'
/var/cache/chef/cookbooks/application/recipes/default.rb:25:in `each'
/var/cache/chef/cookbooks/application/recipes/default.rb:25:in `from_file'
/usr/lib/ruby/vendor_ruby/chef/search/query.rb:44:in `call'
/usr/lib/ruby/vendor_ruby/chef/search/query.rb:44:in `search'
/usr/lib/ruby/vendor_ruby/chef/search/query.rb:44:in `each'
/usr/lib/ruby/vendor_ruby/chef/search/query.rb:44:in `search'
/usr/lib/ruby/vendor_ruby/chef/mixin/language.rb:133:in `search'
/var/cache/chef/cookbooks/application/recipes/default.rb:21:in `from_file'
/usr/lib/ruby/vendor_ruby/chef/cookbook_version.rb:578:in `load_recipe'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `each'
/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/usr/lib/ruby/vendor_ruby/chef/run_context.rb:72:in `load'
/usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `each'
/usr/lib/ruby/vendor_ruby/chef/run_context.rb:69:in `load'
/usr/lib/ruby/vendor_ruby/chef/client.rb:195:in `setup_run_context'
/usr/lib/ruby/vendor_ruby/chef/client.rb:159:in `run'
/usr/lib/ruby/vendor_ruby/chef/application/client.rb:239:in `run_application'
/usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `loop'
/usr/lib/ruby/vendor_ruby/chef/application/client.rb:229:in `run_application'
/usr/lib/ruby/vendor_ruby/chef/application.rb:67:in `run'
/usr/bin/chef-client:25
[Wed, 11 Apr 2012 11:39:20 +0200] FATAL: NoMethodError: undefined method `[]' for nil:NilClass