=> I have installed jdk1.2 version pre-v1 for i386 on my Redhat 5.2 linux
=> distribution.
=>
=> The simple hello world example of the java tutorial at the address:
=> http://www.javasoft.com/docs/books/tutorial/idl/hello/index.html
=>
=> gives me an error when i execute the server and the client on two
=> different machines.
=> When i execute either server or client on the same machine everything is
=> ok.
=>
=> My two hosts are host1 and host2; when i execute:
=> on host1:
=> host1# tnameserv &
=> host1# java HelloServer
=> and on host2:
=> host2# java HelloClient -ORBInitialHost host1
=>
=> on host2 i get the error:
=>
=> ERROR : org.omg.CORBA.COMM_FAILURE: minor code: 1 completed: No
=> org.omg.CORBA.COMM_FAILURE: minor code: 1 completed: No
=> at com.sun.CORBA.iiop.ConnectionTable.get(Compiled Code)
=> at com.sun.CORBA.iiop.GIOPImpl.createRequest(GIOPImpl.java:78)
=> at com.sun.CORBA.iiop.GIOPImpl.createRequest(GIOPImpl.java:62)
=> at com.sun.CORBA.idl.GenericCORBAClientSC.createRequest
=> (GenericCORBAClientSC.java:138)
=> at com.sun.CORBA.idl.RequestImpl.doInvocation(Compiled Code)
=> at com.sun.CORBA.idl.RequestImpl.invoke(RequestImpl.java:219)
=> at org.omg.CosNaming._NamingContextStub.resolve
=> (_NamingContextStub.java:160)
=> at HelloClient.main(HelloClient.java:23)
Acctually, i don't think this has something to do with java 2 in
linux. I manage to take my old Hello* files and run them using java 2
+ RH5.2 + lk 2.2.3. I used tnameserv at port 1050, and used the
argument -ORBInitialPort 1050.
// Paul
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(| Paul Waserbrot | [EMAIL PROTECTED] |)
(| | Fax: +46 31 772 3202 |)
(| Sys. Admin. at FD, --- Tel: +46 31 772 3241 |)
(| Chalmers Univ. of Tech., Engineering Physics |)
(| |)
(| You can't kill time without injuring eternity. |)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PGP signature