光草's profileglenPhotosBlogListsMore Tools Help

Blog


    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.

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://comlight.spaces.live.com/blog/cns!C0E7FC83E9BBDFB1!282.trak
    Weblogs that reference this entry
    • None