Hi,
When we upgraded our Tomcat-servers to 7.0.54, we used the new attributes of
ErrorReportValve at the Engine-level.
Our server.xml looked like this:
<Engine name="Catalina" defaultHost="[fqdn.here]">
...
<Valve className="org.apache.catalina.valves.ErrorReportValve"
showReport="false" showServerInfo="false" />
<Host name="[fqdn.here]">
</Host>
</Engine>
When we triggered an error, we saw that those attributes were working, because
we didn't see a stacktrace or
version.
Last week we upgraded to 7.0.55 without modifying server.xml and now we see the
stacktraces and version again.
To confirm it was the upgraded Tomcat, I downgraded to 7.0.54 and indeed the
ErrorReport was working again.
With 7.0.55 we modified our server.xml like the following to get the desired
behaviour again:
<Engine name="Catalina" defaultHost="[fqdn.here]">
...
<Valve className="org.apache.catalina.valves.ErrorReportValve"
showReport="false" showServerInfo="false" /> <!-- not necessary -->
<Host name="[fqdn.here]">
<Valve
className="org.apache.catalina.valves.ErrorReportValve" showReport="false"
showServerInfo="false" /> <!-- necessary -->
</Host>
</Engine>
That is, we added the Valve at the Host-level.
Could this be a bug or did I miss something in the changelog?
Regards,
Willem
--
Willem Fibbe
Teamleider Systeembeheer
Realworks BV
A: W.G. Plein 516, 1054 SJ Amsterdam
T: +31 20 4 120 120
F: +31 20 4 120 127
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]