Sun Java System Application Server Platform Edition 9 Administration Guide

Preface

The Sun Java System Administration Guide describes how to configure, manage, and deploy the Application Server subsystems and components.

Who Should Use This Book

This book is intended for information technology administrators in production environments. This guide assumes you are familiar with the following topics:

How This Book Is Organized

The Administration Guide is organized as follows.

Table P–1 How This Book Is Organized

Chapter  

Description  

Chapter 1, Getting Started

Describes Application Server system administration.  

Chapter 2, JDBC Resources

Describes JDBC resources (data source) provides applications with a means of connecting to a database. 

Chapter 3, Configuring Java Message Service Resources

Describes how to configure resources for applications that use the Java Message Service (JMS) API. 

Chapter 4, Configuring JavaMail Resources

Describes JavaMail Resources, a set of abstract APIs that model a mail system 

Chapter 5, JNDI Resources

Explains JNDI resources, which are used for accessing different kinds of naming and directory services. 

Chapter 6, Connectors

Describes Application Server support for connectors. 

Chapter 7, Java EE Containers

Describes Application Server support for containers. 

Chapter 8, Configuring Security

Describes how to configure Application Server security 

Chapter 9, Configuring Message Security

Describes message security for the Application Server. 

Chapter 10, Transactions

Provides information on how to configure transactions in the Application Server. 

Chapter 11, Configuring the HTTP Service

Describes how to deploy web applications and make deployed web applications accessible by HTTP clients. 

Chapter 12, Managing Web Services

Describes web services management with Application Server.  

Chapter 13, Configuring the Object Request Broker

Describes how to configure the Object Request Broker (ORB) and IIOP listeners.  

Chapter 14, Thread Pools

Describes how to create, edit, and delete thread pools in Application Server. 

Chapter 15, Configuring Logging

Describes how to use the Admin Console to configure logging and view the server log.  

Chapter 16, Monitoring Components and Services

Contains information about monitoring components using the Application Server Admin Console 

Chapter 17, Configuring Management Rules

Contains information about setting administration policies to automate routine administration tasks, configure self-tuning of the application server for diverse runtime condition and improve availability by preventing failures. 

Chapter 18, Configuring the Diagnostic Service

Explains the diagnostic framework and describes how to generate reports.  

Chapter 19, Java Virtual Machine and Advanced Settings

Explains how to configure JVM settings.  

Chapter 20, Automatically Restarting a Domain

Describes automatic restart on various platforms including Windows and Linux.  

Chapter 21, Dotted Name Attributes for domain.xml

Describes the dotted name attributes that can be used to address the MBean and its attributes. 

Chapter 22, The asadmin Utility

Describes the command-line administration utility known as asadmin.

Application Server Documentation Set

The Application Server documentation set describes deployment planning and system installation. The Uniform Resource Locator (URL) for stand-alone Application Server documentation is http://docs.sun.com/app/docs/coll/1343.3. For an introduction to Application Server, refer to the books in the order in which they are listed in the following table.

Table P–2 Books in the Application Server Documentation Set

Book Title 

Description 

Documentation Center

Application Server documentation topics organized by task and subject. 

Release Notes

Late-breaking information about the software and the documentation. Includes a comprehensive, table-based summary of the supported hardware, operating system, JavaTM Development Kit (JDKTM), and database drivers.

Quick Start Guide

How to get started with the Application Server product. 

Installation Guide

Installing the software and its components. 

Application Deployment Guide

Deployment of applications and application components to the Application Server. Includes information about deployment descriptors. 

Developer’s Guide

Creating and implementing Java Platform, Enterprise Edition (Java EE platform) applications intended to run on the Application Server that follow the open Java standards model for Java EE components and APIs. Includes information about developer tools, security, debugging, and creating lifecycle modules. 

Java EE 5 Tutorial

Using Java EE 5 platform technologies and APIs to develop Java EE applications. 

Administration Guide

Configuring, managing, and deploying Application Server subsystems and components from the Admin Console. 

Administration Reference

Editing the Application Server configuration file, domain.xml.

Upgrade and Migration Guide

Migrating your applications to the new Application Server programming model, specifically from Application Server 6.x, and 7.x, and 8.x. This guide also describes differences between adjacent product releases and configuration options that can result in incompatibility with the product specifications. 

Troubleshooting Guide

Solving Application Server problems. 

Error Message Reference

Solving Application Server error messages. 

Reference Manual

Utility commands available with the Application Server; written in man page style. Includes the asadmin command line interface.

Related Books

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

You can find a directory of URLs for the official specifications at install-dir/docs/index.htm. Additionally, the following resources might be useful.

General Java EE Online Information:

The Java EE 5 Tutorial

The Java EE Blueprints

General Java EE Books:

Core J2EE Patterns: Best Practices and Design Strategies by Deepak Alur, John Crupi, & Dan Malks, Prentice Hall Publishing

Java Security, by Scott Oaks, O’Reilly Publishing

Books on Programming with servlets and JavaServer PagesTM (JSPTM) files:

Java Servlet Programming, by Jason Hunter, O’Reilly Publishing

Java Threads, 2nd Edition, by Scott Oaks & Henry Wong, O’Reilly Publishing

Books on Programming with EJB components:

Enterprise JavaBeans, by Richard Monson-Haefel, O’Reilly Publishing

Books on Programming with JDBC:

Database Programming with JDBC and Java, by George Reese, O’Reilly Publishing

JDBC Database Access With Java: A Tutorial and Annotated Reference (Java Series), by Graham Hamilton, Rick Cattell, & Maydene Fisher

JavadocTM Tool:

A Javadoc tool reference for packages provided with the Application Server is located in install-dir/docs/api.

Default Paths and File Names

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

Table P–3 Default Paths and File Names

Placeholder 

Description 

Default Value 

install-dir

Represents the base installation directory for Application Server. 

SolarisTM and Linux operating system installations, non-root user:

user’s-home-directory/SUNWappserver

Solaris and Linux installations, root user: 

/opt/SUNWappserver

Windows, all installations: 

SystemDrive:\Sun\AppServer

domain-root-dir

Represents the directory containing all domains. 

install-dir/domains/

domain-dir

Represents the directory for a domain. 

In configuration files, you might see domain-dir represented as follows:

${com.sun.aas.instanceRoot}

domain-root-dir/domain-dir

Typographic Conventions

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

Table P–4 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–5 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 docs.sun.comSM web site (http://docs.sun.com) 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:

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