Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (667 KB)
Chapter 2 About Application Server Platform Edition 8.2The Sun JavaTM System Application Server Platform Edition 8.2 is a J2EE 1.4 platform-compatible server for the development and deployment of J2EE applications and Java technology-based web services. This chapter includes: What’s New in the 8.2 ReleaseThe Sun Java System Application Server Platform Edition 8.2 implements many new features:
The Sun Java System Application Server Platform Edition is free for development, deployment and redistribution. Customers interested in redistribution should contact Sun OEM sales for a redistribution license. Sun provides support at additional cost. If you would like to be contacted about licensing the Java 2 Platform, Enterprise Edition, fill out this form. 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 product. Table 2–1 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. Note – You must use the NTFS file system rather than FAT or FAT32 when running the Application Server on any Microsoft Windows platform. 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. 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. This 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. 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 2–2 J2EE-Compatible JDBC Drivers
Using the Bundled Derby DatabaseThis section provides instructions for using the Derby database implementation bundled with Application Server 8.2. Starting and Stopping the Derby DatabaseSun Java System Application Server 8.2 introduces two new asadmin commands for starting and stopping the Derby Network Server.
Derby Utility ScriptsThe Derby configuration that ships with Application Server 8.2 also includes several useful scripts which can help you use Derby. The following scripts are available for use in the <appserver_install_dir>/derby/frameworks/NetworkServer/bin directory:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Browser |
Version |
|---|---|
|
Mozilla |
1.4, 1.5, 1.6, 1.7.x |
|
Netscape Navigator |
6.2, 7.0 |
|
Internet Explorer |
5.5 Service Pack 2, 6.0 |
|
Firefox |
1.x |
Refer to the Sun Java System Application Server Platform Edition 8.2 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.
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 200 MB 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 4848 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.
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.
An EJBQL query may not contain all matching results if the where clause contains an OR operator and a single-valued cmr navigation.
Broken panels in the New Web Service Wizard.
The - asadmin create-domain --help command produces incorrect usage and an invalid option is documented (--admin.jmxport).
Specifying target message by java-method does not work in client-side message-security-binding elements.
Using the AMX API, removing a J2EE application reference from a server removes the application, but the application is still accessible.
AS 8.2 PE/EE: Use the PlatformMBeanServer if available.
DOCS:java.sql.statement.getConnection() does not meet javadoc specification for pooling connections.
Port 8080 is not released by domain even after stopping and deleting.
Cannot save transaction support value when JMS connection factory was created for the first time.
For Application Server 8.1 UR2 PE, asant cannot be run on Windows 2000 at all; command too long error is returned.
Rich client RMI-IIOP failover testing fails.
Bundle Grizzly ARA supports in 8.2.
Application Server 8.1 Virtual Server access log location not updating.
Generic RA for JMS need to be integrated with AS 8.2.
Disk I/O for XA transaction logs too high.
Make Application Server 8.x native launcher Bourne shell-friendly by disassociating from controlling TTY.
S1AS 7.0/SJAS7.1 : EJBC/RMIC generates STUB/Skel with NOT fully Qualified Package Name.
Server has to reject requests with double Content-Length header
asadmin create-domain --help produces some CVS merge characters and is garbled.
setAutoCommit to false gets propagated when the same connection is used by the next user.
Undeploy: Error unregistering mbean.
Servlet container UTF-8 URI mapping issue.
Deploytool does not work with spaces in the install path
Deploy command fails on file based non-root installation.
Deployment hangs in Windows.
Deployed applications cannot be accessed after upgrade.
Deployment performance improvement needed.
Redeploy sometimes fails with Error while running ejbc -- Fatal Error from EJB Compiler.
Undeployment does not release all files.
Redeployment of WAR file (remote deployment for Creator) fails.
AS8102 memory leaks on deploy/undeploy scenario (SubCR from 6324399 EJBClassLoader.
The Sun Java System Application Server 8.2 supports the J2EE 1.4 and Java EE 5 platforms. The following table describes the enhanced APIs available on the J2EE 1.4 platform.
Table 2–4 Major API changes on the J2EE 1.4 Platform|
API |
Description |
|---|---|
|
Components |
|
|
Application and Application Client |
Implementation of standard deployment descriptors by means of XML schemas |
|
Enterprise JavaBeans (EJB) 2.1 |
Timer service and EJB Web-service endpoint |
|
Java Servlet 2.4 |
Web-service endpoint filter |
|
JavaServer Pages (JSP) 2.0 architecture |
Expression language and tag library |
|
J2EE Connector Architecture 1.5 |
Inbound resource adaptor and Java Message Service (JMS) pluggability |
|
Web Services |
|
|
Java Web Services Developer Pack 1.5 |
Integrated toolkit for building, testing and deploying XML applications, Web services, and Web applications |
|
Java API for XML-based Remote Procedure Calls (JAX-RPC) 1.1 |
Mapping for WSDL and Java technology and support for development of Web-service clients and endpoints |
|
WS-I Basic Profile 1.0 |
The enabling element for interoperability using WSDL and SOAP |
|
SOAP with attachment API for Java (SAAJ) 1.2 |
An API for SOAP-based messaging; fosters the creation of SOAP messages with attachments |
|
Java APIs for XML Registries (JAXR) 1.0 |
A uniform and standard API for accessing XML registries, such as those for Universal Description Discovery and Integration (UDDI and ebXML) |
|
Other |
|
|
J2EE Deployment 1.1 |
Standard APIs that enable deployments of J2EE components and applications |
|
J2EE Management 1.0 |
Definitions for the information model for managing the J2EE platform |
|
Java Management Extensions (JMX) 1.2 |
Standard management API |
|
Java Authorization Contract for Containers (JACC) 1.0 |
Definitions of security contracts between a J2EE Application Server and the authorization policy provider |
|
Java API for XML Processing (JAXP) 1.2 |
An API with which applications can parse and transform XML documents; also adds support for processing of XML schemas |
|
JMS 1.1 |
A messaging standard that enables J2EE application components to create, send, receive, and read messages; also adds support for uniform APIs for queues and topics |
|
JavaMail 1.3 |
A set of abstract classes that model a mail system; also includes minor updates to the APIs |
Sun Java System Application Server 8.2 supports both J2SE 1.4.2 and J2SE 5.0 as the underlying JVM. If you want to switch from one J2SE version to another, perform the following general steps. (Windows and Unix)
Download the J2SE SDK (not the JRE) and install it on your system, if you have not already done so.
The J2SE SDK can be downloaded from http://java.sun.com/j2se.
Completely stop the Application Server.
You can use the following command line:
as-install/bin/asadmin stop-domain |
Alternatively, you can use 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 new J2SE home directory.
Edit the as-install/samples/common.properties file, changing the line beginning com.sun.aas.javaRoot... to reference the new J2SE 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 or later using just the steps above. Specifically, in addition to the above steps, you must delete any existing domains and recreate them.