After installing tomcat7, many links of tomcat6 were gone.
The real Jars in /usr/share/java are not the problem since they contain the
version numbers such as tomcat-juli-7.0.28.jar .
But without real need, when installing tomcat7, the tomcat-juli-6.0.35.jar
The cause for the problem appears to lie in the non-major-version-aware
sym-links e.g. in /usr/share/tomcat7/bin/
It contains a tomcat-juli.jar as symlink to ../../java/tomcat-juli.jar .
The problem could be solved if this were
tomcat-juli.jar --> ../../java/tomcat7-juli.jar
/usr/share/java had an additional symlink
tomcat7-juli.jar --> tomcat-juli-7.0.28.jar
The current-below setup unfortunately doesn't work :(
ls -lart /usr/share/tomcat7/bin/../../java/tomcat-juli.jar
lrwxrwxrwx 1 root root 22 Dec 8 2012
/usr/share/tomcat7/bin/../../java/tomcat-juli.jar -> tomcat-juli-7.0.28.jar
ls -lart /usr/share/tomcat6/bin/../../java/tomcat-juli.jar
lrwxrwxrwx 1 root root 22 Jul 23 17:17
/usr/share/tomcat6/bin/../../java/tomcat-juli.jar -> tomcat-juli-6.0.35.jar
Thanks for any feedback in advance!
This is the maintainer address of Debian's Java team
debian-j...@lists.debian.org for discussions and questions.