- From: Andrea Campi <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Recipe application does not work because chef_envronment is not defined
- Date: Wed, 11 Apr 2012 15:37:41 +0200
On Wed, Apr 11, 2012 at 3:19 PM, Jesus M. Movilla
<
>
wrote:
>
Hi Adrea, all
>
>
Thanks for your previous reply.
>
>
I decided to remove the content of the attribute "packages" (as you said) to
>
avoid the above problem and I got finnally the cookbook executed without
>
errors but I can not see any tomcat installed. All that I can see is an
>
structure of directories that have been created in the directory specified
>
in "deploy_to" all of them empty except releases that contains the war
>
specified in "source" but with the name that has been specified in
>
"checksum"...
>
>
I guess something is wrong... What is supposed to do the java_webapp.rb and
>
the corresponding java_app.json recipe and data_bag?, Should not end this
>
story with a war deployed in a tomcat?
Does your data bag contain tomcat too?
"type": {
"my_app": [ <— with your app name, of course
"java_webapp",
"tomcat"
]
},
If so, you should also have a ROOT.xml file in your Tomcat context
directory, and it should contain the name of your war file.
But since you say Tomcat was not installed, I supposed you don't. Try with
that.
Andrea
- [chef] Re: Recipe application does not work because chef_envronment is not defined, (continued)
- [chef] Re: Recipe application does not work because chef_envronment is not defined, Andrea Campi, 04/11/2012
- [chef] Re: Re: Recipe application does not work because chef_envronment is not defined, Jesus M. Movilla, 04/11/2012
- [chef] Re: Re: Re: Recipe application does not work because chef_envronment is not defined, Andrea Campi, 04/11/2012
- [chef] Re: Re: Re: Re: Recipe application does not work because chef_envronment is not defined, Jesus M. Movilla, 04/11/2012
- [chef] Re: Re: Re: Re: Recipe application does not work because chef_envronment is not defined, Jesus M. Movilla, 04/11/2012
- [chef] Re: Re: Re: Re: Recipe application does not work because chef_envronment is not defined, Jesus M. Movilla, 04/11/2012
- [chef] Re: Re: Re: Re: Re: Recipe application does not work because chef_envronment is not defined, Andrea Campi, 04/11/2012
- [chef] Re: Re: Re: Re: Re: Re: Recipe application does not work because chef_envronment is not defined, Jesus M. Movilla, 04/11/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Recipe application does not work because chef_envronment is not defined, Andrea Campi, 04/11/2012
- [chef] Re: Re: Re: Re: Re: Re: Recipe application does not work because chef_envronment is not defined, Jesus M. Movilla, 04/11/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Recipe application does not work because chef_envronment is not defined, Andrea Campi, 04/11/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Recipe application does not work because chef_envronment is not defined, Jesus M. Movilla, 04/12/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Recipe application does not work because chef_envronment is not defined, Andrea Campi, 04/12/2012
Archive powered by MHonArc 2.6.16.