Orbit2 , server code in C and client code in Java (1.5)

Rahul Agrawal <[email protected]>
Newsgroups gmane.comp.gnome.orbit.general
Organization Sonoa Systems
Message-ID <[email protected]>
I am using orbit2

I have a client code that runs with java , jdk 1.5 VM using the default 
orb provided by the jdk1.5
The server code is in written in C and runs on linux / fedora core

I am using the sampel code of hello world that is in the docs of orbit2

I run the C server and dump the stringified server object to a file

The java client used this stringified object to talk to the C server code.

We get the following exception

-------------------------------------------------------------------------------------------

ul 12, 2005 2:29:37 PM com.sun.corba.se.impl.ior.IORImpl getProfile
ARNING: *"IOP00511201: (INV_OBJREF) IOR must have at least one IIOP 
profile"
rg.omg.CORBA.INV_OBJREF:   vmcid: SUN  minor code: 1201  completed: No *
      at 
com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfi
e(Unknown Source)
      at 
com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfi
e(Unknown Source)
      at com.sun.corba.se.impl.ior.IORImpl.getProfile(Unknown Source)
      at 
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(Unknown
Source)
      at 
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(Unknown
Source)
      at 
com.sun.corba.se.impl.encoding.CDRInputStream.read_Object(Unknown Sou
ce)
      at 
com.sun.corba.se.impl.resolver.INSURLOperationImpl.getIORFromString(U
known Source)
      at 
com.sun.corba.se.impl.resolver.INSURLOperationImpl.operate(Unknown So
rce)
      at com.sun.corba.se.impl.orb.ORBImpl.string_to_object(Unknown Source)
      at seqarrtest.AEAuthServiceClient.main(AEAuthServiceClient.java:23)
rg.omg.CORBA.INV_OBJREF:   vmcid: SUN  minor code: 1201  completed: No
      at 
com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfi
e(Unknown Source)
      at 
com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfi
e(Unknown Source)
      at com.sun.corba.se.impl.ior.IORImpl.getProfile(Unknown Source)
      at 
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(Unknown
Source)
      at 
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(Unknown
Source)
      at 
com.sun.corba.se.impl.encoding.CDRInputStream.read_Object(Unknown Sou
ce)
      at 
com.sun.corba.se.impl.resolver.INSURLOperationImpl.getIORFromString(U
known Source)
      at 
com.sun.corba.se.impl.resolver.INSURLOperationImpl.operate(Unknown So
rce)
      at com.sun.corba.se.impl.orb.ORBImpl.string_to_object(Unknown Source)
      at seqarrtest.AEAuthServiceClient.main(AEAuthServiceClient.java:23)
-----------------------------------------------------


May I know what is the issue?

Thanks.

rahul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.