Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
MICHAIL MOUDATSOS
Disable returned verbose error-messages
2. April 2012 05:32
Antwort

MICHAIL MOUDATSOS

Rang: Regular Member

Nachrichten: 110

Eintrittsdatum: 4. Oktober 2011

Neue Beiträge

Hello all

I ll try to be brief. A client of ours requires that all kind of error messages returned by the server to the client browser to be non verbose. I have partially tackled that by setting
1    <error-page>
2        <error-code>500</error-code>
3        <location>somehting here</location>
4    </error-page>
5    <error-page>
6        <error-code>404</error-code>
7        <location>somehting here</location>
8    </error-page>
in liferay-portal-6.0.6\tomcat-6.0.29\conf\web.xml
However our client still produced some error screens such as the ones attached when tampering with post requests of an authenticated user. The requests relate to a custom portlet we have deployed.

so
1)Any ideas of how to supress such errors
2)Any ideas how to supress any error message in general

Thank you all in advance!

P.S. I also put this in development forum because such a problem might be solved using a hook, which is a development issue rather an installation one....
Anhänge: error1.bmp (2.940,5k), error2.bmp (919,7k)