[omniORB] Problem with omniNames and JDK initial references

Michael Carland michael.carland@nvs.com
Tue, 27 Mar 2001 18:12:28 -0600


Disregard.

A big fat typo in a property caused only half of JacORB to run, still 
using the JDK ORB for pieces.

My name service woes are over.

Michael Carland wrote:

> JacORB's list of features claims compatability with the
> OMG Interoperable Naming Service. Yet when I swap in the latest version 
> of JacORB for the JDK ORB, and try to use my reference to omniNames, I 
> also receive an ArrayIndexOutOfBoundsException, nearly identical to the 
> one I get with the JDK ORB, but from the JacORB classes:
> 
> java.lang.ArrayIndexOutOfBoundsException
>        at org.jacorb.orb.CDRInputStream._read4int(CDRInputStream.java:132)
>        at org.jacorb.orb.CDRInputStream.read_long(CDRInputStream.java:405)
>        at 
> org.omg.CosNaming.BindingListHelper.read(BindingListHelper.java:33)
>        at 
> org.omg.CosNaming.BindingListHelper.extract(BindingListHelper.java:43)
>        at 
> org.omg.CosNaming._NamingContextStub.list(_NamingContextStub.java:209)
> 
> although this is starting with list(), and the Java ORB was throwing out 
> of resolve().
> 
> Any suggestions?