Consultor Eletrônico



Kbase P6129: Reference older web-util.p within web-disp.p to bypass the glStateAware variable
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   13/01/2011
Status: Verified

FACT(s) (Environment):

WebSpeed 3.1D

SYMPTOM(s):

<program> Shared variable <variable> has not yet been created. (392)

web/objects/web-util.p Shared variable glStateAware has not yet been created. (392)

Could not evaluate procedure handle expression while trying to execute init-session. (2125)

ERROR: cannot start server. (8100)

ServerSocketsIPC read() IOException : java.io.EOFException : NULL (8127)

ServerIPCException in getServerIPCMsg() : ServerIPC error. (8119)

WebSpeed broker does not start

Application procedure libraries ( .pl ) are on the PROPATH before broker startup

Application procedure libraries ( .pl ) on the PROPATH has not been recompiled under new version

Application uses custom web-disp.p from previous WebSpeed version.

Set STATE_AWARE_ENABLED=no in ubroker.properties does not help

Cannot recompile code, as there are multiple procedures to compile and distribute between sites

CHANGE:

Recently upgraded to WebSpeed 3.1D

CAUSE:

Aplication procedure libraries ( .pl) contain only web-disp.p from previous WebSpeed version. Web-disp.p depends on web-util.p, which in this case comes from a newer version, WebSpeed 3.1D

glStateAware variable is a brand new variable coming with 3.1D. Web-disp.p and web-util.p have changed in version 3.1D. Since .pl's were compiled under an old version of WebSpeed, they are based on old web-util.p and do not contain web-util.p from 3.1D, therefore definition of glStateAware variable is not included there.

FIX:

Reference the older web-util.p (previous to Progress 3.1D) within the current version of web-disp.p. Add web-util.p from Progress 3.1C into procedure library (.pl) together with web-disp.p, make the procedure library at the very beginning of PROPATH.