
Symbolic Links in Conguration Files (UNIX and Linux)
Symbolic or relative links in server conguration les might cause problems when upgrading.
Ensure that server conguration les that contain absolute references to les under the server
root always reference the path to the server root in the same way. Sun recommends these links
should not transverse any symbolic links.
Web Applications
In the 6.0 version of the Web Server, information pertaining to web applications was stored in
the server.xml le and the web-apps.xml le. The web-apps.xml le is not supported in Sun
Java System Web Server 6.1, and web application data is now stored in the following les:
■
server.xml
■
web.xml
■
sun-web.xml
■
obj.conf
The VS (virtual server) element in the server.xml le in Sun Java System Web Server 6.1
now contains a WEBAPP (web application) element for every web application it hosts. The
attributes of the WEBAPP element are consistent with the mechanism used in Web Server 6.0
to congure web applications and are dynamically recongurable, that is, they do not
require a server restart in order for changes to be applied to the server instance.
For every web application, the deployment descriptor le, sun-web.xml, is created in the
<web-application>/WEB-INF directory. The deployment descriptor le is based on the
schema le, sun-web-app_2_3-1.dtd, which is compliant with the Servlet 2.3 specication.
This schema le is also located in the <web-application>/WEB-INF directory.
If you have used the web-apps.xml le to tune certain server parameters in the 6.0 version of
the Web Server, you would perform an identical function using the sun-web.xml
deployment descriptor in Sun Java System Web Server 6.1. Following is an example reap
interval which species the number of seconds between checks for expired sessions.
In Web Server 6.0:
<init-param>
<param-name>reapInterval</param-name>
<param-value>180</param-value>
</init-param>
In Web Server 6.1:
<sun-web-app>
...
<session-config>
Overview of Changes in Sun Java System Web Server 6.1
Sun Java System Web Server 6.1 SP9 Installation and Migration Guide • February 200862
Comentários a estes Manuais