Results 1 to 1 of 1
  1. #1
    QkrspCmptPop is offline Member
    Join Date
    Aug 2009
    Posts
    9
    Rep Power
    0

    Default cosnaming/nameservicepackage not found

    I am using org.omg.CosNaming.* to run client/server on two PC(XP) within a LAN. Actually, it is a sample project from one book, the name of the project is called CorbaJavaBook. The server provides a count method and the client is supposed to invoke the method either locally or remotely. And the sequence of start up is runnameserver, run server and client. They run very well in the same machine. And I test running remotely as follows:

    1. making sure each machine can ping each other successfully
    2. start up nameserver successfully on each machine
    3. start up the server on one machine
    4. start up the client on another machine

    usually, it generates two erros
    1. cosnaming/nameservicepackage not found:1.0
    2.CORBA.COMM_FAILURE minor code 201

    The project just uses nameservice in a normal way:
    Server: get a reference of NameService; bind the object to nameservice
    Client: get a reference of Nameservice; resolve the object in nameservice

    I attached the server client code with files.
    Attached Files Attached Files

Similar Threads

  1. applet not found in web app
    By skiungs in forum NetBeans
    Replies: 0
    Last Post: 08-26-2009, 05:09 AM
  2. No JVM found error
    By rocky05 in forum New To Java
    Replies: 1
    Last Post: 01-27-2009, 04:41 PM
  3. no jre,jvm found error
    By rocky05 in forum Eclipse
    Replies: 2
    Last Post: 01-27-2009, 04:38 PM
  4. Web Application not found
    By adtd8 in forum Java Servlet
    Replies: 0
    Last Post: 07-27-2008, 10:27 PM
  5. 404 Not Found
    By mary in forum Java Servlet
    Replies: 5
    Last Post: 11-07-2007, 11:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •