光草 的个人资料glen照片日志列表更多 ![]() | 帮助 |
|
10月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. 引用通告此日志的引用通告 URL 是: http://comlight.spaces.live.com/blog/cns!C0E7FC83E9BBDFB1!282.trak 引用此项的网络日志
|
|
|