I want to upgrade multiple components of a system including:
Linux distribution (debian lenny -> squeeze)
Apache tomcat 6 to 7
Java runtime version
What (and why) would be the right order to do those upgrades ? And I which of those phases am I most likely to encounter backwards compatibility issues ?