Search code examples
javachatcorba

what is the reason for "org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe" error in my java corba chat application


I have been trying to run a java corba chat application ref:-https://github.com/ehl/TalkCat

In that when i first run the naming service id nameserv.bat the error pops

org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe

Namming Service activé !!

IOR : null

The error leads to this line of coding

org.omg.CORBA.Object obj = orb.resolve_initial_references( "NameService");

I have tried many java corba chat application all the application ends with this error and this line all the application seams to have this same coding error what is this error how can i resolve it


Solution

  • First start the tnameserver in command prompt and then start your name server in your program.

    This is the command for run tnameserve : tnameserv -ORBInitialPort 1050 .