Skip to main content

The different ways to start up the server in the Bank Naming example, BES, Windows

  • February 16, 2013
  • 0 replies
  • 0 views

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

  1. prompt> Server -ORBDefaultInitRef iioploc://localhost:12345
  2. prompt> Server -ORBDefaultInitRef corbaloc::localhost:12345
  3. prompt> Server -ORBInitRef NameService=corbaloc::localhost:12345/NameService
  4. prompt> Server -ORBInitRef NameService=iioploc://localhost:12345/NameService
  5. prompt> Server -ORBInitRef NameService=iiopname://localhost:12345/
  6. prompt> Server -ORBInitRef NameService=corbaname::localhost:12345#
  7. prompt> Server -DSVCnameroot=NameService

 


#VisiBroker
#Security