Re: context path version number with parallel deployment

2025-03-18 Thread Mark Thomas
Kind regards, Mark От: Mark Thomas Отправлено: 18 марта 2025 г. 9:35 Кому: users@tomcat.apache.org Тема: Re: context path version number with parallel deployment On 17/03/2025 18:43, Усманов Азат Анварович wrote: thanks a lot! I got it working. A quick follow

RE: context path version number with parallel deployment

2025-03-18 Thread Усманов Азат Анварович
like this: String webappVersion = (String)request.gteServletContext().getAttribute("org.apache.catalina.webappVersion"); " От: Mark Thomas Отправлено: 18 марта 2025 г. 9:35 Кому: users@tomcat.apache.org Тема: Re: context path version number with par

Re: context path version number with parallel deployment

2025-03-17 Thread Mark Thomas
i/org/apache/catalina/Globals.html Where else would you like to see it? The where may change which steps are required to update the docs. Mark От: Christopher Schultz Отправлено: 17 марта 2025 г. 17:40 Кому: users@tomcat.apache.org Тема: Re: context path version n

Re: context path version number with parallel deployment

2025-03-17 Thread Michael Osipov
There is also https://tomcat.apache.org/tomcat-9.0-doc/config/listeners.html#Context_Naming_Info_Listener_-_org.apache.catalina.core.ContextNamingInfoListener which I have added years ago. Works perfeclty from servlets, Logback and Spring. On 2025/03/17 12:53:22 Усманов Азат Анварович wrote: >

RE: context path version number with parallel deployment

2025-03-17 Thread Усманов Азат Анварович
а: Re: context path version number with parallel deployment Азат, On 3/17/25 8:53 AM, Усманов Азат Анварович wrote: > Hi everyone! is it possible to display current version number in a jsp page > or servlet when using parallel deployment . using some property. >Currently when building an

Re: context path version number with parallel deployment

2025-03-17 Thread Christopher Schultz
Азат, On 3/17/25 8:53 AM, Усманов Азат Анварович wrote: Hi everyone! is it possible to display current version number in a jsp page or servlet when using parallel deployment . using some property. Currently when building an app war we use git to calculate last revision number, store it in