Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

Deployment to Multiple Tomcat Instances

Thread view: 
PJ - 01 Nov 2005 16:16 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
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.