I have a large tomcat/j2ee application that exists on 16 instances of
tomcat spread out across 9 server. My problem (as you can probably
guess) is that
deployment of new code to all of these instances takes an extremely
long time.
I had been looking at automated deployment tools (Center Run) but they
don't seem to be what I'm looking for. Any ideas (or tools) that can
help me accomplish the following in an automated fashion (and without
logging on to every box).
1) Stop the tomcat instance
2) backup the existing application
3) Copy new code from central location (war file)
4) deploy code to Webapps directory
5) start server
6) verify that application is up and started successfully
thx.
Bryce - 01 Nov 2005 17:49 GMT
>I have a large tomcat/j2ee application that exists on 16 instances of
>tomcat spread out across 9 server. My problem (as you can probably
[quoted text clipped - 11 lines]
>5) start server
>6) verify that application is up and started successfully
ever try Ant?
http://ant.apache.org/
Seems to be the (Java) industry standard for what you are looking to
do. I'd recommend looking into getting the Hatcher book "Java
Development with Ant"
http://www.manning.com/books/hatcher
--
now with more cowbell
Abhijat Vatsyayan - 01 Nov 2005 20:39 GMT
Tomcat manager comes with ant tasks that might be of help. I have not
used it but here is a link -
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Executing%20Manager%2
0Commands%20With%20Ant
Backing up of existing application might require you to write custom code.
> I have a large tomcat/j2ee application that exists on 16 instances of
> tomcat spread out across 9 server. My problem (as you can probably
[quoted text clipped - 13 lines]
>
> thx.