Sun Java System Web Server 7.0 Installation and Migration Guide

Chapter 3 Getting Started

This chapter provides basic information about getting started with Sun Java System Web Server.

This chapter contains the following sections:

Starting the Administration Server

This section describes how to start the Administration Server.

Accessing the Administration Server

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.


Note –

You must use https:// in the URL prefix to access the Administration Server through SSL port.


Using the Administration Command-Line Interface

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.


Note –

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.


Enabling 64–bit Support

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

Registering the Administration Node From the Command-Line

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  ) 

Note –

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.


Configuring the Web Server

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.

Viewing Access and Error Log Files

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.