Running DSOM servers

Once the somdd daemon is running, application programs can be started. If the application uses the generic SOM server, somdsvr, it can be started either from the command line or automatically upon demand. When starting somdsvr from the command line, the server's implementation ID or alias must be supplied as an argument. The command syntax for starting a generic SOM server is:

   somdsvr  [ impl_id  | -a alias ]

For example, the command

$   somdsvr  2ad2688fb-00389c00-7f-00-10005ac900d8

would start a somdsvr for an implementation with the specified ID. Likewise, the command

$   somdsvr  -a  myServer

would start a somdsvr that represents an implementation of "myServer".

Servers can also be started from the command line using the "dsom start" command:

dsom start {impl_alias1 [impl_alias2 ...] | -a}

or programmatically using the somdStartServer method of the SOMDServerMgr class. See the section entitled "The 'dsom' server manager utility" for more information on the dsom command-line utility. See the DSOM section of the SOMobjects Developer Toolkit Programmers Reference manual for a description of the SOMDServerMgr class and its methods.


[Back: Running the DSOM daemon (somdd)]
[Next: DSOM as a CORBA-compliant Object Request Broker]