Bug 65044 - Improve documentation for passing variables to Tomcat
Summary: Improve documentation for passing variables to Tomcat
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy_ajp (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-31 11:21 UTC by Sven Strickroth
Modified: 2021-04-14 10:00 UTC (History)
1 user (show)



Attachments
Improve documentation for passing variables to Tomcat (940 bytes, patch)
2020-12-31 11:21 UTC, Sven Strickroth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Strickroth 2020-12-31 11:21:44 UTC
Created attachment 37675 [details]
Improve documentation for passing variables to Tomcat

Tomcat does not list passed request attributes when using HttpServletRequest.getAttributeNames. This behavious caused lots of time for debugging for several people including me, so make sure it is properly documented.

References:
* <https://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/catalina/connector/Request.html#getAttributeNames-->
* <https://shibboleth.1660669.n2.nabble.com/Unable-to-find-environment-attributes-in-tomcat-application-td7640442.html>
* <https://bz.apache.org/bugzilla/show_bug.cgi?id=47364>

Also applies to the 2.4 branch.
Comment 1 Christophe JAILLET 2021-02-28 14:38:24 UTC
Hi,

not sure that this really belongs to httpd documentation.
Comment 2 Sven Strickroth 2021-03-01 09:53:21 UTC
It's not documented in Tomcat and if you set up variable passing and you don't see them on the Tomcat side you can easily waste hourse of useless debugging.