Hi Anand,
For the SPS 500 error, as documented here : CA SiteMinder® SPS Integrated Documents 12.52 SP1) you can modify those files :
C:\Program Files (x86)\CA\secure-proxy\Tomcat\properties\SPSErrorMessages.properties
C:\Program Files (x86)\CA\secure-proxy\Tomcat\properties\SPSErrorMessages_[language].properties
and add the URL of your custom error page instead of the default message.
VirtualHostNotFound=https://MySite.com/forms/error.fcc
SessionSchemeNotFound=https://MySite.com/forms/error.fcchttps://MySite/forms/error.fcc
SessionCreateError=https://MySite.com/forms/error.fcchttps://MySite/forms/error.fcc
SessionUpdateError=https://MySite.com/forms/error.fcchttps://MySite/forms/error.fcc
WebAgentException=https://MySite.com/forms/error.fcc
....
For the affwebservice, I already asked that question to CA Support for and here is the answer i got from them :
"At present SPS is not handling the error page redirection this needs to be done manually with following configuration change in
(<SPS_installation_dir>\Tomcat\webapps\affwebservices\WEB-INF\web.xml)
Please be sure to make a backup before making this change.
Please modify web.xml in affwebservices deployment to include information like below in specific xml content under <web-app> element
<error-page>
<error-code>500</error-code>
<location>500 error specific page path</location> </error-page>
<error-page>
<error-code>404</error-code>
<location>404 error specific page path</location> </error-page>
<error-page>
<error-code>403</error-code>
<location>403 error specific page path</location> </error-page>
....
....
before doing above modification stop application server where affwebservices were deployed (i.e SPS )
After performing modification start application server where affwebservices were deployed (i.e SPS ).
Thank you,
CA Support"
Hope this helps
Best regards
Phil