org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
843810Apr 11 2003 — edited Sep 1 2003Please help me with this error, it's killing me !!!!!!!!!
don't know what to do
I am using j2sdk1.4.2,
OS: windows 2000 peofesional
this is what i get, when i try to run my corba client:
Error: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(Unknown Source)
at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(Unknown Source)
at com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(Unknown Source)
at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(Unknown Source)
at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(Unknown Source)
at com.sun.corba.se.internal.corba.InitialNamingClient.resolve(Unknown Source)
at com.sun.corba.se.internal.corba.InitialNamingClient.resolveUsingBoots
trapProtocol(Unknown Source)
at com.sun.corba.se.internal.corba.InitialNamingClient.cachedInitialRefe
rences(Unknown Source)
at com.sun.corba.se.internal.corba.InitialNamingClient.resolve_initial_r
eferences(Unknown Source)
at com.sun.corba.se.internal.corba.ORB.resolve_initial_references(Unknow
n Source)
at MathClient.main(MathClient.java:35)
// MathClient.java code source fragment
try {
Properties props = new Properties();
props.put("orb.omg.CORBA.ORBInitialPort","1051");
ORB orb = ORB.init(args, props);
org.omg.CORBA.Object objRef = // 35 line
orb.resolve_initial_references("NameService"); //
ncRef = NamingContextHelper.narrow(objRef);
nc = new NameComponent("Multiply", " ");
} catch(Exception e) {
System.out.println("Error: " + e);
e.printStackTrace(System.out);
}
Please help, if you can,
thanks in advance