[chef] Re: example using application_java?


Chronological Thread 
  • From: Steffen Gebert < >
  • To:
  • Subject: [chef] Re: example using application_java?
  • Date: Fri, 10 Aug 2012 11:41:10 +0200

Hi Andrea,

thanks for your offer to help!

I've pasted the log here:



Changing the application_java cookbook as suggested also didn't help.

Thanks!
Steffen

On Aug 9, 2012, at 4:19 PM, Andrea Campi < "> > wrote:

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.

§