This chapter provides basic information about getting started with Sun Java System Web Server.
This chapter contains the following sections:
This section describes how to start the Administration Server.
To start the Administration Server on UNIX and Linux, go to install_dir/admin_server/bin and type ./startserv.
To start the Administration Server on Windows, do one of the following:
From the Start menu, select Programs > Sun Microsystems > Web Server 7.0 > Start Admin Server.
Start the Administration Server service on the Services page accessed from the Control Panel.
Execute net start https-admserv70 from the command line.
Execute startserv.bat from install_dir/admin-server/bin.
To access the web-based Administration Server console, open a browser and enter a URL of the format https://server_name:administration_port.
For example, if the server name specified during installation is myserver and the port is 8989, the URL used to launch the Administration Server graphical interface is https://myserver:8989. You will be prompted for the Administration Server user name and password, which were also specified during installation.
You must use https:// in the URL prefix to access the Administration Server through SSL port.
The command-line tool for Web Server 7.0 administration is called wadm (this was called wsadmin in Web Server 6.0 and 6.1) and is located in install_dir/bin directory. To use the CLI, the Administration Server must be running.
Use the --help option (wadm --help) to obtain top-level help for the CLI. Use wadm sub_command --help for command-specific help. For more information about the administration CLI, see the man pages and the Sun Java System Web Server 7.0 CLI Man Pages document.
wdeploy command only supports the backward compatibility with Web Server 6.0 and 6.1 releases. This command will work only on the Administration Node.
After the installation, by default Sun Java System Web Server 7.0 runs in the 32-bit mode if the 64-bit runtime option is not selected. The following shows how to enable the 64-bit support after the installation.
Set the configuration property:
$ wadm set-config-prop --user=admin-user --host=host-name --port=admin-port --config=config-name platform=64
Deploy the configuration:
$ wadm deploy-config config-name
Use the register-node command to register the Administration Node with the Administration Server from the command line. Registration is necessary if registration was not performed during installation, or failed during installation. The Administration Node cannot be started unless registration is complete. The Administration Server must be running to use the CLI and register the Administration Node with the Administration Server.
Use the following command to register the Administration Node:
($install_dir/bin/wadm register-node --user=user_name --host=host_name --port=port_name )
When registering an Administration Node with an Administration Server, ensure that the system date and time of the Administration Node is same as or later than that of the Administration Server.
user_name: Administrator user name to log into remote Administration Server.
host_name: Fully qualified domain name of the host on which the Administration Server is installed.
port_name: SSL port on which the remote Administration Server is listening. The default is 8989.
For detailed information about configuring Sun Java System Web Server, see the Sun Java System Web Server 7.0 Administrator’s Guide and the online help that is available from the Admin console. You can also refer other books in the Web Server 7.0 documentation set.
The Administration Server log files record data about the server, including details about server access and the types of errors encountered during server operation.
The Access log records information about requests to and responses from the server. The Error log lists all errors that the server has encountered since the log file was created, and also contains informational messages about the server, such as when the server was started and who tried unsuccessfully to log in. By default, the access and server logs are located in install_dir/admin-server/logs.
For more information about the log files and their configuration, see the Sun Java System Web Server 7.0 Administrator’s Guide, and the online help that is available from the Admin console. You can also refer other books in the Web Server 7.0 documentation set.