光草's profileglenPhotosBlogListsMore ![]() | Help |
|
October 22 Wrong default gateway delays Corba program init.In the project of My lab, we use TAO , the implementation of Corba, to compose the distributed software for LAMOST telescope.
I get one problem, when the default gateway of network setting of my computer is wrong, it always takes a long time, about 10 seconds to get through belowing codes.
CosNaming::NamingContext_var root=CosNaming::NamingContext::_narrow(NamingObj.in());
also this clause takes about 10 seconds to pass.
PortableServer::POA_var poa=PortableServer::POA::_narrow(RootObj.in());
It also happens when I unplug network cable, that I work on Linux, the system can not automatically find unconnect to network .
I spent whole morning trying to fix the problem, but in vain. I have tested to specify the Naming Service using -ORBInitRef *** or -ORBNameServicePort ***. They are not usefull.
I give up. Future, when using the controll software in LAMOST telescope, remember to fix the default gateway setting, or leave it blank on Linux. Otherwise, it won't work well. TrackbacksThe trackback URL for this entry is: http://comlight.spaces.live.com/blog/cns!C0E7FC83E9BBDFB1!282.trak Weblogs that reference this entry
|
|
|