Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem in Naming Service

Status
Not open for further replies.

Amitabh

Programmer
Jun 14, 2000
1
0
0
IN
I am trying to access a CORBA server implemented in C++ through Naming Service. The Client is implemented in JAVA. But I am facing a problem at the following code <br><br>&nbsp;org.omg.CORBA.Object obj=ourORB.resolve_initial_references (&quot;NameService&quot;);<br><br>&nbsp;&nbsp;&nbsp;This code is giving following Exception at the run time.<br><br>org.omg.CORBA.COMM_FAILURE:&nbsp;&nbsp;&nbsp;minor code: 1&nbsp;&nbsp;completed: No<br><br> at com.sun.CORBA.iiop.ConnectionTable.get(ConnectionTable.java:105)<br><br> at com.sun.CORBA.iiop.GIOPImpl.createRequest(GIOPImpl.java:78)<br><br> at com.sun.CORBA.iiop.GIOPImpl.createRequest(GIOPImpl.java:62)<br><br> at com.sun.CORBA.idl.GenericCORBAClientSC.createRequest(GenericCORBAClientSC.java:138)<br><br> at com.sun.CORBA.idl.InitialNamingClient.resolve(InitialNamingClient.java:194)<br><br> at com.sun.CORBA.idl.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:275)<br><br> at com.sun.CORBA.idl.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:184)<br><br> at com.sun.CORBA.idl.ORB.resolve_initial_references(ORB.java:1159)<br><br> at Client.main(Client.java:28)<br><br>Process Exit...<br><br>&nbsp;&nbsp;&nbsp;Please suggest the solution.<br><br>Thanks in advance,<br><br>Amitabh<br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top