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. For example:
java my.foobar.server -ORBServerAlias foobar
or as a Java System property:
java -DORBServerAlias=foobar my.foobar.server
Please see the ANT build file for the POA System Ids example.
Copyright © 2003, 2004 Novell, Inc. All rights reserved. Copyright © 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.