Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice