unregserv is used to unregister a server that was previously registered with the ORB.
unregserv [options] -alias <server alias>where options include:
-J<runtime flag> Pass argument to the java interpreter
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 ass well.
-JruntimeFlagUsed 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 serverAliasSpecifies the server that should be unregistered.
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:2506will 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 chngserv and is actually preferred to setting an environment property.
- Unregister server MyServer running on host escher.
unregserv -J-DORBDefaultInitRef=iiopboot://escher -alias MyServer
regserv, listserv, chngserv, startserv, stopserv
Copyright © 1998-2003, Novell, Inc. All rights reserved.