You can add additional services to a host with the aid of the addservice tool. Once the services are added, they can be managed using the Administration Tool just like the default services.
The addservice tool is run from the command line -- the ability to create new services is not yet available through the Admininistration GUI. In a future release, this ability will be fully integrated.
Adding services to a server is easy with the addservice tool. It gathers the necessary information through a series of prompts. It even double-checks with you, once it has all the necessary information, before proceeding with the creation of the service. If you change your mind about the information you've input or even about adding the service at all, the final prompt provides the opportunity to discard the request.
Here are the steps:
addservicewhere <server_root> is the directory into which you installed the Java Web Server.
The choices are: webpageservice, secureservice, adminservice, or proxyservice.
Note:
The permissions set on the directories created by the addservice tool
will be based on your login at the time the tool is run.
If you run the tool with a login name such as root,
be sure the new directories have appropriate permissions for the user who
will subsequently run the server. (By default, the server set-uid's to
nobody when started as root). If the directories do not
have the necessary permissions, correct them using the chmod
command.
After the services have been created by the addservice Tool, the Administration Tool has to be refreshed to pick up the change. To do this,
You should now see the service labelled with the description you provided above.
Having added the service with the addservice tool, and refreshed the Administration Tool to pick up the change, you can now manage the service through the Administration GUI in the same manner as any of the default services.
Top java-server-feedback@java.sun.com |
Copyright © 1997
Sun Microsystems, Inc. All Rights Reserved. |