Sun Java System Web Server 6.1 provides the following features and enhancements:
Sun Java System Web Server 6.1 includes a Java 2 Platform, Enterprise Edition (J2EETM) compliant implementation of the Java Servlet 2.3 and JavaServer PagesTM (JSPTM) 1.2 technology specifications. A J2EE compliant web container provides the flexibility and reliability needed to design and deploy web applications that comply with Java technology standards. Web applications can be deployed on a per virtual server basis.
For information about these technologies, see the following resources:
Java Servlets at http://java.sun.com/products/servlet/index.html
JavaServer Pages at http://java.sun.com/products/jsp/index.html
For information about developing Servlets and JavaServer Pages, see Sun Java System Web Server 6.1 SP10 Programmer’s Guide to Web Applications.
The Java 2 Platform Standard Edition (J2SETM) 1.5 is packaged with Sun Java System Web Server 6.1 SP10. The J2SE 1.4 has reached its End of Service Life (EOSL) and is hence deprecated. Therefore, when you upgrade or install your Web Server 6.1 SP10, the Java Development Kit JDKTM gets upgraded or installed automatically for the Solaris, Linux, and Windows platforms. For the HP-UX and AIX platforms, download the JDK from the respective platform vendors' web sites before installing the web server.
The 64-bit Solaris SPARC release of Sun Java System Web Server requires a 64-bit JDK. On all other platforms, a 32-bit JDK is required.
The web server has been certified with the following JDK versions:
Solaris (SPARC, x86, and AMD64): 1.5.0_16
AIX: 1.5.0 pap32dev-20080315 (SR7)
Sun Java System Web Server 6.1 supports Java 2 Platform, Standard Edition (J2SE) 1.6, and has been certified with the following JDK versions:
Solaris (SPARC, x86, and AMD64): 1.6.0_07
AIX: 1.6.0 pap3260sr1–20080416_01(SR1)
Sun Java System Web Server 6.1 supports the Web-based Distributed Authoring and Versioning (WebDAV) protocol. WebDAV enables collaborative web publishing and has the following features:
Compliance with RFC 2518 and interoperability with RFC 2518 clients
Security and access control for web publishing
Basic publishing operations on file-system-based WebDAV collections and resources
WebDAV provides integrated support for content metadata, namespace management, and overwrite protection. These technologies combined with the many authoring tools that support WebDAV provide an ideal development platform for collaborative environments.
Sun Java System Web Server 6.1 extends the NetscapeTM Server Application Programmer's Interface (NSAPI) to support NSAPI filters.
NSAPI filters enable the custom processing of HTTP request and response streams. This processing enabled a function to intercept and potentially modify the content presented to or generated by another function. For example, a plug-in could install a NSAPI filter to intercept a XML page generated by another plug-in's Server Application Function (SAF) and then transform that XML page into a HTML, XHTML, or WAP page appropriate for the client. Alternatively, a NSAPI filter could decompress data received from a client before presenting it to another plug-in.
For more information about NSAPI filters, see Sun Java System Web Server 6.1 SP10 NSAPI Programmer’s Guide.
Sun Java System Web Server 6.1 supports content compression. This compression enables you to increase the delivery speed to clients and serve higher content volumes without incurring a corresponding increase in hardware expenses. Content compression reduces content download time, a benefit most apparent to users of dial-up and high-traffic connections.
For more information, see Sun Java System Web Server 6.1 SP10 Administrator’s Guide.
This section discusses on how to disable the PUT and DELETE options.
Access the Administration Console
Select a server from the list of servers and click the Manage button.
Click the Restrict Access link under the Preferences tab
Select the Edit option from the drop-down list and click the OK button
Select The entire server option from the method A table and click the Edit Access Control button
Click the access rights (r-x--i) link under the Rights column
Access Rights table appears at the bottom of the screen.
Deselect the WRITE and DELETE options
Click the Update button
Click the Submit button
Click the Apply link present at the top right of the screen and click the Apply Changes button to make the changes permanent
Restart the server for changes to take effect
Sun Java System Web Server 6.1 supports a Java search engine that provides full-text search indexing and retrieval. The search feature enables you to search documents on the server and display results on a web page. Server administrators can create the indexes of documents and customize the search interface to meet user specific needs.
The default URL to access the search functionality is http://server-instance:port number/search
When the user goes to this URL, the Search page, a Java web application, is launched.
For detailed information about basic and advanced search feature, see the Online Help provided with the search engine. To access Online Help, click the Help link on the Search page. For more information, see Sun Java System Web Server 6.1 SP10 Administrator’s Guide.
Sun Java System Web Server 6.1 enables you to restrict access using flat file authentication through the Java Security Manager. Enabling the Security Manager feature can improve security by restricting the rights granted to your J2EE web applications. By default, the Security Manager feature is disabled when you install the product. To enable Security Manager, uncomment the following entries in the server.xml file:
where instance-dir is the path to the installation directory of this server instance.
For more information about server.xml, see Sun Java System Web Server 6.1 SP10 Administrator’s Configuration File Reference.
Sun Java System Web Server 6.1 supports the Java Naming and Directory InterfaceTM (JNDI) API. JNDI provides seamless connectivity to heterogeneous enterprise naming and directory services.
Sun Java System Web Server 6.1 includes the Java DataBase Connectivity (JDBCTM) software, and supports a wide range of industry-standard and customized JDBC drivers.
Sun Java System Web Server 6.1 supports Sun Java Studio Enterprise 8. Sun Java Studio technology is Sun's powerful and extensible integrated development environment (IDE) for Java technology developers. Sun Java Studio is based on the NetBeansTM software and is integrated with the Sun Java platform.
Sun Java Studio support is available on all platforms supported by Sun Java System Web Server 6.1. The plug-in for the web server can be obtained in the following ways:
From the companion CD in the Sun Java System Web Server Media Kit
By using the companion AutoUpdate feature of Sun Java Studio
From the download center for Sun Java System Web Server
Sun Java Studio 8 plug-in for Sun Java System Web Server 6.1 SP10 works only with a local web server, that is, the IDE and the web server must be installed on the same machine.
For information about using the web application features in Sun Java Studio 8, see http://developers.sun.com/prodtech/javatools/jsenterprise/learning/tutorials/index.html. Set the Sun Java System Web Server 6.1 SP10 instance as default, and follow the steps described in the tutorial.
Also, see the NetBeans tutorial at http://www.netbeans.org/kb/
For more information about Sun Java Studio 8, see http://www.sun.com/software/sundev/jde/.
For additional developer resources, see Additional Sun Resources.
Sun Java Studio Enterprise 8 can be used for remote debugging if you want to manually attach the IDE to a remote web server started in debug mode.
Restart the server instance in the debug mode by using the Sun Java System Web Server Administration interface (Server Manager->JVM General->Debug Enabled).
Note the JPDA port number.
Start the IDE.
Select the dt_socket method.
Type the remote machine name and JPDA port number.
Any breakpoint created in the IDE on Servlet source code of a deployed application becomes active.
Sun Java System Web Server 6.1 SP10 supports the Active Server Pages (ASP) specification through Sun Java System Active Server Pages version 4.0.1 (formerly Sun ChiliSoft ASP), version 4.0.2, and version 4.0.3. Active Server Pages software adds a secure and enterprise-grade ASP engine to the Sun Java System Web Server. Sun Java System Web Server 6.1 supports Sun Java System Active Server Pages 4.0.2 and 4.0.3 on the following platforms:
SolarisTM (SPARC®) versions 8, 9, and 10
Solaris (x86) 9, 10
Windows 2000 Professional Edition, Server, Advanced Server, XP and 2003 Enterprise Edition
AIX 5.2, 5.3
RedHat Enterprise Linux 3.0, 4.0
A license is not required for Sun Java System Active Server Pages if you are installing it to the Sun Java System Web Server. The Sun Java System Active Server Pages installer is available on the companion CD if you purchase the Sun Java System Web Server Media Kit, or you can download it from http://www.sun.com/software/chilisoft/index.html.
Note the following:
The Sun Java System Active Server Pages plug-in requires an additional 50 Mbytes (approximately) of disk space after Sun Java System Web Server 6.1 is installed.
Before you begin installation, make sure you are logged in as root.
PHP: Hypertext Preprocessor (PHP) can be used with the Sun Java System Web Server using one of the three supported APIs; CGI, NSAPI, and FastCGI. PHP is a page scripting language available from the PHP group. The PHP group provides instructions on its Web site (http://www.php.net) for configuring the PHP software to use any of these APIs:
CGI API is the most stable interface that can be used but will suffer from performance limitations inherent in CGI.
NSAPI uses the Sun Java System Web Server's native API to run the PHP software within the web server's memory. This configuration will provide the best performance, but risks crashing the server if non thread safe PHP modules are used.
FastCGI interface provides a compromise between performance and stability. FastCGI enables the PHP software to remain running after serving requests while continuing to run outside of the web server's memory. If an unstable PHP module is used, it will not crash the web server. For this reason use the FastCGI interface with the PHP software.
The FastCGI interface is supported with web server through the installation of the FastCGI add-on available at http://www.sun.com/download/products.xml?id=42d693c3.
When run as a FastCGI process, the PHP software uses the following environment variables to control the life cycle of PHP processes:
PHP_FCGI_CHILDREN determines the number of PHP processes that will be created to respond to requests.
PHP_FCGI_MAX_REQUESTS determines the number of requests a PHP process can respond to before terminating itself and being replaced with a new PHP process.
Instead of using PHP_FCGI_CHILDREN, use the FastCGI add-on configuration parameter min-procs to control the minimum number of PHP processes.
Sun Java System Web Server 6.1 supports NSS. The version of NSS included in this version of web server is 220.127.116.11 (for both 32–bit and 64-bit). NSS is a set of libraries that support cross-platform development of security-enabled server applications. Sun Java System Web Server 6.1 SP10 also includes NSPR 4.7.
JES shared component patches and NSS patches should be installed first, before installing web server patch.
While upgrading JES version of web server, for example, from 6.1 SP5 to SP10, installing only SP10 patch of web server is sufficient, as web server patches are cumulative.
If you are upgrading from a previous package-based version of Java Enterprise System (Java ES) to Sun Java System Web Server 6.1 SP10, install the following NSS patches:
Solaris 8 SPARC: 119209-17 http://sunsolve.sun.com/search/document.do?assetkey=1-21-119209-17-1 or higher
Solaris 9 SPARC: 119211-17 http://sunsolve.sun.com/search/document.do?assetkey=1-21-119211-17-1 or higher
Solaris 9 x86: 119212-17 http://sunsolve.sun.com/search/document.do?assetkey=1-21-119212-17-1 or higher
Solaris 10 SPARC: 119213-17 http://sunsolve.sun.com/search/document.do?assetkey=1-21-119213-17-1 or higher
Solaris 10 x86: 119214-17 http://sunsolve.sun.com/search/document.do?assetkey=1-21-119214-17-1 or higher
Linux: 121656-17 http://sunsolve.sun.com/search/document.do?assetkey=1-21-121656-17-1 or higher
HP-UX pa-risc: 124379-08 http://sunsolve.sun.com/search/document.do?assetkey=1-21-124379-08-1 or higher
Windows: 125923-06 http://sunsolve.sun.com/search/document.do?assetkey=1-21-125923-06-1 or higher
NSS patch 125358-xx for Solaris Sparc 8/9/10 should not be applied in this case as, this patch is not applicable for Java Enterprise System (Java ES) which bundles Sun Java System Web Server 6.1 Service Packs.
Sun Java System Web Server 6.1 provides hardware accelerator support for SunTM Crypto Accelerator 500, 1000, 4000 and 6000 boards, which enhance the performance of SSL on web server.
Initialize the Sun Crypto Accelerator card when using with web server. For more information about Sun Crypto Accelerator, see Sun Crypto Accelerator 6000 Board Version 1.1 User's Guide at http://docs.sun.com/source/820-4144-11/1_overview.html.
To complement the existing support to 32-bit Solaris SPARC, Sun Java System Web Server 6.1 SP10 also supports 64-bit Solaris SPARC.
The 64-bit release may be of use in certain memory-intensive deployments as it enables administrators to configure a larger file cache and Java heap than the 32-bit release. However, existing plug-ins are not compatible with the 64-bit release. These plug-ins have to be recompiled for the 64-bit release by the plug-in vendor. Java web applications that use native, and non-Java libraries should also be recompiled. Therefore, you might prefer to deploy the 32-bit release of Sun Java System Web Server.
Sun Java System Web Server 6.1 SP10 also provides 64-bit support for FastCGI, Reverse Proxy, and Java Web Services Developer Pack (JWSDP) plug-ins.
The 64-bit release is compatible with 64-bit Solaris kernels on UltraSPARC® processors. The 64-bit release cannot be used on x86 processors or with32-bit Solaris kernels. The 32-bit release continues to be compatible with both 32-bit and 64-bit Solaris kernels.
The 64-bit and 32-bit releases of Sun Java System Web Server are packaged and distributed separately. You cannot upgrade an existing 32-bit Sun Java System Web Server installation to a 64-bit installation. You can distinguish the 32-bit and 64-bit releases by the version string that is displayed in the installer, at server startup, and in the server errors log as follows:
Sun ONE Web Server 6.1SP10
Sun ONE Web Server 6.1SP10 (64-Bit)
For web server's SSL subsystem (NSS) to use external PKCS#11 tokens, you have to configure NSS with the modutil command to make it aware of the tokens. The Solaris libpkcs11 softtoken is a PKCS#11 compliant token which can be used with NSS. As an additional benefit on UltraSPARC-T1, systems using the Solaris 10 libpkcs11 task will make use of the platform crypto acceleration support.
Run the modutil command without any arguments for usage information. For example, to add the Solaris 10 libpkcs11 task as a PKCS11 token in NSS.
Ensure that SSL support has been initialized for the web server instances.
Run the following command:
% modutil -dbdir $ALIASDIR -dbprefix $PREFIX -add libpkcs -libfile /usr/lib/libpkcs11.so -mechanisms RSA
$ALIASDIR is the path to the alias directory in the install root where the NSS database files are located.
$PREFIX is the prefix used by the key3 and cer8 database files in the alias directory and is of the form https-$INSTANCENAME-.
The -mechanisms flag makes this token the preferred initial provider for the given algorithms.
Run the modutil command without any arguments for a list of all possible mechanisms.
Initialize the libpkcs11 provider's password with pktool.
% pktool setpin
For further details on configuring NSS, see the libpkcs11(3LIB), pkcs11_softtoken(5), and pktool(1) man pages. For more information about modutil, see http://www.mozilla.org/projects/security/pki/nss/tools/modutil.html.
If you are using a localized version of Sun Java System Web Server 6.1x, you can take advantage of the existing localization features by installing Sun Java System Web Server 6.1 SP10 over the existing server. Sun Java System Web Server 6.1 SP10 is available in Japanese, Simplified and Traditional Chinese, French, Spanish, German, and Korean.