startserv - The Server Starting Utility

startserv is used to explicitly ask the ORB to start a server that was previously registered with the ORB.

SYNOPSIS

startserv [options] -alias <server alias>

where options include:
    -J<runtime flag>  Pass argument to the java interpreter

DESCRIPTION

The ORB supports automatic server activation for persistent objects via its ActivationSystem API. For convenience several utilities are provided. The startserv utility is used to explicitly start a server that was previously registered using either the regserv utility or using the ActivationSystem APIs directly. You can also start a registered server manually (see the examples in the regserv manpage).

The ORB makes sure that if a server with the given alias is already active, it does not start another one.

OPTIONS

-JruntimeFlag
Used to pass runtime flags to the Java interpreter/runtime. For example, in conjunction with the -D option, it sets a Java System property. Muliple -J arguments can be used to specify more than one runtime flags.
-alias serverAlias
Specifies the server that should be started.

EXAMPLES

ENVIRONMENT

If the JBROKER_INITIAL_URL environment variable is set, then its value is used to locate the ActivationSystem. For example on Win32:
set JBROKER_INITIAL_URL=iiopboot://hubble:2506
will make the startserv utility start a server registered with the jorbd running on host hubble instead of the local host.

Note: This can also be achieved by using -J-DORBDefaultInitRef=iiopboot://hubble as one of the parameter to chngserv and is actually preferred to setting an environment property.

SEE ALSO

regserv, listserv, chngserv, unregserv, stopserv

Copyright © 1998-2003, Novell, Inc. All rights reserved.