Preface
The Sun Java System Application Server Platform Edition 9.0 2006Q2 Troubleshooting Guidedescribes common problems encountered
when using the Sun Java System Application Server Server 9.0 Enterprise Editionand Platform Edition,
and how to solve them.
Who Should Use This Book
The Sun Java System Application Server Platform Edition 9.0 2006Q2 Troubleshooting Guide is intended for developers and administrators
who use the Sun Java System Application Server to assemble and deploy distributed and Web-based
applications.
-
Java APIs as defined in the JavaJavaTM ServletTM, JavaServer PagesTM (JSPTM),
Enterprise JavaBeansTM (EJBTM), and JavaTM Database Connectivity (JDBCTM) specifications
-
The SQL structured database query languages
-
Relational database concepts
Before You Read This Book
[ If the reader must be familiar with other books before reading this book,
list those books here. This section is not intended for recommended reading.
You include that information later in the section titled “Related Books.”
]
[ If the reader must know how to do something or must have completed some task
before using this book, provide that information here. ]
Application Server can be purchased by itself or as a component of Sun JavaTM Enterprise System (Java ES),
a software infrastructure that supports enterprise applications distributed across
a network or Internet environment. If you purchased Application Server as a component of Java ES,
you should be familiar with the system documentation at http://docs.sun.com/coll/1286.1.
How This Book Is Organized
This book describes workarounds for some problems you may encounter when configuring,
using, or deploying applications with the Sun Java System Application Server 9.0 Enterprise Edition or Platform Edition software.
The following table summarizes the content of this book.
Application Server Documentation Set
The Application Server documentation set describes deployment planning and system
installation. The URL for Application Server documentation is http://docs.sun.com/coll/unknown. For
an introduction to Application Server, refer to the books in the order in which they are
listed in the following table.
Table P–1 Books in the Application Server Documentation
Set
|
Book Title
|
Description
|
|
Release Notes
|
Late-breaking information about the software and the documentation. Includes
a comprehensive, table-based summary of the supported hardware, operating system,
JDK, and JDBC/RDBMS.
|
|
Quick Start Guide
|
How to get started with the Application Server product.
|
|
Installation Guide
|
Installing the software and its components.
|
|
Deployment Planning Guide
|
Evaluating your system needs and enterprise to ensure that you deploy the Application Server in
a manner that best suits your site. General issues and concerns that you must be aware
of when deploying the server are also discussed.
|
|
Developer’s Guide
|
Creating and implementing JavaTM 2 Platform, Enterprise
Edition (J2EETM platform) applications intended to run on the Application Server that
follow the open Java standards model for J2EE components and APIs. Includes general
information about developer tools, security, assembly, deployment, debugging, and
creating lifecycle modules.
|
|
J2EE 1.4 Tutorial
|
Using J2EE 1.4 platform technologies and APIs to develop J2EE applications.
|
|
Administration Guide
|
Configuring, managing, and deploying Application Server subsystems and components
from the Administration Console.
|
|
High Availability Administration Guide
|
Post-installation configuration and administration instructions for the high-availability
database.
|
|
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. This guide also describes differences between adjacent
product releases and configuration options that can result in incompatibility with
the product specifications.
|
|
Performance Tuning Guide
|
Tuning the Application Server to improve performance.
|
|
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
For other Sun Java System server documentation, go to the following:
The URL for all documentation about Java ES and its components is http://docs.sun.com/prod/entsys.05q4.
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 Application Server.
|
Sun Java Enterprise System installations on the SolarisTM platform:
/opt/SUNWappserver/appserver
Sun Java Enterprise System installations on the Linux platform:
/opt/sun/appserver/
Other Solaris and Linux installations, non-root user:
user’s home directory/SUNWappserver
Other Solaris and Linux installations, root user:
/opt/SUNWappserver
Windows, all installations:
SystemDrive:\Sun\AppServer
|
|
domain-root-dir
|
Represents the directory containing all domains.
|
Sun Java Enterprise System installations on the Solaris platform:
/var/opt/SUNWappserver/domains/
Sun Java Enterprise System installations on the Linux platform:
/var/opt/sun/appserver/domains/
All other installations:
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
|
|
instance-dir
|
Represents the directory for a server instance.
|
domain-dir/instance-dir
|
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 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:
-
Downloads of Sun products
-
Services and solutions
-
Support (including patches and updates)
-
Training
-
Research
-
Communities (for example, Sun Developer Network)
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-3664.