For your convenience the ActivationSystem APIs can be accessed using the following command line utilities. To access an ActivationSystem not running on the local machine on port 2506, set the JBROKER_INITIAL_URL shell environment variable. For example, on a Windows machine, to access ActivationSystem running on host godel on the default port, do:set JBROKER_INITIAL_URL=iiopboot://godel:2506The following table summarizes the activation commands. For details please see the tools reference.
Activation Utility
Name and DescriptionSyntax regserv Register a Server
regserv [options1] -desc <properties filename> regserv [options2] -alias <server alias> -main <server class name>
where options1 include:
-J<runtime flag> pass argument to the java interpreter
-start start the server after registeringwhere options2 include:
-J<runtime flag> pass argument to the java interpreter
-args <arg list> arguments to the server main
-vmflags <flag list> arguments to the server Java VM
-classpath <path list> specify where to find server classes
-logdir <dir> specify where to write server logs
-start start the server after registeringunregserv Unregister a Server
unregserv [options] -alias <server alias> where options include:
-J<runtime flag> pass argument to the java interpreterstartserv Start a Server
startserv [options] -alias <server alias> where options include:
-J<runtime flag> pass argument to the java interpreterstopserv Stop a Server
stopserv [options] -alias <server alias> where options include:
-J<runtime flag> pass argument to the java interpreterlistserv List Servers
listserv <option> where options include:
-J<runtime flag> pass argument to the java interpreter
-registered pisplay servers that are registered
-active pisplay servers that are currently running
-alias <name> pisplay deployment descriptor for serverchngserv Change Server Deployment Descriptor
chngserv [options1] -desc <properties filename> chngserv [options2] -alias <server alias>
where options1 include:
-J<runtime flag> pass argument to the java interpreterwhere options2 include:
-J<runtime flag> pass argument to the java interpreter
-main <class name> name of a class with the main method
-args <arg list> arguments to the server main
-vmflags <flag list> arguments to the server Java VM
-classpath <path list> specify where to find server classes
-logdir <dir> specify where to write server logs
Copyright © 1998-2003, Novell, Inc. All rights reserved.