Created On:  18 April 2011

Problem:

  • Product Name: VisiBroker for C
  • Product Version: All
  • Product Component: POAs, Server Engines
  • Platform/OS Version: All
How do you associate multiple POAs with different server engines?

Resolution:

You could refer to the product installation example "server_engine_policy" under the "poa" folder directory. Though the example illustrates with one POA and one Server Engine. It could easily adapted with multiple POAs associating with different Server Engines settings. The following are few points to note,
  1. Ensure each "mySe" server engine identifier is unique.
  2. Ensure the listener port associated with each server engine identifier is unique.
  3. Ensure each POA name that is asociating with a specific server engine is unique.
  4. Ensure different servant instances are created for each POA and each servant instance has unique Object Id.

The attachment Server.zip contains a C sample with an illustration on two Server engines, mySe and mySe2, and two POAs, bank_se_policy_poa and bank_se_policy_poa_2. You could add as many as per application requirements.