Skip to main content

Accepting Data menu on the AhsayCBS web console shows error status 500

Article ID
2030
Product Version
AhsayCBS: 8.1 and above
Operating System
All platforms
Symptom

When attempting to access the [Replication] > [Accepting Data] menu on the AhsayCBS web console, the following error is displayed:

Status Code : 500

Servlet Name : action

Request URI: /cbs/rps/config/Index.do

Exception Message : javax.servlet.ServletException: [Index.execute] Failed to execute servlet

Bad Padding Exception

Cause

This issue can occur if the replication config file is not found / corrupted in the AhsayCBS installation conf folder:

%CBS_Installation_Home$/conf/rps.xml

Resolution

To resolve this issue:

  1. Stop the AhsayCBS Service

  2. Copy the rps.xml file from a backup to %CBS_Installation_Home%/conf

    If you do not have a backup copy of the rps.xml file, you can temporarily install AhsayCBS (or the same version as your current AhsayCBS server) on another computer and retrieve the rps.xml file from there.

  3. Restart the AhsayCBS Service

Once the AhsayCBS service is restarted, a new rps-recv.json and rpsRecv.xml file(s) will be automatically re-created if they are not present.