This article explains the error code "Unable to initialize communications function open code 15."
Problem:
When deploying a web services on Enterprise Server that is on another machine we received the following error:
"Unable to initialize communications function open code 15"
Resolution:
Error 15 means that the deployment failed as it was unable to connect to the deployment server. Ensure that the remote machine name and its IP address are specified in the mf-client.dat file, which is in Net Express directory\\base\\BIN, and Enterprise Server name specified in MFUS_SERVER in the .mfdeploy file, which is in Net Express \\base\\DEPLOY.
The error 15 may also occur if the hosts file Windows directory \\system32\\drivers\\etc on the deployment server has different IP addresses using the same host name as the following example shows:
127.0.0.1
mftest
162.134.115.72
mftest
When Enterprise Server starts up on the Net Express machine, it finds the address "127.0.0.1" as the IP for the machine "mftest". This IP address is sent to Net Express when the remote server is chosen for deployment. The correct address to be sent to Net Express would be "162.134.115.72". The solution to this is to modify the /etc/hosts file to the following:
127.0.0.1
loopback localhost
162.134.115.72
mftest
Enterprise Server should now show the correct IP address and should pass it to Net Express. The deployment would then work fine.
#COBOL
#Enterprise
#Server
#EnterpriseServer
#netexpress