Sun Java System Web Server 7.0 Update 1 Administrator's Guide

Preface

This guide describes how to configure and administer the Sun JavaTM System Web Server 7.0.

Who Should Use This Book

This book is intended for Sun Java System Web Server administrators to manage the server in production environments. The guide assumes familiarity with the following areas:

Before You Read This Book

Sun Java System Web Server can be installed as a stand-alone product or as a component of Sun Java Enterprise System (Java ES), a software infrastructure that supports enterprise applications distributed across a network or Internet environment. If you are installing Sun Java System Web Server as a component of Java ES, you should be familiar with the system documentation at http://docs.sun.com/coll/1286.3.

Sun Java System Web Server Documentation Set

The Sun Java System Web Server documentation set describes how to install and administer the Web Server. You can access Sun Java System Web Server Update 1 documentation athttp://docs.sun.com/coll/1308.3. For an introduction to Sun Java System Web Server Update 1, refer to the books in the order in which they are listed in the following table.

Table P–1 Books in the Sun Java System Web Server Documentation Set

Documentation Title 

Contents 

Sun Java System Web Server 7.0 Update 1 Documentation Center

Web Server documentation topics organized by tasks and subject 

Sun Java System Web Server 7.0 Update 1 Release Notes

  • Late-breaking information about the software and documentation

  • Supported platforms and patch requirements for installing Web Server

Sun Java System Web Server 7.0 Update 2 Installation and Migration Guide

Performing installation and migration tasks: 

  • Installing Web Server and its various components,

  • Migrating data from Sun ONE Web Server 6.0 or 6.1 to Sun Java System Web Server 7.0

Sun Java System Web Server 7.0 Update 1 Administrator’s Guide

Performing the following administration tasks:

  • Using the Administration GUI and command-line interface

  • Configuring server preferences

  • Using server instances

  • Monitoring and logging server activity

  • Using certificates and public key cryptography to secure the server

  • Configuring access control to secure the server

  • Using Java Platform Enterprise Edition (Java EE) security features

  • Deploying applications

  • Managing virtual servers

  • Defining server workload and sizing the system to meet performance needs

  • Searching the contents and attributes of server documents, and creating a text search interface

  • Configuring the server for content compression

  • Configuring the server for web publishing and content authoring using WebDAV

Sun Java System Web Server 7.0 Update 2 Developer’s Guide

Using programming technologies and APIs to do the following: 

  • Extend and modify Sun Java System Web Server

  • Dynamically generate content in response to client requests and modify the content of the server

Sun Java System Web Server 7.0 Update 1 NSAPI Developer’s Guide

Creating custom Netscape Server Application Programmer’s Interface (NSAPI) plug-ins 

Sun Java System Web Server 7.0 Update 1 Developer’s Guide to Java Web Applications

Implementing Java Servlets and JavaServer PagesTM (JSPTM) technology in Sun Java System Web Server

Sun Java System Web Server 7.0 Update 1 Administrator’s Configuration File Reference

Editing configuration files 

Sun Java System Web Server 7.0 Update 1 Performance Tuning, Sizing, and Scaling Guide

Tuning Sun Java System Web Server to optimize performance 

Sun Java System Web Server 7.0 Update 1 Troubleshooting Guide

Troubleshooting Web Server 

Related Books

The URL for all documentation about Sun Java Enterprise System (Java ES) and its components is http://docs.sun.com/coll/1286.3.

Default Paths and File Names

The following table describes the default paths and file names that are used in this book.

Table P–2 Default Paths and File Names

Placeholder 

Description 

Default Value 

install-dir

Represents the base installation directory for Sun Java System Web Server 

Sun Java Enterprise System (Java ES) installations on the SolarisTM platform:

/opt/SUNWwbsvr7

Java ES installations on the Linux and HP-UX platform: 

/opt/sun/webserver/

Java ES installations on the Windows platform: 

system-drive:\Program Files\Sun\JavaES5\WebServer7

Other Solaris, Linux, and HP-UX installations, non-root user:  

home-directory/sun/webserver7

Other Solaris, Linux, and HP-UX installations, root user:  

/sun/webserver7

Windows, all installations:  

system-drive:\Program Files\Sun\WebServer7

instance-dir

Directory that contains the instance-specific subdirectories. 

For Java ES installations, the default location for instances on Solaris: 

/var/opt/SUNWwbsvr7

For Java ES installations, the default location for instances on Linux and HP-UX:  

/var/opt/sun/webserver7

For Java ES installations, the default location for instance on Windows:  

system-drive:\Program Files\Sun\JavaES5\WebServer7

For stand-alone installations, the default location for instance on Solaris, Linux, and HP-UX:install-dir

For stand-alone installations, the default location for instance on Windows:  

system-drive:\Program Files\sun\WebServer7

Typographic Conventions

The following table describes the typographic changes that are used in this book.

Table P–3 Typographic Conventions

Typeface 

Meaning 

Example 

AaBbCc123

The names of commands, files, and directories, and onscreen computer output 

Edit your .login file.

Use ls -a to list all files.

machine_name% you have mail.

AaBbCc123

What you type, contrasted with onscreen computer output 

machine_name% su

Password:

AaBbCc123

A placeholder to be replaced with a real name or value 

The command to remove a file is rm filename.

AaBbCc123

Book titles, new terms, and terms to be emphasized (note that some emphasized items appear bold online) 

Read Chapter 6 in the User's Guide.

A cache is a copy that is stored locally.

Do not save the file.

Symbol Conventions

The following table explains symbols that might be used in this book.

Table P–4 Symbol Conventions

Symbol 

Description 

Example 

Meaning 

[ ]

Contains optional arguments and command options. 

ls [-l]

The -l option is not required.

{ | }

Contains a set of choices for a required command option. 

-d {y|n}

The -d option requires that you use either the y argument or the n argument.

${ }

Indicates a variable reference. 

${com.sun.javaRoot}

References the value of the com.sun.javaRoot variable.

Joins simultaneous multiple keystrokes. 

Control-A 

Press the Control key while you press the A key. 

Joins consecutive multiple keystrokes. 

Ctrl+A+N 

Press the Control key, release it, and then press the subsequent keys. 

-> 

Indicates menu item selection in a graphical user interface. 

File -> New -> Templates 

From the File menu, choose New. From the New submenu, choose Templates. 

Documentation, Support, and Training

The Sun web site provides information about the following additional resources:

Searching Sun Product Documentation

Besides searching Sun product documentation from the docs.sun.com web site, you can use a search engine by typing the following syntax in the search field:


search-term site:docs.sun.com

For example, to search for “Web Server,” type the following:


Web Server site:docs.sun.com

To include other Sun web sites in your search (for example, java.sun.com, www.sun.com, and developers.sun.com), use “sun.com” in place of “docs.sun.com” in the search field.

Third-Party Web Site References

Third-party URLs are referenced in this document and provide additional, related information.


Note –

Sun is not responsible for the availability of third-party web sites mentioned in this document. Sun does not endorse and is not responsible or liable for any content, advertising, products, or other materials that are available on or through such sites or resources. Sun will not be responsible or liable for any actual or alleged damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods, or services that are available on or through such sites or resources.


Sun Welcomes Your Comments

Sun is interested in improving its documentation and welcomes your comments and suggestions. To share your comments, go to http://docs.sun.com and click Send Comments. In the online form, provide the full document title and part number. The part number is a 7-digit or 9-digit number that can be found on the book's title page or in the document's URL. For example, the part number of this book is 820-1061.