Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Disable returned verbose error-messages
April 2, 2012 5:32 AM


Rank: Regular Member

Posts: 110

Join Date: October 4, 2011

Recent Posts

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.

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....
Attachments: error1.bmp (2,940.5k), error2.bmp (919.7k)

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!