Kbase P14762: Error# 5451 and 5494 when running the procedure on the AppServer with AIA
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/15/2008 |
|
Status: Verified
SYMPTOM(s):
Error# 5451 and 5494 when running the procedure on the AppServer with AIA
SERVER <name> is not connected. (5451)
Unable to find persistent procedure handle for proxy d<proxy_id>. (5494)
connectionWatchdog>(Nov 26, 2002 17:28:37:611) SC-000010 expired (inactive more than 5543seconds). Connection closed.
CAUSE:
The application being idle longer than the AIA idleConnectionTimeout was set to.
Aia timed out the connection and subsequent attempt to run the procedure failed due to the handle not being valid any more.
FIX:
Restrict the time that application can be idle by putting the following code in the main application window:
WAIT-FOR CLOSE OF THIS-PROCEDURE PAUSE xxx.
where the 'xxx' represents the number of seconds that
application is allowed to be idle.
For the SmartWindow do the following:
- Copy %DLC%\src\adm2\windowmn.i in %APPDIR%\mywindowmn.i
(%APPDIR% is your application directory)
- Edit the mywindowmn.i and change the code into:
...
RUN InitializeObject.
IF NOT THIS-PROCEDURE:PERSISTENT THEN
WAIT-FOR CLOSE OF THIS-PROCEDURE PAUSE 3600.
...
- Open the main window of your application
- Open the Section Editor and go to the 'Main Block'
- Comment out the original line and add the following line:
/* {src/adm2/windowmn.i} */
{mywindowmn.i}
- Recompile your main application window
NOTE: Solution with reference P3125 documents another fix for this same problem