Hi Graig,
>
> It's hard to know how to answer that question, because I'm not quite sure
> what you're proposing. Let me try a few assumptions about what you're
> suggesting and make some comments on them:
My writing can get "unclear" at certain moments. While I'm typing, most of
the time I'm already thinking of 2 lines ahead ;-))..
> VERSION CONTROL ON YOUR OWN WEBAPPS. This makes a lot of sense, but
> doesn't directly involve Tomcat. I would suggest looking at how you could
> use the Manager webapp to undeploy and redeploy applications on the fly,
> without having to restart Tomcat. It should be feasible to script this.
This is what I was looking for..
Scenario :
We're at version 1.5 of our webapp
We install it on all the servers, but on some servers we want to just still
run 1.3, but also have available there the 1.5 version of the system. At an
agreed moment with the customer we switch to the new version (or schedule
the switching of version in the night). This way were able to put the latest
stuff on all the server and without actually "directly" have to worry about
upgrading the system at that moment and worrying : what is running where and
can we upgrade there, etc,etc.. Even possibilities of running rules for the
upgrade (eg we need to update al the shop configuration files) and downgrade
where possible.
So :
- Upgrade to a version without actually using it at the time of the upgrade
- Upgrade through a scheduler or downgrade / rollback.
- Being able to write "rules" for upgrading / downgrading a system (we can
have some default rules, like "Downgrade not possible".
- Do it remotely (which is possible via the Manager, as I understood).
- Also (the rules can be used for this) is release management for content
not served by tomcat, but eg by apache. (we serve pictures, javascript and
dtd's on apache for speed).
Volunteering for this I think ;-))
> VERSION CONTROL TO AUTOMATICALLY SWITCH TOMCAT VERSIONS.
nah.. let's not do this one..
> WRITE UNIT TESTS FOR TOMCAT. If you are volunteering to write JUnit based
> unit tests for the server side components of Tomcat, your contributions
> would be very welcome. I would like to see us begin doing this.
Is very good for me probably to start learning about tomcat 4 (how it's
build) and jUnit.. (I didn't dig into that yet).
Any suggestions/examples on this part are appreciated.. (where to start,
what needs to be tested (functionality..), what to look out for, etc).
Volunteering for this first ;-))..
> WRITE UNIT TESTS FOR WEB APPS.
> <http://jakarta.apache.org/commons/cactus/>).
Have it, but don't use it yet.. Some tests on the default webapps in tomcat
4 should also be made?
Mvgr,
Martin