Kbase P137199: output-http-header Does Not Send Intended Http Header
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/1/2008 |
|
Status: Unverified
SYMPTOM(s):
output-http-header does not sent intended http header
Error 5832 is returned instead
Msngr: Disconnecting - all agents are currently busy, please try again later. (5832)
FACT(s) (Environment):
output-http-header is called after checking database status using connected function
The intent is to send http error code after database is detected to have shut down
WebSpeed agent is connected to database from startup command line
All Supported Operating Systems
WebSpeed 3.x
OpenEdge 10.x
CAUSE:
If agents connect to database from server startup command line, by the time database was shut down and agents disconnected, the agents would not be able to execute the test connect code at all.
This becomes a "chicken and egg" problem, you want WebSpeed agent to detect disconnect but when it is disconnected, WebSpeed agent itself will be gone, too.
FIX:
To accomplish to same goal - detecting database shut down and respond with corrective measure, have a UNIX script running "proutil holder" at some interval, whenever the return code detects database down, execute appropriate commands to notify concerned parties