This module contains the functions for starting and stopping the application. It also has some utility functions to get some of the configuration information from running application.
Starts the Orber application (it also starts mnesia if it is not running).
Which
Installs and starts the Orber and the Mnesia applications with the configuration
parameters
Stops the Orber application.
Generates an Info Report, which contain Orber's configuration settings.
If no
Returns a printable string, which describes the supplied exception in greater detail. Note, this function is mainly intended for system exceptions.
Returns true if the supplied exception is a system defined exception, otherwise false.
Returns a list of the Orber specific Mnesia tables. This list is required to restore Mnesia if it has been partitioned.
This function returns undefined if we will resolve references locally,
otherwise a string describing which host we will contact if the Key given
to
This function returns undefined if we will resolve references locally,
otherwise a string describing which host, or hosts, from which we
will try to resolve the Key given to
This function returns the domain name of the current Orber domain as a string.
This function returns the port-number, which is used by the IIOP protocol. It can be configured by setting the application variable iiop_port, if it is not set it will have the default number 4001.
The return value of this operation is what the configuration
parameter
This function returns the port-number, which is used by the secure IIOP protocol. It can be configured by setting the application variable iiop_ssl_port, if it is not set it will have the default number 4002 if Orber is to configured to run in secure mode. Otherwise it returns -1.
This function returns the timeout value after which outgoing IIOP requests terminate. It can be configured by setting the application variable iiop_timeout TimeVal (seconds), if it is not set it will have the default value infinity. If a request times out a system exception, e.g. TIMEOUT, is raised.
Note: the iiop_timeout configuration parameter (TimeVal) may only range between 0 and 1000000 seconds. Otherwise, the default value is used.
Note: Earlier IC versions required that the compile option
This function returns the timeout value after which outgoing IIOP connections terminate. It can be configured by setting the application variable iiop_connection_timeout TimeVal (seconds), if it is not set it will have the default value infinity. The connection will not be terminated if there are pending requests.
Note: the iiop_connection_timeout configuration parameter (TimeVal) may only range between 0 and 1000000 seconds. Otherwise, the default value is used.
The list returned by this operation contain tuples of remote hosts/ports Orber is currently connected to. If no Direction is not supplied, both incoming and outgoing connections are included.
If a specific local interface has been defined for the connection, this will be added to the returned tuple.
In some cases a connection attempt (i.e. trying to communicate with another ORB) may block due to a number of reasons. This operation allows the user to check if this is the case. The returned list contain tuples of remote hosts/ports. Normally, the list is empty.
If a specific local interface has been defined for the connection, this will be added to the returned tuple.
This function returns the timeout value after which incoming IIOP connections terminate. It can be configured by setting the application variable iiop_in_connection_timeout TimeVal (seconds), if it is not set it will have the default value infinity. The connection will not be terminated if there are pending requests.
Note: the iiop_in_connection_timeout configuration parameter (TimeVal) may only range between 0 and 1000000 seconds. Otherwise, the default value is used.
Returns the ACL configuration. The
The list of
Activates audit/trail for all existing incoming and outgoing IIOP
connections. The
In case Orber is configured to use other interceptors, the audit/trail interceptors will simply be added to that list.
Deactivates audit/trail for all existing incoming and outgoing IIOP connections. In case Orber is configured to use other interceptors, those will still be used.
Create a new process that handle requests for creating a new incoming
IIOP connection via the given interface and port. If the latter is
excluded, Orber will use the value of the
It is also possible to supply configuration parameters that override
the global configuration. The iiop_in_connection_timeout,
iiop_max_fragments, iiop_max_in_requests and
interceptors parameters simply overrides the global
counterparts (See the
If it is not possible to add a listener based on the supplied interface
and port, the error message is one of the ones described in
Terminates the listen process, associated with the supplied
Will try to close all outgoing connections to the host/port combinations
found in the supplied object reference or the given list of hosts/ports.
If a
Since several clients maybe communicates via the same connection, they will be affected when invoking this operation. Other clients may re-create the connection by invoking an operation on the target object.
This function returns the security mode Orber is running in, which is either no if it is an insecure domain or the type of security mechanism used. For the moment the only security mechanism is ssl. This is configured by setting the application variable secure.
This function returns a path to a file containing a chain of PEM encoded certificates for the Orber domain as server. This is configured by setting the application variable ssl_server_certfile.
This function returns a path to a file containing a chain of PEM encoded certificates used in outgoing calls in the current process. The default value is configured by setting the application variable ssl_client_certfile.
This function takes a path to a file containing a chain of PEM encoded certificates as parameter and sets it for the current process.
This function returns the type of verification used by SSL during authentication of the other peer for incoming calls. It is configured by setting the application variable ssl_server_verify.
This function returns the type of verification used by SSL during authentication of the other peer for outgoing calls. The default value is configured by setting the application variable ssl_client_verify.
This function sets the SSL verification type for the other peer of outgoing calls.
This function returns the SSL verification depth for incoming calls. It is configured by setting the application variable ssl_server_depth.
This function returns the SSL verification depth for outgoing calls. The default value is configured by setting the application variable ssl_client_depth.
This function sets the SSL verification depth for the other peer of outgoing calls.
This function returns the timeout value after which after which terminated object keys,
related to servers started with the configuration parameter
Objects terminating with reason normal or shutdown are removed automatically.
Note: the objectkeys_gc_time configuration parameter (TimeVal) may only range between 0 and 1000000 seconds. Otherwise, the default value is used.
This function returns the list of node names that this orber domain consists of.
This function installs all the necessary mnesia tables and load default data in some of them. If one or more Orber tables already exists the installation fails. The function\011 uninstall may be used, if it is safe, i.e., no other application is running Orber.
Preconditions:
Mnesia will be started by the function if it is not already running on the installation node and if it was started it will be stopped afterwards.
The options that can be sent to the installation program is:
This function stops the Orber application, terminates all server objects and removes all Orber related mnesia tables.
Note: Since other applications may be running on the same node using mnesia uninstall will not stop the mnesia application.
This function add given node to a existing Orber node group and starts
Orber on the new node.
Preconditions for new node:
Orber will be started by the function on the new node.
Fails if:
The function do not remove already copied tables after a failure.
Use
This function removes given node from a Orber node group. The Mnesia application is not stopped.
This function allows the user to configure Orber in, for example,
an Erlang shell. It is possible to invoke
Any other key must be set before installing and starting Orber.
Trying to change the configuration in any other way is NOT allowed since it may affect the behavior of Orber.
For more information regarding allowed values, see
Configuring the IIOP timeout values will not affect already existing connections. If you want a guaranteed uniform behavior, you must set these parameters from the start.