Bruno MAGNE
2011-02-10 10:19:37 UTC
Hi Everybody,
I still use MiCO 2.3.12 with VS2500 under Windows.
My application is made of several modules running on multiple PCs. Until now nothing exceptional because CORBA and MiCO are made for that.
For a standalone version of my application, I am running all modules on a single PC ; the MiCO communication processes are unchanged except we use only âlocalhostâ address.
Under Linux, it works perfectly ; under Windows XP, the same way. The problem of name resolution appears on Windows Vista/Seven.
Description of the problem:
- Even if I use only âlocalhostâ between my modules, NSD and Mico libraries uses the real name of the machine for the IP resolution and revert resolution too.
- The consequence is that module registration seems to work on NSD but when we would like to retrieve a module reference from NSD, it fails.
- I have found that, on Windows Vista/Seven, running NSD with â-ORBNoResolveâ option avoids changing âc:\windows\system32\drivers\etc\hostâ file.
- But it is not sufficient, I have cases (see enclosed NSD Debug info) where it does not work.
The first differences come at line 123 in âerror.txtâ where we saw the name of the machine ; in the other case ( ok.txtâ file), we see only the IP address of the machine.
It seems too that the behavior is different if we have one or multiple NIC (physical or virtual) on the PC ; for example Ethernet, Wifi, VPN, VMWare adapters.
But why MiCO is changing âlocalhostâ to the realname of the machine and/or one of the IP address different from 127.0.0.1
Has somebody experience with such case ; any tips is welcome. Has Mico 2.3.13 been improved in that way ?
Thanks in advance for any answer.
Best Regards
Bruno Magne
I still use MiCO 2.3.12 with VS2500 under Windows.
My application is made of several modules running on multiple PCs. Until now nothing exceptional because CORBA and MiCO are made for that.
For a standalone version of my application, I am running all modules on a single PC ; the MiCO communication processes are unchanged except we use only âlocalhostâ address.
Under Linux, it works perfectly ; under Windows XP, the same way. The problem of name resolution appears on Windows Vista/Seven.
Description of the problem:
- Even if I use only âlocalhostâ between my modules, NSD and Mico libraries uses the real name of the machine for the IP resolution and revert resolution too.
- The consequence is that module registration seems to work on NSD but when we would like to retrieve a module reference from NSD, it fails.
- I have found that, on Windows Vista/Seven, running NSD with â-ORBNoResolveâ option avoids changing âc:\windows\system32\drivers\etc\hostâ file.
- But it is not sufficient, I have cases (see enclosed NSD Debug info) where it does not work.
The first differences come at line 123 in âerror.txtâ where we saw the name of the machine ; in the other case ( ok.txtâ file), we see only the IP address of the machine.
It seems too that the behavior is different if we have one or multiple NIC (physical or virtual) on the PC ; for example Ethernet, Wifi, VPN, VMWare adapters.
But why MiCO is changing âlocalhostâ to the realname of the machine and/or one of the IP address different from 127.0.0.1
Has somebody experience with such case ; any tips is welcome. Has Mico 2.3.13 been improved in that way ?
Thanks in advance for any answer.
Best Regards
Bruno Magne