You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2020/03/02 16:09:03 UTC
[Bug 64189] New: Expose Context Version as Servlet Context attribute
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.isotta@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 64189] Expose Context Version as Servlet Context attribute
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64189
--- Comment #3 from nicola.isotta@gmail.com ---
Many thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 64189] Expose Context Version as Servlet Context attribute
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64189
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Sort of. JNDI isn't always enabled so there is a use case for this stand-alone
feature as well.
Fixed in:
- master for 10.0.0-M2 onwards
- 9.0.x for 9.0.32 onwards
- 8.5.x for 8.5.52 onwards
- 7.0.x for 7.0.101 onwards
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 64189] Expose Context Version as Servlet Context attribute
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64189
Remy Maucherat <re...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
Severity|normal |enhancement
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 64189] Expose Context Version as Servlet Context attribute
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64189
--- Comment #1 from Michael Osipov <mi...@apache.org> ---
This is a duplicate of BZ 59232. I plan to add all context information as in
here:
http://mo-tomcat-ext.sourceforge.net/apidocs/net/sf/michaelo/tomcat/extras/listeners/ContextNamingInfoListener.html
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org