[omniORB] Java + Naming Service Access Problems

Tingle, Alex Alex.Tingle at bronermetals.com
Tue Dec 9 09:57:31 GMT 2003


If you're using the Naming Service from omniORB 4 you need to start it with:

  -ORBsupportBootstrapAgent 1

in order to use it with Java's built in ORB.

-Alex

--

> -----Original Message-----
> From: Le Flour Thierry [mailto:leflour at lapp.in2p3.fr]
> Sent: 09 December 2003 09:37
> To: omniorb-list at omniorb-support.com
> Subject: [omniORB] Java + Naming Service Access Problems
> 
> 
> Hi all,
> i am currently trying to acces the Naming Service from a java 
> application.
> The java code runs on windows with JDK1.3 or 1.4 and the 
> Naming Service 
> on a LINUX box.
> Each time i try to acces the server by running my java client( java 
> ClientBMM -ORBInitialHost <NSHost> -ORBInitialPort <NSPort>),
> i get the following error:
>         org.omg.CORBA.OBJECT_NOT_EXIST:   vmci  OMG  minor code: 1  
> completed: No
> I have launched the Naming Service with a high trace 
> level(30) and i get 
> the following :
> ==============================================================
> ==============
> omniORB: Server accepted connection from giop:tcp:134.158.99.219:3380
> omniORB: AsyncInvoker: thread id = 2 has started. Total threads = 2
> omniORB: Scavenger task execute.
> omniORB: AsyncInvoker: thread id = 3 has started. Total threads = 3
> omniORB: giopWorker task execute.
> omniORB: Accepted connection from 
> giop:tcp:134.158.99.219:3380 because 
> of this rule: "* unix,ssl,tcp"
> omniORB: inputMessage: from giop:tcp:134.158.99.219:3380 244 bytes
> omniORB: 128bytes out of 244
> 4749 4f50 0100 0000 0000 00e8 0000 0002 GIOP............
> 0000 0006 0000 00a4 0000 0000 0000 0028 ...............(
> 4944 4c3a 6f6d 672e 6f72 672f 5365 6e64 IDL:omg.org/Send
> 696e 6743 6f6e 7465 7874 2f43 6f64 6542 ingContext/CodeB
> 6173 653a 312e 3000 0000 0001 0000 0000 ase:1.0.........
> 0000 0068 0001 0200 0000 000f 3133 342e ...h........134.
> 3135 382e 3939 2e32 3139 0000 0d35 0000 158.99.219...5..
> 0000 0019 afab cb00 0000 0002 5a51 2107 ............ZQ!.
> omniORB: throw OBJECT_NOT_EXIST from GIOP_S.cc:327 
> (NO,OBJECT_NOT_EXIST_NoMatch)
> omniORB: sendChunk: to giop:tcp:134.158.99.219:3380 76 bytes
> omniORB:
> 4749 4f50 0100 0101 4000 0000 0000 0000 GIOP.... at .......
> 0500 0000 0200 0000 2700 0000 4944 4c3a ........'...IDL:
> 6f6d 672e 6f72 672f 434f 5242 412f 4f42 omg.org/CORBA/OB
> 4a45 4354 5f4e 4f54 5f45 5849 5354 3a31 JECT_NOT_EXIST:1
> 2e30 0008 0100 4d4f 0100 0000           .0....MO....
> omniORB: throw giopStream::CommFailure from 
> giopStream.cc:825(0,NO,COMM_FAILURE_UnMarshalArguments)
> omniORB: Server connection refcount = 1
> omniORB: Server connection refcount = 0
> omniORB: Server close connection from giop:tcp:134.158.99.219:3380
> ==============================================================
> ==============
> What is wrong with this ?
>     Any idea ?
>    In advance, thanks a lot.
>         Cheers
>               Thierry
> 
> 
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
> 



More information about the omniORB-list mailing list