or just add an <error-page> tag in your web.xml.
Because usually one wants to brand the error page anyway.
LieGrue,
strub
> Am 14.02.2018 um 18:51 schrieb Jean-Louis Monteiro <jlmonteiro@tomitribe.com>:
>
> Oups message left too quickly.
>
> The default error valve from Tomcat generates this HTML with information
> you may not need to discard for security reasons.
> You can create your own and add it into the server.xml
>
> https://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/valves/ErrorReportValve.html
> https://tomcat.apache.org/tomcat-7.0-doc/config/valve.html#Error_Report_Valve
>
> Hope it helps
>
>
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
> On Wed, Feb 14, 2018 at 6:45 PM, Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
>
>> You need to plugin in the error valve from Tomcat
>>
>> --
>> Jean-Louis Monteiro
>> http://twitter.com/jlouismonteiro
>> http://www.tomitribe.com
>>
>> On Wed, Feb 14, 2018 at 6:23 PM, Rourke <c4658372@trbvn.com> wrote:
>>
>>> When an error happens I get an error saying:
>>> Apache Tomcat (TomEE)/8.0.0 (7.0.0)
>>>
>>> I know how to get rid of "Tomcat" and "8.0.0"... How can I do the same
>>> with
>>> "Tomee" and its version?
>>>
>>>
>>>
>>> --
>>> Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f97944
>>> 1.html
>>>
>>
>>
|