listserv is used to list the registered and active servers. It can also be used to list the deployment descriptor of a server.
listserv <option>where options include:
-J<runtime flag> Pass argument to the java interpreter
-registered Display servers that are registered
-active Display servers that are currently running
-alias <name> Display deployment descriptor for this server
The ORB supports automatic server activation for persistent objects via its ActivationSystem API. For convenience several utilities are provided. The listserv utility is used to list the active and registered servers. It can also be used to list a server deployment descriptor.
-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 alias of the server whose deployment descriptor should be listed.-registeredSpecifies that the aliases of all the registered servers should be displayed.-activeSpecifies that only the aliases of the active servers should be displayed.
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 listserv utility list servers 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.
- Display the deployment descriptor of MyServer.
listserv -alias MyServer
- Display the active servers on host bach
listserv -J-DORBDefaultInitRef=iiopboot://bach -active
regserv, unregserv, chngserv, startserv, stopserv
Copyright © 1998-2003, Novell, Inc. All rights reserved.