- From: Andrea Campi <
>
- To:
- Subject: [chef] Re: Re: example using application_java?
- Date: Thu, 9 Aug 2012 16:19:46 +0200
On Thu, Aug 9, 2012 at 3:45 PM, Steffen Gebert
<
>
wrote:
>
Hi,
>
>
I'm having the same problem.
>
>
Could sb. please give me an example, how to deploy a Java .war using
>
application_java?
>
It's driving me nuts..
>
I always end up with the same problem as this poor guy:
>
https://gist.github.com/2959823
The same error? That's strange.
Can you do a run with chef-client -l debug and post it somewhere
online / attach it / send it to me.
The only resource that could raise that error is this one:
https://github.com/opscode-cookbooks/application_java/blob/master/providers/java_webapp.rb#L72
You could try specifying the action explicitly:
template "#{new_resource.path}/shared/#{new_resource.application.name}.xml" do
action :create
… leave the rest unchanged
end
But that's just a hunch—the log will make it clearer.
Andrea
Archive powered by MHonArc 2.6.16.