[omniORB] omniNames.3.0.2 <-> JavaIDL1.3

Anton Idukov idukov@crtc.spb.ru
Mon, 01 Oct 2001 14:24:52 +0400


Hi!
Tomorrow I have problem with using JavaIDL CORBA server from JDK 1.3 and 
omniNames from omniORB 3.0.2
Server can't connect to omniNames and writes:
 
java.lang.ArrayIndexOutOfBoundsException
        at 
com.sun.corba.se.internal.util.Utility.bytesToInt(Utility.java:1032)
        at 
com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputStream.java:600)
        at 
com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputStream.java:572)
        at 
com.sun.corba.se.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:209)
        at 
com.sun.corba.se.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:265)
        at 
com.sun.corba.se.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:188)
        at 
com.sun.corba.se.internal.corba.ORB.resolve_initial_references(ORB.java:1393)
        at ServerTest.main(ServerTest.java:20)
----------------------------------------------------
in the same time omniNames writes ( -ORBtraceLevel 25 )

omniORB: scavenger : scanning connections
omniORB: tcpSocketMTfactory Rendezvouser: unblock from accept()
omniORB: tcpSocketMTfactory Rendezvouser: accept new strand.
omniORB: tcpSocketMTfactory Rendezvouser: block on accept()
omniORB: tcpSocketMTfactory Worker: start.
connect from 192.168.0.22
omniORB: Initial reference `NameService' resolved from -ORBInitRef argument.
omniORB: throw omniConnectionBroken from tcpSocketMTfactory.cc:1058
omniORB: tcpSocketMTfactory Worker: #### Connection closed.
omniORB: tcpSocketMTfactory Worker: exit.
omniORB: tcpSocketStrand::~Strand() close socket no. 10
omniORB: scavenger : scanning connections


In any case C++ servers/clients work well with omniNames.
Where I'm made mistake?

All on same Linux Mandrake 8.0.


Thanks...

    Anton