Consultor Eletrônico



Kbase P122398: Error 9082 when saving an XML document on Sun Solaris
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
Sun Solaris

SYMPTOM(s):

Error 9082 when saving an XML document on Sun Solaris

X-NODEREF or X-DOCUMENT SAVE got an error: XML Parser Exception: Invalid file or path name. (9082)

File and path name of XML document are valid

Running 32-bit version of Progress or OpenEdge

Error happens when the XML document is saved

More than 255 file descriptors already opened by process

truss reports file descriptor for XML file larger than 255

CAUSE:

This is expected behavior due to a limitation of the Sun Solaris operating system.
Sun reports:
For a 32-bit application, a stdio library FILE structure represents the underlying file descriptor as an unsigned char (one byte), limiting the range of file descriptors which can be opened as FILE's to 0-255 inclusive. A common, known problem is that when the 32-bit stdio is used for a large server application, the 255 limit is frequently exceeded. Although this limitation does not exist for 64-bit applications, this problem will always remain for 32-bit applications.
Since Progress and OpenEdge use the FILE structure from the stdio library to handle XML files, the product is affected by this limitation.

FIX:

The following workarounds are available:
- modify the application so that it opens a smaller number of files simultaneously.
- upgrade to a 64-bit version of the product.