Error when trying to connect to Jacorb naming service

前端 未结 2 749
梦如初夏
梦如初夏 2020-12-19 10:36

I\'m hoping to get some help with this weird problem. We\'re running the Jacorb name server and I have a simple client that I\'m using to try to connect and do awesome CORBA

2条回答
  •  情话喂你
    2020-12-19 11:15

    I can't be sure without seeing the rest of the code, but I'm pretty sure you need to change the InitRef string to be:

    -DORBInitRef.NameService=corbaloc::localhost:2809
    

    When your client connects, this should give you the root naming context for the naming service and then you can traverse the NameContext tree to get to your desired server object.

提交回复
热议问题