https://bz.apache.org/bugzilla/show_bug.cgi?id=64189

            Bug ID: 64189
           Summary: Expose Context Version as Servlet Context attribute
           Product: Tomcat 9
           Version: 9.0.x
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: nicola.iso...@gmail.com
  Target Milestone: -----

In environments where parallel deployment is heavily used, having easy access
to the Context Version would be really useful for logging/debugging purposes.
Maybe a ServletContext attribute with the name "webappVersion" or
"org.apache.tomcat.contextVersion" or something like that.
Right now I have to use a (ugly) workaround found in this stackoverflow
question:
https://stackoverflow.com/questions/8230310/tomcat-7-retrieve-the-version-of-a-webapp-versioned-war

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to