Skip to main content
Summary This article describes the steps needed to register a persistent CORBA server started manually with the Orbix implementation repository.
Article Number 29794
Environment Orbix 6.3 All Supported Operating Systems
Question/Problem Description How to register Orbix 6 persistent CORBA servers started manually with the Orbix implementation repository?
Clarifying Information A persistent CORBA server is one whose ORB contains persistent POAs. All persistent POAs must be registered in the implementation repository of that server’s location domain.

After the registration of persistent servers in the implementation repository, servers and clients use this repository transparently.
Error Message
Defect/Enhancement Number
Cause
Resolution Registration of a persistent server started manually is a two-step process:

1. Register the ORB that runs in that process

Using itadmin orbname create register the orbname that the process initializes.This name must be the same as -ORBname argument that you supply the server during startup or the orbname specified in the code at ORB initialization with ORB_init(argc, argv,"my_app.server_orb").

The following command registers the my_app.server_orb ORB:

itadmin orbname create my_app.server_orb
 
2. Register POAs that run in the ORB

After the ORB has been registered, register all persistent POAs and their ancestors (whether persistent or transient) using itadmin poa create. Persistent POAs must be registered with the ORB name in which they run.

The following command registers the banking_service/account/checking persistent POA and its immediate ancestors banking_service/checking and banking_service with the my_app.server_orb ORB:

itadmin poa create -orbname my_app.server_orb banking_service
itadmin poa create banking_service/account -transient
itadmin poa create -orbname my_app.server_orb banking_service/account/checking

Once the orbname and the POAs are registered and the server can be started manually and it will be listed using the itadmin process list -active as
my_app.server_orb

For further information please see:
 Orbix Administrator's Guide, Chapter "Managing Persistent CORBA Servers"
The demo shipped with Orbix in
<IT_PRODUCT_DIR>\\asp\\6.3\\demos\\corba\\standard\\simple_persistent

 
Workaround
Notes
Attachment
Created date: 14 March 2012
Last Modified: 13 February 2013
Last Published: 05 July 2012
First Published date: 14 March 2012

#Orbix
#KnowledgeDocs