CORBA 2.3.3 Administration Guide (NonStop CORBA 2.3.3+)
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
you cannot display the contents of the file to verify that the CORBA server generated a correct IOR.
Solution: To verify the IOR in this case, you need to know what Naming Context id the server used. For example, if the
Authorizer CORBA server registered its IOR in the Naming service using the ID [Authorizer, Obj], you could use the
following commands to verify the Authorizer IOR:
/home/ecrm/stack: ns_browse resolve Authorizer Obj > server.ior
/home/ecrm/stack: showior server.ior
Interoperable Object Reference:
type_id=IDL:Authorizer:1.0
Tagged profile #1:
Tag=TAG_INTERNET_IOP (0)
Profile data:
Major=1, Minor=0
Host=localhost
Port=2240
172 bytes:
(0)[N][S][D][O][M](0)(224)(0)(0)(0)(11)[t][c][p][_]
[s][e][r][v][e][r](0)(16)(0)(0)(0)(19)[I][D][L][:][A][u][t][h]
[o][r][i][z][e][r][:][1][.][0](0)(136)(0)(0)(0)(29)[S][a][t][ ]
[J][u][n][ ][1][6][ ][1][3][:][2][8][:][3][7][ ][P][D][T][ ][2]
[0][0][1](0)(0)(0)(0)(0)(0)(0)(28)[S][a][t][ ][J][u][n][ ][1]
[6][ ][1][3][:][2][8][:][3][7][ ][P][D][T][ ][2][0][0][1](0)(0)
(0)(2)(0)(0)(0)(8)[R][o][o][t][P][O][A](0)(0)(0)(0)(14)[A][u]
[t][h][o][r][i][z][e][r][P][O][A](0)(0)(0)(17)(16)(1)(0)(0)(0)
(0)(10)[A][u][t][h][o][r][i][z][e][r](0)(0)
Explanation: If the server does not use an IOR file, then it must use the Naming Service to register its object reference. Client
programs obtain the IOR from the Naming Service to connect to the server. The ns_browse resolve command retrieves
the IOR from the Naming Service and saves it to a file. Then you can use the showior command to verify the IOR.
Verifying TCP/IP Configuration
Problem: You want to verify that the TCP/IP configuration is correct.
Solution: After listing the contents of the IOR with the showior command, verify the following items:
-host IP address
-port number
If the IP address is incorrect, change it. If the port number is already in use by another process, change the port number. To
verify that the server is actually listening on that port number, use the following commands from an OSS window:
/home/ecrm/stack: gtacl -c "scf info subnet \$z*.*"
gtacl[9]: warning: unable to propagate all environment variables
SCF - T9082G02 - (26JUN00) (20MAR00) - 07/11/0000 10:30:20 System \ARNOLD
Copyright Compaq Computer Corporation 1986 - 1999
TCPIP Info SUBNET \ARNOLD.$ZTC0.*
Name Devicename *IPADDRESS TYPE *SUBNETMASK SuName QIO *R