Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What parameters are needed to start a Naming Server client program?

0
Posted

What parameters are needed to start a Naming Server client program?

0

There are three ways to start a Naming Server client program. A simple example will help to elaborate. Suppose three are three VisiBroker Naming Service running on host “TestHost”: ns1, ns2 and ns3. And there are three servers: sr1, sr2, sr3, running on differnt port 20001, 20002, 20003 on host “TestHost”. sr1 binds itself in ns1; sr2 binds itself in ns2 and sr3 binds itself in ns3. 1. -DSVCnameroot You can use -DSVCnameroot to specify which VisiBroker Naming Service you want to bootstrap. For instance, if you want to bootstrap into ns1, then you start your client program as: ;;; vbj -DSVCnameroot=ns1 By doing,; resolve_initial_references(“NameService”) inside the client program will return the root context of ns1. 2. -DORBInitRef You can use either iioploc or iiopname to specify which VisiBroker Naming Service you want to bootstrap. * iioploc: ;;; If you want to bootstrap into ns2, then you start your client program as: ;;;;;;; vbj -DORBInitRef=NameService=iioplo

0

There are three ways to start a Naming Server client program. A simple example will help to elaborate. Suppose three are three VisiBroker Naming Service running on host “TestHost”: ns1, ns2 and ns3. And there are three servers: sr1, sr2, sr3, running on differnt port 20001, 20002, 20003 on host “TestHost”. sr1 binds itself in ns1; sr2 binds itself in ns2 and sr3 binds itself in ns3. 1. -DSVCnameroot You can use -DSVCnameroot to specify which VisiBroker Naming Service you want to bootstrap. For instance, if you want to bootstrap into ns1, then you start your client program as: vbj -DSVCnameroot=ns1 By doing, resolve_initial_references(“NameService”) inside the client program will return the root context of ns1. 2. -DORBInitRef You can use either iioploc or iiopname to specify which VisiBroker Naming Service you want to bootstrap. * iioploc: If you want to bootstrap into ns2, then you start your client program as: vbj -DORBInitRef=NameService=iioploc://TestHost:2000

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123