Hello All,
I'm running MICO on a W2K machine and and developing a simple control interface for an application that runs remotely. I've played around with the Mico POA examples and everything works fine on my local machine if I initialise the server as follows:
-ORBIIOPAddr inet:localhost:8888 or -ORBIIOPAddr inet:127.0.0.1:8888
The client initialises as follows:
// ORB initialisation
CORBA::ORB_var orb = CORBA::ORB_init(argc, argv, "mico-local-orb");
// get the remote conference combiner object
CORBA::Object_var obj = orb->bind("IDL:conferenceCombiner:1.0", "inet:127.0.0.1:8888");
if (CORBA::is_nil(obj))
{
// no such object found
std::cout << "no such CORBA object" << std::endl;
return -1;
}
conferenceCombiner_var CCClient = conferenceCombiner::_narrow(obj);
etc….
Anyway, whenever I use anything other than'localhost' or '127.0.0.1' the client fails. It passes the orb->bind(…) call above but then fails on the first call on that object with a CORBA::COMM_FAILURE exception. It fails in this generated code:
CORBA::StaticRequest __req( this, "createConference" );
__req.add_in_arg( &_sa_conferenceID );
__req.add_in_arg( &_sa_DSCPValue );
__req.set_result( &__res );
__req.invoke();
mico_sii_throw( &__req,
0);
I know this is a bit of a 'shot in the dark' but I'm very new to Corba and Mico. Any help would be really apprecaited.
Regards
Paul
Paul
| ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** |
_______________________________________________ Mico-devel mailing list [email protected] http://www.mico.org/mailman/listinfo/mico-devel
