Bug#955283: tomcat9-common: Add a way to query the installed version

Timo Aaltonen tjaalton at debian.org
Sun Mar 29 13:01:18 BST 2020


Package: tomcat9-common
Severity: normal

Hi,

Fedora has a way to find out what the installed tomcat version is, the wrapper in
'/usr/bin/tomcat' has this:
	
if [ "$1" = "version" ]; then
  . /usr/libexec/tomcat/preamble
  exec ${JAVACMD} -classpath ${CATALINA_HOME}/lib/catalina.jar \	
    org.apache.catalina.util.ServerInfo
fi

this information is used by dogtag-pki and freeipa setup/install scripts. Please
add a similar script in Debian, though it doesn't have to be in /usr/bin, libexec
woud be fine too.



More information about the pkg-java-maintainers mailing list