Manually Starting a Persistent Server
It is required that a server implementing persistent objects
be registered with the ORB. Otherwise, the persistent POA functionality
is disabled and any attempt to create a persistent object adapter will
throw a OBJ_ADAPTER System Exception. Once a persistent server is registered,
it can be started in the following ways:
-
Auto Started The server is auto-started (if not already running)
when a client invokes on a persistent object implemented within that server.
-
startserv Utility The server is started by the ORB in response
to the startserv acting as a client to the ActivationSystem and invoking
the startServer method.
-
Manually started The server can be started manually on the command
line. It is required that the ORBServerAlias property be passed
to the ORB using either the command line args to the server (eg.
java my.foobar.server -ORBServerAlias) or as a Java System property (eg.
java -DORBServerAlias=foobar my.foobar.server).
Please see the ANT build file for the POA System Ids
example.
Copyright © 1998-2003,
Novell, Inc.
All rights reserved.