Problem:
- Product Name: VisiBroker for C
- Product Version: All
- Product Component: Naming Service, URLs
- Platform/OS Version: All
There are different ways to start up the server in the Bank Naming example that is bundled along with the product. Since it can be easy to forget an "=" or putting a "/" where you should not, The following shows how to refer to a naming service when starting up the server using the standard bank_naming example.
Resolution:
Starting the Naming Service
prompt> nameserv -J-Dvbroker.se.iiop_tp.scm.iiop_tp.listener.port=12345
Starting the Client Application
prompt> Client -ORBInitRef NameService=iioploc://localhost:12345/NameService
Starting the Server Application Using Various Form of CORBA URLs for Bootstrapping
- prompt> Server -ORBDefaultInitRef iioploc://localhost:12345
- prompt> Server -ORBDefaultInitRef corbaloc::localhost:12345
- prompt> Server -ORBInitRef NameService=corbaloc::localhost:12345/NameService
- prompt> Server -ORBInitRef NameService=iioploc://localhost:12345/NameService
- prompt> Server -ORBInitRef NameService=iiopname://localhost:12345/
- prompt> Server -ORBInitRef NameService=corbaname::localhost:12345#
- prompt> Server -DSVCnameroot=NameService
#VisiBroker
#Security




