Skip to main content

This article explains why the XML inside Enterprise Server failed with RTS 114 Signal 11.

Problem:

When generating an xsd for an object which was then passed in an XML structure, we initially developed two standalone 'legacy' programs - one which simply creates the XML string and calls a second program which parses the XML string into the COBOL structure, does some simple manipulation, and then returns it. This worked fine and the program could be run as many times as required. When this was placed inside Enterprise Server as a web service using a C# client to invoke the service, parse the XML, make the changes and return the result, the service ran correctly the first time it was invoked. The second time it was invoked, it returned the following error in the Enterprise Server console log in diagnostics for the server :

error code: 114, pc=14B, call=1, seg=0

114 Attempt to access item beyond bounds of memory (Signal 11)

This was consistently predictable, for example odd invocations (1, 3, 5 ...) worked, but the even invocations (2, 4, 6 ...) returned the exception.

Resolution:

When the service is deployed the Enterprise Server run-time configuration setting "Deployment Characteristics", "Reuse container" is checked by default. By unsetting both "Reuse container" boxes and redeploying the service the problem should not happen. If you encounter the error, one option may be to have Enterprise Server create a new container every time the the service is deployed.

Old KB# 14007

#EnterpriseServer
#COBOL
#ServerExpress
#Server
#Enterprise