Re: 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]> |
Rahul Agrawal wrote: > Thanks for the help. > > With the use of following options I was able to connect b/w java > client and C server across network. > > ORBIIOPIPv4=1 > ORBIIOPIPv6=0 > ORBIIOPUNIX=0 > ORBIIOPUSock=0 > > rahul > > Yong-Bum Kim wrote: > >> Hi, >> I tried to test like your intention. The environments are C server on >> the red hat, and Java client on the windows the jdk1.4. >> But I quit the test because of out of time to modify the src to >> expect to take some time. >> If you give me your sample source, then I'll try it again. I hope to >> share my knowelege for testing. >> >> Thanks, >> Yong. >> On Tue, 12 Jul 2005, Rahul Agrawal wrote: >> >> >> >>> 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 >>> >>> _______________________________________________ >>> orbit-list mailing list >>> [email protected] >>> http://mail.gnome.org/mailman/listinfo/orbit-list >>> >>> >>> >> >> >> >> > >