unregserv - The Server Unregistration Utility

The unregserv utility is used to unregister a server that was previously registered with the ORB.

SYNOPSIS

unregserv [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 unregserv utility is used to unregister a server previously registered using either the regserv utility or using the ActivationSystem APIs directly.

If the server is active, it is inactivated as well.

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 unregistered.

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 unregserv utility unregister the server 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 stopserv and is actually preferred to setting an environment property.

EXAMPLES

SEE ALSO



Copyright © 2003, 2004 Novell, Inc. All rights reserved. Copyright © 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.