Client and server are running, but not naming service
An example of the error messages that are generated from this process.
Hello Client exception:Cannot connect to ORB
Javax.naming.CommunicationException:
Cannot connect to ORB.Root exception is org.omg.CORBA.COMM_FAILURE minor code:1 completed:No
at com.ibm.rmi.iiop.ConnectionTable.get(ConnectionTable.java:145)
at com.ibm.rmi.iiop.ConnectionTable.get(ConnectionTable.java:77)
at com.ibm.rmi.iiop.GIOPImpl.createRequest(GIOPImpl.java:98)
at com.ibm.rmi.iiop.GIOPImpl.createRequest(GIOPImpl.java:75)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:440)
at com.ibm.rmi.corba.InitialNamingClient.resolve(InitialNamingClient.java:197)
at com.ibm.rmi.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.j
at com.ibm.rmi.corba.InitialNamingClient.resolve_initial_references(InitialNamingClien
at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:1269)
.........
You must start the Java™ IDL name server before an application or applet starts that uses its naming service. Installation of the Java IDL product creates a script (Solaris: tnameserv) or executable file that starts the Java IDL name server.
Start the name server so that it runs in the background. If you do not specify otherwise, the name server listens on port 2809 for the bootstrap protocol that is used to implement the ORB resolve_initial_references() and list_initial_references() methods.
tnameserv -ORBInitialPort 1050
Clients of the name server must be made aware of the new port number. Do this by setting the org.omg.CORBA.ORBInitialPort property to the new port number when you create the ORB object.