[omniORB] JacORB + OmniORB = problems?

Alexander Korobov korobov@sightpath.com
Fri, 25 Feb 2000 12:57:03 -0500


Hi, 
I'm new to this list, may be my problem  is not so new.
I'm trying to link my java server and c++ clients through corba.
I use JacORB1.0b15 and omniOrb.  I tried both omniORB 2.8.0 and 3.0pre2.


first, my c++ server and client do not work with JacORB nameserver.
so i had to use omniNames. 
When i tried to connect to java server from c++ client i got following
in 
JacOrb log :

[ POA RootPOA - rid: 1 oid: 00 0F 42 0B 43 32 32 33 02 19 1E  opname:
_non_existent - invocation: throwable was thrown ]
############################ StackTrace ############################
java.lang.NullPointerException


and c++ client log :

omniORB: LocateRequest to remote:
key<0x5374616e64617274496d706c4e616d652f000f420b4332323302191e>
ll_send: 48 bytes
4749 4f50 0100 0103 2400 0000 0100 0000 GIOP....$.......
1c00 0000 5374 616e 6461 7274 496d 706c ....StandartImpl
4e61 6d65 2f00 0f42 0b43 3232 3302 191e Name/..B.C223...
ll_recv: 20 bytes
4749 4f50 0100 0004 0000 0008 0000 0001 GIOP............
0000 0000                               ....
omniORB: throw OBJECT_NOT_EXIST from remoteIdentity.cc:220
Caught CORBA::SystemException.
omniORB: omniRemoteIdentity deleted.

But everything works perfectly when i use java(server) - java(client),
c++(server) -
java(client).

if you have any ideas how to fix it please mail me. Any help would be
greatly appreciated!


- Alexander.