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 2012/04/11 16:41:25 UTC

DO NOT REPLY [Bug 52751] Optimized configuration of the system info displayed in the default error page

https://issues.apache.org/bugzilla/show_bug.cgi?id=52751

--- Comment #7 from polina.genova@gmail.com 2012-04-11 14:41:25 UTC ---
(In reply to comment #6)
> (In reply to comment #5)
> > Maybe the "server" attribute should be exposed through AbstractProtocol or
> > Endpoint or elsewhere.
> I'll check that.

Thanks for the hint!

Indeed using
    server = ((AbstractAjpProtocol)
response.getConnector().getProtocolHandler()).getProperty("server") 
will right away do the job in the case of AJP connector (if there is server
attribute configured for it).

The problem is that the server attribute is currently not explicitly handled
for the AJP connector (unlike the HttpConnecor), meaning this attribute is not
documented and its value is not read or used anywhere in the AJP connector
implementation. 
Do you think we should revise this behavior and add server attribute handling
for the AJP connector?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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