The stopserv utility is used to stop an ORB or manually started server.
stopserv [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 stopserv utility is used to stop a server previously registered using either the regserv utility or using the ActivationSystem APIs directly.
If the server is already inactive, this has no affect.
-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 stopped.
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 stopserv utility stop 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.
Stop server MyServer running on host pokeman
stopserv -DORBDefaultInitRef=iiopboot://pokeman -alias MyServer
Copyright © 2003, 2004 Novell, Inc. All rights reserved. Copyright © 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.