Sun Java System Web Server 7.0 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 7.0 can be installed as a standalone 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 7.0 as a component of Java ES, you should be familiar with the system documentation at http://docs.sun.com/coll/1286.2.

Sun Java System Web Server 7.0 Documentation Set

The Sun Java System Web Server 7.0 documentation set describes how to install and administer the Web Server. The URL for Sun Java System Web Server 7.0 documentation is http://docs.sun.com/coll/1308.3. For an introduction to Sun Java System Web Server 7.0, 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 7.0 Documentation Set

Documentation Title 

Contents 

Sun Java System Web Server 7.0 Documentation Center

Web Server documentation topics organized by tasks and subject 

Sun Java System Web Server 7.0 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 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 Administrator’s Guide

Performing the following administration tasks:

  • Using the Administration and command-line interfaces

  • 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 JavaPlatform 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 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 NSAPI Developer’s Guide

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

Sun Java System Web Server 7.0 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 Administrator’s Configuration File Reference

Editing configuration files 

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

Tuning Sun Java System Web Server to optimize performance 

Sun Java System Web Server 7.0 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/app/docs/prod/entsys.06q4.

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 7.0. 

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

/opt/SUNWwbserver7

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: 

user's home directory/sun/webserver7

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

/sun/webserver7

Windows, all installations: 

SystemDrive:\Program Files\Sun\WebServer7

instance_root

Directory that contains the instance-specific subdirectories. 

The default location for instances on Solaris is: 

/var/opt/SUNWwbsvr7.

The default location for instances on Linux and HP-UX is: 

/var/opt/sun/webserver7

The default location for instance on Windows is: 

System Drive:\Program Files\sun\WebServer7

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

System Drive:\Program Files\Sun\JavaES5\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. 

Accessing Sun Resources Online

The http://docs.sun.com (docs.sun.comSM) web site enables you to access Sun technical documentation online. You can browse the docs.sun.com archive or search for a specific book title or subject. Books are available as online files in PDF and HTML formats. Both formats are readable by assistive technologies for users with disabilities.

To access the following Sun resources, go to http://www.sun.com:

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 819-2629.