Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

where does tomcat read the "version" value it shows for the deployed applications in the manager application from? I've searched for such parameter in web.xml but no luck so far.

share|improve this question

2 Answers 2

Tomcat 7 checks the war filename for version:

http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Naming

Does not seem to work when using the ANT deployer.

share|improve this answer

Its in a properties file - loaded as a ResourceBundle - the properties file to look for is org/apache/catalina/util/ServerInfo.properties

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.