
Access and Error Logs
The access and error server log les records the activity of the Server. During migration, new
access logs are created. Error logs from the 4.1server-instance/logs directory is copied to the
server-instance/logs in Sun Java System Web Server 6.1.
Conguration Files
Certain directives found in the iPlanet Web Server 4.1 magnus.conf le are now located in the
Sun Java System Web Server 6.1 server.xml le. During the migration process, these directives
are automatically removed from the 6.1 server’s magnus.conf le and added to the server.xml
le.
In addition, Init functions located in the iPlanet Web Server 4.1 obj.conf le are moved to the
Sun Java System Web Server 6.1 magnus.conf le.
For a list of deprecated directives, see the Sun Java System Web Server 6.1 SP9 Administrator’s
Conguration File Reference.
Note – During migration, multi-line Init directives are compressed to single-line directives in
the Sun Java System Web Server 6.1 magnus.conf le.
Java Server Pages
iPlanet Web Server 4.0 Java Server Pages (JSPs) were written in JSP 0.92. The iPlanet Web
Server 4.1 and 6.0 JSPs are written in JSP 1.2. Version 0.92 is no longer supported in Sun Java
System Web Server 6.1. JSPs must be rewritten according to the version 1.2 standard. In
addition, Sun recommends that developers create JSPs as part of web applications. Style
examples can be found in server_root/plugins/servlets/examples/web-apps.
JSPs written in JSP 1.2 that are part of a web application can reside in any directory that the
server can serve from.
JSP 1.2 samples are in server_root/plugins/samples/servlets/jsp.10.
Java Servlets
Netscape Enterprise Server / iPlanet Web Server 4.0 and 4.1 supported the Java Servlet 2.1
specication. This specication did not include web applications. A deployment scheme was
developed to make servlet deployment simpler. With the advent of Java Web Applications
(.war les) and their deployment descriptors, it is no longer necessary to maintain a proprietary
deployment system.
iPlanet Web Server 6.0 supported both types of deployment schemes, but the 4.x
implementation referred to as legacy servlets was marked as deprecated. See Chapter 8: “Legacy
Servlet and JSP Conguration” of the iPlanet Web Server, Enterprise Edition Programmer's
Guide to Servlets.
Summary of Migration-Related Changes
Chapter 6 • Migrating from Web ServerVersion 4.1 to 6.1 73
Komentáře k této Příručce