以 PDF 格式下載這本書 (424 KB)
About Application Server Platform Edition 8.2 2006Q1The Sun Java System Application Server Platform Edition 8.2 2006Q1 is a J2EE 1.4 platform-compatible server for the development and deployment of J2EE applications and Java technology-based web services. This section includes: What’s New in the 8.2 ReleaseThe Sun Java System Application Server Platform Edition 8.2 2006Q1 implements many new features:
Bugs Fixed in the 8.2 Release
J2EE SupportThe Sun Java System Application Server 8.2 2006Q1 supports the J2EE 1.4 platform. The following table describes the enhanced APIs available on the J2EE 1.4 platform. Table 1–2 Major API changes on the J2EE 1.4 Platform
Hardware and Software RequirementsThis section lists the requirements that must be met before installing the Sun Java System Application Server Platform Edition 8.2 product. Platform RequirementsThe following table lists the operating systems that are supported for Sun Java System Application Server Platform Edition 8.2 2006Q1 product. Table 1–3 Supported Operating Systems
On UNIXTM, you can check your operating system version using the uname command. Disk space can be checked using the df command. Solaris Patch RequirementsIt is recommended that Solaris 8, 9, 10 (x86, SPARC) users have the “Sun recommended patch cluster” installed. This patch cluster is available under “Recommended and Security Patches” on the SunSolve web site. RedHat Enterprise Linux 3.0 Additional Package RequirementsTo run native components of this product, including installer, the following package, which is not part of the standard RedHat Enterprise Linux 3.0 distribution, should be installed: compat-libstdc++-7.3-2.96.118.i386.rpm The package can be downloaded from http://rpm.pbone.net/index.php3/stat/4/idpl/843376/com/compat-libstdc++-7.3-2.96.118.i386.rpm.html System Virtualization SupportSystem virtualization is a technology that enables multiple operating system (OS) instances to execute independently on shared hardware. Functionally, software deployed to an OS hosted in a virtualized environment is generally unaware that the underlying platform has been virtualized. Sun performs testing of its Sun Java System products on select system virtualization and OS combinations to help validate that the Sun Java System products continue to function on properly sized and configured virtualized environments as they do on non-virtualized systems. For information about Sun support for Sun Java System products in virtualized environments, see System Virtualization Support in Sun Java System Products. Important Patch InformationFor the current list of required patches for Sun Java System Application Server Platform Edition 8.2 go to http://sunsolve.sun.com and select either “Patches” or “Patch Portal.” Follow the Sun Java System Application Server Platform Edition 8.2 links. As operating system patch requirements change and patches to Java Enterprise System components become available, updates will be made available on SunSolve, initially in the form of recommended patch clusters. JDBC Drivers and DatabasesThe Sun Java System Application Server Platform Edition is designed to support connectivity to any DBMS with a corresponding JDBC driver. For a list of components that Sun has tested and found to be acceptable for constructing J2EE-compatible database configurations, please refer to the following table: Table 1–4 J2EE-Compatible JDBC Drivers
For more information about i-net Software, see http://www.inetsoftware.de/. For more information about DataDirect Technologies, see http://www.datadirect.com/.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-Doracle.jdbc.J2EE13Compliant=true |
In addition, for Type-2 drivers, both the ORACLE_HOME and LD_LIBRARY_PATH variables (which must include $ORACLE_HOME/lib) need to be defined in the environment in which the Application Server is started. For example, add them to the asenv.conf file and ensure they are exported.
Many sample applications use the PointBase database server included with the Application Server. When using Application Server Enterprise Edition, you must configure the PointBase database server before using it. Before using PointBase with the Application Server, however, note the supported configuration combination.
Table 1–5 Supported J2SE/PointBase Combinations|
Application Server |
PointBase |
|---|---|
|
Supported |
|
|
J2SE 1.4 J2SE 5.0 |
J2SE 1.4 J2SE 1.4 |
|
Unsupported |
|
|
J2SE 5.0 |
J2SE 5.0 |
There are two ways to configure PointBase:
Set the JAVA_HOME environment variable to the location of the J2SE. The PointBase implementation bundled with Application Server 8.2 is only supported with J2SE 1.4.2.
Edit the Application Server\qs PointBase configuration file.
Using the first method:
Make sure you have the J2SE installed that you want to use.
Download J2SE 1.4.2 if you do not already have it.
Using the command appropriate for your operating system and shell, set the JAVA_HOME environment variable to the directory in which J2SE is installed; for example:
% setenv JAVA_HOME "/opt/SUNWappserver/jdk" |
To use the second method, the procedure depends on the operating system.
Edit the install_dir/pointbase/tools/serveroption/pbenv.conf configuration file, changing the line:
PB_JAVA=%%%PB_JAVA%%%
to
PB_JAVA=J2SE_location
where J2SE_location is the directory where the J2SE is installed. If you installed J2SE with Application Server, it is installed by default to install_dir/jdk. After making this change, you can start PointBase using the startserver script.
Edit the install_dir\\pointbase\\tools\\serveroption\\pbenv.bat configuration file, changing the line:
set PB_JAVA=%%%PB_JAVA%%%
to
set PB_JAVA=J2SE_location
where J2SE_location is the directory in which the J2SE is installed. If you installed J2SE with Application Server, it is installed by default to install_dir\\j2se1.4. After making this change, you can start PointBase by running startserver.bat.
This section lists the web servers that are supported for the Sun Java System Application Server Platform Edition 8.2 2006Q1.
Table 1–6 Supported Web Servers|
Web Server |
Version |
Operating System |
|---|---|---|
|
Sun Java System Web Server |
6.0 Service Pack 6+ |
Solaris SPARC 8 9, 10Solaris x86 9, 10Red Hat Enterprise Linux 2.1 Update 2, 3.0 Update 1 |
|
Apache Web Server |
1.3+, 1.4, 2.0 |
Solaris SPARC 9, 10 x86, Red Hat Enterprise Linux 2.1 Update 2, 3.0 Update 1 |
|
Microsoft IIS |
5.0+ |
Windows Server 2003Windows 2000 Advanced Server Service Pack 4+ |
Support for additional platforms, including Windows and HP-UX, will be available at a later date.
This section lists the browsers that are supported with the Sun Java System Application Server Platform Edition 8.2 2006Q1.
Table 1–7 Browsers Supported|
Browser |
Version |
|---|---|
|
Mozilla |
1.4, 1.5, 1.6, 1.7.x |
|
Netscape Navigator |
4.79, 6.2, 7.0 |
|
Internet Explorer |
5.5 Service Pack 2, 6.0 |
Refer to the Installation Guide for complete instructions for upgrading from a previous version of the Application Server to the Sun Java System Application Server Platform Edition 8.2 2006Q1.
The following additional requirements should be met before installing the Sun Java System Application Server software.
Free space– your temporary directory must have a minimum of 35MB free for Sun Java System Application Server installation, and 250 MB of free space for the SDK installation.
Using the uninstall program– If you need to remove the Application Server from your system, it is important to use the uninstall program that is included with the software. If you attempt to use another method, problems will arise when you try to reinstall the same version, or when you install a new version.
Free ports– You must have seven unused ports available.
The installation program automatically detects ports in use and suggests currently unused ports for the default settings. By default, the initial default ports are 8080 for HTTP, 8181 for HTTPS, and 4849 for the Administration Server.
The installation program will detect used ports and assign two others for you: Sun JavaTM System Message Queue (by default, 7676), and IIOP (by default, 3700 for IIOP and 3820 and 3890 for IIOP/SSL). If these default port numbers are in use, the installation program will assign a random port number from the dynamic port range (note that this may not be the next available port number).
Starting previously-installed servers (UNIX) – Unless you are replacing the previously installed server, you should start it before you begin the Sun Java System Application Server 8.2 installation process. This allows the installation program to detect ports that are in use and avoid assigning them for other uses.
Replacing previously-installed servers (UNIX) – If you have an older version on the Sun Java System Application Server installed that you wish to replace with the current Application Server, you should stop it before installing the new server. Use the installation program upgrade wizard to upgrade the server.
Shutting down firewall (Microsoft Windows) – You must stop any firewall software before installing the Sun Java System Application Server software, because some of this software disables all ports by default. The installation program must be able to accurately determine which ports are available.
For further compatibility information, see the Sun Java System Application Server Platform Edition 8.2 Upgrade and Migration Guide.
Sun Java System Application Server 8.2 2006Q1 supports J2SE 5.0 as the underlying JVM, however the bundled PointBase database does not. If you want to use J2SE 5.0 instead of the bundled J2SE 1.4.2 to run the Application Server, perform the following steps (Windows and Unix):
Download the J2SE 5.0 SDK (not the JRE) and install it on your system, if you have not already done so.
The J2SE 5.0 SDK can be downloaded from http://java.sun.com/j2se/1.5.0/.
Completely stop the Application Server.
You can use the following command line:
as-install/bin/asadmin stop-domain |
or the Administration Console GUI:
Edit the install_dir /config/asenv.conf file ( asenv.bat on Windows), changing the value for AS_JAVA to point to the J2SE 5.0 home directory:
Edit the as-install /samples/common.properties file, changing the line beginning com.sun.aas.javaRoot... to reference the J2SE 5.0 home directory.
Restart the Application Server.
as-install/bin/asadmin start-domain |
If you are upgrading from a JDK version earlier than the bundled version (JDK 1.4.2_06) then you cannot upgrade to J2SE 5.0 using just the steps above. Specifically, in addition to the above steps, you must delete any existing domains and recreate them.
In addition to these release notes, the Application Server Platform Edition 8.2 Update 2 product includes an entire set of documentation that can be found at http://docs.sun.com/app/docs/coll/1343.1.
The following table summarizes the books included in the Application Server Platform Edition 8.2 Update 2 documentation set.
Table 1–8 Books in This Documentation Set|
Book Title |
Description |
|---|---|
|
Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Quick Start Guide |
How to get started with the Sun Java System Application Server product. |
|
Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Installation Guide |
Installing the Sun Java System Application Server software and its components. |
|
Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer’s Guide |
Creating and implementing Java™ 2 Platform, Enterprise Edition (J2EE™ platform) applications intended to run on the Sun Java System 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. |
|
Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 J2EE Tutorial |
Using J2EE 1.4 platform technologies and APIs to develop J2EE applications and deploying the applications on the Sun Java System Application Server. |
|
Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide |
Configuring, managing, and deploying the Sun Java System Application Server subsystems and components from the Administration Console. |
|
Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Reference |
Editing the Sun Java System Application Server configuration file, domain.xml. |
|
Sun Java System Application Server Platform Edition 8.2 Upgrade and Migration Guide |
Migrating your applications to the new Sun Java System 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. |
|
Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Troubleshooting Guide |
Solving Sun Java System Application Server problems. |
|
Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Error Message Reference |
Solving Sun Java System Application Server error messages. |
|
Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Reference Manual |
Utility commands available with the Sun Java System Application Server; written in manpage style. Includes the asadmin command line interface. |