Windows XP SP2 と CentOS 5.1 なマシンに、 Tomcat 6.0.16 と、ついでに Java SE 6 Update 4 もインストールしておいた。 Tomcat のスクリプトをざっと読む。 java.endorsed.dirs が $CATALINA_HOME/endorsed/ になっている。 だけど初期状態ではこのディレクトリは存在しない。 Tomcat 6 になってクラスローダが整理され、 $CATALINA_HOME/common/, $CATALINA_HOME/server/, $CATALINA_BASE/shared/ が $CATALINA_HOME/lib/ にまとめられている。 $CATALINA_BASE を指定して複数インスタンス環境で利用しているので、 shared が無くなってしまうのは困る。 なので、各インスタンス用にクラスパス