CORBA 2.3.3 Administration Guide (NonStop CORBA 2.3.7+)
org.omg.CORBA.COMM_FAILURE: Broken connection minor code: 1314063336 completed: No
Solution: Verify that the server is still running. If the server is stopped for any reason, the client displays this error message.
Restart the server, and then run the client again.
Explanation: The simplest case for the COMM_FAILURE error message is that the client tries to connect to a non-existent
server and fails. This error message also can arise in many other situations due to incorrect configuration, as in the following
examples.
Problem: When you run the client, you get the COMM_FAILURE error message. However, the servers OutsideView window
shows that the server is still running:
/home/ecrm/stack: java Server -ORBprofile tcp_server
wrote object reference to file stack.ior
Solution: Verify that the CORBA server generated a valid object reference (IOR). If the server wrote an IOR file, display the
contents of that file with the following command (using the appropriate file name in place of stack.ior):
showior stack.ior
A valid IOR generates output that looks similar to this:
Interoperable Object Reference:
type_id=IDL:Stack:1.0
Tagged profile #1:
Tag=TAG_INTERNET_IOP (0)
Profile data:
Major=1, Minor=0
Host=172.17.202.44
Port=1097
110 bytes:
(0)[N][S][D][O][M](0)(0)(0)(0)(0)(11)[t][c][p][_][s]
[e][r][v][e][r](0)(0)(0)(0)(0)(14)[I][D][L][:][S][t][a][c][k]
[:][1][.][0](0)(0)(0)(0)(0)(0)(10)[\][A][R][N][O][L][D][.][$]
(0)(0)(0)(0)(0)(0)(13)[1][:][3][3][7][:][1][3][7][5][9][2][8]
(0)(0)(0)(0)(0)(0)(1)(0)(0)(0)(8)[R][o][o][t][P][O][A](0)(0)(0)
(16)(0)(0)(0)(0)(4)(0)(0)(0)(4)(0)(0)
An invalid IOR generates output that looks like this:
Interoperable Object Reference:
type_id=IDL:Stack:1.0
If the output indicates that the IOR is invalid, verify the configuration of the CORBA server. For example, make sure that the
ORBprofile tcp_server parameter is valid by using the following commands:
/home/ecrm/stack: cfgmgt
[dbname:$system.zorbsdk.NSDCFGDB] 1>entity tcp_server@ORB
port_number 5031
tcp_server true
host_name 172.17.202.44
Also verify that the IP address is valid and that the port number is not in use by another process.
Explanation: The server code generates an IOR based on command-line configuration parameters. If the server is using a TCP
configuration (specified by tcp_server), then the CORBA server listens for client connections on the specified port number and
IP address. If any parameters in the configuration are incorrect, a client might not be able to connect to the server, even if the
server is running and the CORBA code in both client and server is 100% correct.
For more information about verifying the TCP/IP configuration, see the following problem description and also Verifying
TCP/IP Configuration.
Problem: When you run the client, you get the COMM_FAILURE error message. The server does not write an IOR file, so