|
I am relatively new with CORBA, most of my experience comes from relating it to J2EE. I am attempting to connect to a third party vendor via their CORBA server. I need to run the client on my iSeries running v5r2m0. I cannot get a connection. Here is the snippet that attempts to initialize the ORB: .... String instanceName = "something"; String [] corbaArgs = null; Properties props = new Properties(); props.put("org.omg.CORBA.ORBInitialHost", "vendor.remote.ip"); props.put("org.omg.CORBA.ORBInitialPort", "someport"); System.out.println("Initializing the ORB"); ORB orb = ORB.init(corbaArgs, props); System.out.println("Resolving reference to NameService"); Object objRef = orb.resolve_initial_references("NameService"); System.out.println("Narrowing NameService"); NamingContext ncRef = NamingContextHelper.narrow(objRef); System.out.println("Naming context object is: " + ncRef); System.out.println("Creating name component for " + instanceName); NameComponent nc = new NameComponent(instanceName, ""); .... When I run it from qsh I get: Initializing the ORB Resolving reference to NameService org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe at java/lang/Throwable.<init>(Throwable.java:195) at java/lang/Exception.<init>(Exception.java:41) at java/lang/RuntimeException.<init>(RuntimeException.java:43) at org/omg/CORBA/SystemException.<init>(SystemException.java:56) at org/omg/CORBA/COMM_FAILURE.<init>(COMM_FAILURE.java:57) at com/sun/corba/se/internal/iiop/IIOPConnection.purge_calls(IIOPConn ection.java:438) at com/sun/corba/se/internal/iiop/ReaderThread.run(ReaderThread.java: 119) Can anybody offer any assistance, with my limited CORBA experience I have exhausted my resources. Thanks, Robert
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.