Sunday December 15, 2002
Tomcat Deployment App On of my clients has asked me to setup a deployment app. Basically, we have seven instances of tomcat setup through one Apache webserver. Apache proxies to each instance based on different domain name. They want the ability to upgrade each instance with the click of a button. Here's my idea:
- Create a Struts-based app that allows file upload, where they can upload a war file.
- Part of the file-upload process is selecting which servers they'd like to upgrade.
- Based on the server names, the war file is copied and expanded in the tomcat/webapps/appname directory for each server.
Will this work, and can I do this through a webapp? It'd be cool to do steps 1 and 2 with a webapp and have step 3 run by Ant. Is it possible for a webapp to call Ant? The second piece that they're probably going to want is the ability to setup these virtual slices on the fly, from a web page as well. That might be a little tougher, as it would involve: editing http.conf/workers.properties, creating a new user for the slice, copying/expanding a base Tomcat install, editing the server.xml for new ports, creating a new MySQL instance for the slice, and finally, creating startup scripts. Yeah, I might have to pass on creating that app - probably not logical to do it from a webapp. Especially when it only takes about 10 minutes to setup right now. Posted in Java at Dec 15 2002, 07:17:58 AM MST 4 Comments
Search This Site
Recent Entries
- Jack's Mohawk
- LinkedIn Cuts 10% (a.k.a. The Journey is Over)
- Happy Birthday Abbie!
- Moving from Spring's XML to Annotations in AppFuse
- Free Maven Training in New Orleans on Election Day
- AppFuse Light ยป AppFuse, Maven Archetypes and Shared Web Assets
- Great Weekend in Montana
- Colorado Software Summit 2008 Wrapup
- RESTful Web Applications with Subbu Allamaraju
- Core Animation with Bill Dudney
Posted by dsuspense on December 15, 2002 at 09:22 AM MST #
Posted by Ugo Cei on December 15, 2002 at 09:36 AM MST #
Posted by Matt Raible on December 15, 2002 at 01:18 PM MST #
Posted by Hans Gerwitz on December 17, 2002 at 02:53 PM MST #