APS Admin Error

Document ID : KB000008880
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Problem with the properties file that is not translating the CGI script when executing under apache in a scenario that is failing.

 

WebServer received the script header as  Status: OK  xxxxxxxxxxxxxxxxxxxx"  Apache parses this Header string  to get the response code by doing atoi() conversion.  when atoi() is using this String it is resulting status 0, that is the reason for the Invalid Error.

 

Environment:
Apache 2.4 WebServerWebAgent with APS setup/enabled
Cause:

Properties file mis-configured for APS Admin return status code:  webagent/samples/APS_Translation_Files/APSAdmin.properties

HTTP Status/Error Returns

## HTTP Status/Error Returns

SM-APS-12200 = OK

 

Resolution:

This bug will be addressed in future release  - change to the properties file 

Modify file: webagent/samples/APS_Translation_Files/APSAdmin.properties

Find line: 

## HTTP Status/Error Returns

 

SM-APS-12200 = OK

change to:

## HTTP Status/Error Returns

 

SM-APS-12200 = 200 OK