Bug#718946: Allow for parallel installation of tomcat7 and tomcat6
Ralf Hauser
ralfhauser at gmx.ch
Wed Aug 7 05:10:55 UTC 2013
Package: tomcat7
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
was removed.
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
and
/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!
Ralf
More information about the pkg-java-maintainers
mailing list