Support Article
Hiding Pega version on Error Page
SA-6051
Summary
User would like to avoid the Pega build version on Error Page.
Error Messages
Not Applicable
Steps to Reproduce
Not Applicable
Root Cause
The version information is added in the product to retrieve the user PRPC version during errors.
Resolution
This issue is resolved through the following local change:
Approach 1:
Identify the respective error code add own custom html files in web.xml as below.
<error-page>
<error-code>404</error-code>
<location>/Error404.html</location>
</error-page>
Approach 2:
Open the error.jsp under prweb\diagnostic folder and remove the below line which displays the Version information.
<span class="sys_info">PegaRULES <%= Integer.parseInt(propBuildInfo.getProperty("majorversion")) %>.<%= Integer.parseInt(propBuildInfo.getProperty("minorversion")) %> <%= propBuildInfo.getProperty("buildlabel") %> (<%= propBuildInfo.getProperty("buildname") %>)</span><p>
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.