Dear Daniele,
Did you get any answers on your CORBA problem? I too am experiencing the same
anomaly. I'm using RedHat 5.2 Linux with JDK117_v1a, with Orbacus 3.1.2. I
get your error when I run the Client on a WindowsNT box, with the HelloWorld
Server running on my Linux box. When the client and server are swapped,
however, everything's cool.
James
BTW, I'm running the Hello example provided in the Orbacus 3.1.2 documentation,
Java example.
Daniele Sacchetti Matr.1783 wrote:
> 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]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]