Deploying tomcat webapps

Hi,

although Andrea Campi helped me debugging the application_java cookbook, I’m not sure, whether this is the way to go.

May I ask you, how you deploy your tomcat webapps (as .war files or building (with ant?) on the server)?

Could you give me a cookbook as example?

Thanks
Steffen

u can use the maven lwrp if u have the war file in someting like
artifactory or nexus

I believe that RiotGames has and artifact cookbook that they use to deploy
java wars, you can look for that on community.opscode.com

there is also remote_file

On Thu, Aug 23, 2012 at 4:42 PM, Steffen Gebert st+opscode@st-g.de wrote:

Hi,

although Andrea Campi helped me debugging the application_java cookbook,
I'm not sure, whether this is the way to go.

May I ask you, how you deploy your tomcat webapps (as .war files or
building (with ant?) on the server)?

Could you give me a cookbook as example?

Thanks
Steffen

Hi,

Personally i put a exploded .war directory in my git repo, and a use the git ressource to checkout this in my webapps folder.

See ya !

Le 23 août 2012 à 16:42, Steffen Gebert st+opscode@st-g.de a écrit :

Hi,

although Andrea Campi helped me debugging the application_java cookbook, I'm not sure, whether this is the way to go.

May I ask you, how you deploy your tomcat webapps (as .war files or building (with ant?) on the server)?

Could you give me a cookbook as example?

Thanks
Steffen

Nacer Laradji TEL : 0610596883
nacer.laradji@gmail.com

I build with ant and leave the artifacts in S3. I then load the url (which
I calculate with the correct signature) and the hash into a databag and the
(older) application cookbook deploys it for me. I then have chef write a
new properties file out from a template to customise for the environment.
This goes into the classes dir (although, as I've now learnt, it should go
elsewhere).

Works nicely for me.

Cheers,
Edward

On Thu, Aug 23, 2012 at 8:57 AM, Nacer Laradji nacer.laradji@gmail.comwrote:

Hi,

Personally i put a exploded .war directory in my git repo, and a use the
git ressource to checkout this in my webapps folder.

See ya !

Le 23 août 2012 à 16:42, Steffen Gebert st+opscode@st-g.de a écrit :

Hi,

although Andrea Campi helped me debugging the application_java cookbook,
I'm not sure, whether this is the way to go.

May I ask you, how you deploy your tomcat webapps (as .war files or
building (with ant?) on the server)?

Could you give me a cookbook as example?

Thanks
Steffen

Nacer Laradji TEL : 0610596883
nacer.laradji@gmail.com