wrong port number in ORBIIOPIPv4
- From: Jean-Paul Le Fevre <J-P LeFevre cea fr>
- To: orbit-list gnome org
- Subject: wrong port number in ORBIIOPIPv4
- Date: Tue, 19 Dec 2000 12:57:57 +0100 (MET)
I'm trying to set up communications between an ORBit server and
a Java client based on ORBacus but till now without success.
My client raises an exception :
org.omg.CORBA.COMM_FAILURE: recv() returned zero
I'm using the option -ORBIIOPIPv4=1 on the server command line.
To investigate the problem I'm working with echo-server, echo-client,
ior-decode and my EchoClient.java.
1) It is not clear how and where to set the various options :
ORBIIOPIPv4, Port, DebugLevel, DebugModules.
Only on the command line ? in an ~/.orbitrc ? with a leading - (dash)
or not.
Generally speaking, Gnome documentation is a real mess :
spread in various web sites with broken links, not updated,
sometimes wrong ...
2) The command ior-decode prints a negative number for the port. It is
different each time I restart the server. The rest of the information
provided by ior-decode seems to be OK. Looking at the code orb.c, I've not
yet found what could be the cause of the wrong port number.
3) Supposing that this first problem can be fixed, is it realistic to
develop something under Gnome itself ? I would like to access the
gnome-name-service (in IIOPIPv4 mode) to find a reference to a server
for my Java app. I wrote a small C program dumping the IOR of the
gnome-name-service. Once the IOR is made available my app can start
communicating. I would be happy to have some comments about these ideas.
--
____________________________________________________________________________
Jean-Paul Le Fèvre * CEA Saclay DAPNIA/SEI * Mail : Jean-Paul LeFevre cea fr
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]