Results 1 to 1 of 1
- 09-18-2009, 09:18 PM #1
Member
- Join Date
- Aug 2009
- Posts
- 9
- Rep Power
- 0
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.
Similar Threads
-
applet not found in web app
By skiungs in forum NetBeansReplies: 0Last Post: 08-26-2009, 04:09 AM -
No JVM found error
By rocky05 in forum New To JavaReplies: 1Last Post: 01-27-2009, 03:41 PM -
no jre,jvm found error
By rocky05 in forum EclipseReplies: 2Last Post: 01-27-2009, 03:38 PM -
Web Application not found
By adtd8 in forum Java ServletReplies: 0Last Post: 07-27-2008, 09:27 PM -
404 Not Found
By mary in forum Java ServletReplies: 5Last Post: 11-07-2007, 10:15 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks