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)
I get the same error if i use the stringified client/server version, using
the IOR string corresponding to the object on the server, that is:
host1# java HelloStringifiedServer
after having copied the IOR identifier on host2, i execute:
host2# java HelloStringifiedClient
and i get the same error.
I have tried with the server on a windows machine with jdk1.2 and the
client on a linux machine and in this case everything is ok.
I would like to know if i must use any options for java interpreter or
compiler (i have read the README.linux file and i have tried the options
suggested for the interpreter and the compiler), or if i must configure
jdk1.2 in a different way.
Thanks in advance,
Daniele
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]