Kbase P107435: Can't start WebSpeed broker when using memory mapped procedure library (makeshared)
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/12/2008 |
|
Status: Verified
SYMPTOM(s):
Can't start WebSpeed broker when using memory mapped procedure library (makeshared)
no errors generated when creating the memory-mapped proceedure library
procedure library is at the begining of the PROPATH
Using -cpinternal undefined
WebSpeed broker dies with unexpected message from server error in the broker log file
WS.broker.log:
ServerSocketsIPC read() IOException : java.io.EOFException : NULL (8127)
ServerIPCException in getServerIPCMsg() : ServerIPC error. (8119)
Unexpected msg from server :
version= 109
type= 1 UBTYPE_ADMIN
src= 0 DEFAULT_UBSRC
rq= 0x1 UBRQ_ADMIN
tlvBuflen= 0x0
rqExt= 0x0
rsp= 0x0 UBRSP_OK
rspExt= 0x0
src= 0
adRq= 4 ADRQ_SERVER_TERMINATE
rsp= 0 ADRSP_OK
msglen= 0
buflen= 0
ERROR: cannot start server. (8100)
Exception unbinding broker (not bound) : iCABS_WS (8525)
WS.server.log:
Code page ISO8859-1 for memory-mapped r-code does not match -cpinternal ISO8859-15. (9073)
** "filename.p" was not found. (293)
** Unable to run startup procedure filename.p. (492)
FACT(s) (Environment):
All Supported Operating Systems
Progress/OpenEdge Product Family
CAUSE:
The key error is the "Code page for memory-mapped r-code does not match -cpinternal . (9073)" error.
The code page of an r-code file that is part of memory-mapped procedure library does not match -cpinternal and is not the undefined code page. Since memory-mapped r-code is read-only, Progress cannot perform a code page conversion when loading the .r file's text segments.
FIX:
Re-create the memory mapped procedure library by first changing the -cpinternal in the DLC\startup.pf to the -cpinternal in use.
Please note, it is not good practise to use -cpinternal undefined when not using the Progress default -cpinternal ISO8859-1, because everytime a client connection is made without defining the -cpinternal, data will be written unconverted to the database and potentially result in corruption.