Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - PROGRAMMER GUIDE TO SERVLETS Instrukcja Użytkownika Strona 62

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 80
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 61
Symbolic Links in Conguration Files (UNIX and Linux)
Symbolic or relative links in server conguration les might cause problems when upgrading.
Ensure that server conguration 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 congure web applications and are dynamically recongurable, 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 specication.
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 species 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
Przeglądanie stron 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 79 80

Komentarze do niniejszej Instrukcji

Brak uwag