I want to upgrade multiple components of a system including:
Linux distribution (debian lenny -> squeeze)
Mysql (5.0->5.1->5.5->5.6)
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 ?