The following sections contain information on other migration-related changes when moving from Web Server 6.1 to Web Server 7.0. These changes are made automatically during migration.
After migration from 6.1, Web Server 7.0 will not return Content-type:text/html when there is no message body, for instance, a redirection location header. Since response doesn't contain the message body, there's no reason to specify a Content-Type header hence this is a conscious change made in 7.0 as compared to 6.1. For customers who still depend on Content-type can make the following configuration changes in 7.0.
To add back the content-type in output stage
Add the following content into Web Server 7.0 obj.conf
Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common" Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" Service method="TRACE" fn="service-trace" <If $uri =~ ".jsp$"> Output fn="set-variable" insert-srvhdrs="Content-type: text/html" </If> Error fn="error-j2ee" AddLog fn="flex-log" </Object> |
When content-type is 302
<If $code = "302" > Output fn="set-variable" insert-srvhdrs="content-type:text/html" </If> |
When content-length is zero
<If $srvhdrs{'content-length'} = "0"> Output fn="set-variable" insert-srvhdrs="content-type:text/html" </If> |
As described in New Administration Framework, Web Server 7.0 makes it easier to manage Web Server configurations across hardware nodes in a server farm. This administration framework provides necessary services to graphical and command-line clients to manage server configurations, and to replicate configurations across nodes within data centers or server farms.
Do not edit any files under config-store directory. The files under this directory are created by Web Server for internal use.
Metadata for the configurations managed by the administration infrastructure is stored within a directory called config-store, under the root directory of the Administration Server instance. When a server is migrated, data is transferred and a configuration is created under config-store. Configuration files, applications, and other elements that are part of a configuration are stored in config-store, as are search collections if a different search collection index directory is not specified during migration (for more information, see Search). Web Server 7.0 instances are created from these configurations.
For more information about the config-store directory structure and about configuration files, see the Web Server 7.0 Administrator's Configuration File Reference. For more information about managing Web Server configurations in data centers and server farms, see the Oracle iPlanet Web Server 7.0.9 Administrator’s Guide.
The following table lists changes related to Java Naming and Directory Interface (JNDI) and JDBC.
Table 5–2 Changes Related to JNDI and JDBC
There are no changes to this functionality from Web Server 6.1 to Web Server 7.0. For more information on legacy servlets, see Migrating Legacy Servlets in Oracle iPlanet Web Server 7.0.9 Developer’s Guide to Java Web Applications
Log files are not migrated.
When migrating search, necessary server.xml changes are made and the collections directory from the Web Server 6.1 server instance is moved to the search collection index directory specified during migration. If the directory is not specified, the search collection will not be migrated.
Also note the following considerations:
The document root for search collections is not migrated and must be changed manually.
Web Server 6.1 search collections are migrated, but Web Server 6.0 collections are not migrated.
The following table lists other changes related to search.
Table 5–3 Changes Related to Search
The following table lists changes related to security.
Table 5–4 Changes Related to Security
Changes in Web Server 7.0 |
Description |
---|---|
SECURITY element moved and renamed security (all lower case) |
In Web Server 6.1, the SECURITY element was under the JAVA element in server.xml. In Web Server 7.0, the JAVA element has been split into two elements: jvm and servlet-container. In Web Server 7.0, the security element is under the servlet-container element and is called security (all lower case) instead of SECURITY. The necessary changes are made in the new server_instance/config/server.xml. |
The following table list changes related to servlet container.
Table 5–5 Changes Related to Servlet Container
Changes in Web Server 7.0 |
Description |
---|---|
Decode Cookies |
In Web Server 6.1, + in cookie values were not decoded. However, in Web Server 7.0 the plus + is decoded to spaces. The default value is false. |
There are no changes to this functionality from Web Server 6.1 to Web Server 7.0.
User libraries are not migrated. A warning message is recorded in the migration log file.
The following table lists changes related to web applications.
Table 5–6 Changes Related to Web Applications
Changes in Web Server 7.0 |
Description |
---|---|
WEBAPP element changed in server.xml |
The WEBAPP element is now called web-app and has been moved under the virtual-server element. The changes are made in the new install-dir/admin-server/config-store/config_name/config/server.xml. Changes are also be made in the sun-web.xml and web.xml files for the web applications. If the web application was located inside the old install-dir, it is physically migrated and changes are made in sun-web.xml and web.xml files of the web applications else, the web applications path element in the migrated server.xml is modified to point to the old web application directory. No changes will be made to sun-web.xml and web.xml. A warning message is recorded in the migration log file to manually edit these XML files.
|
The following table lists changes related to WebDAV.
Table 5–7 Changes Related to WebDAV