Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Manuale Utente Pagina 71

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 94
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 70
Overview of Changes in Sun ONE Web Server 6.1
Chapter 5 Migrating from Version 6.0 to 6.1 71
Symbolic Links in Configuration Files (UNIX and
Linux)
Symbolic or relative links in server configuration files may cause problems when
upgrading. Make sure that server configuration files that contain absolute
references to files under the server root always reference the path to the server root
in the same way. Preferably, 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 file and the web-apps.xml file. The web-apps.xml
file is not supported in Sun ONE Web Server 6.1, and web application data is now
stored in the following files:
server.xml
web.xml
sun-web.xml
obj.conf
The VS (virtual server) element in the server.xml file in Sun ONE 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 configure web applications and are dynamically
reconfigurable, that is, they don’t require a server restart in order for changes to be
applied to the server instance.
For every web application, the deployment descriptor file,
sun-web.xml, is created
in the
<web-application>/WEB-INF directory. The deployment descriptor file is
based on the schema file,
sun-web-app_2_3-1.dtd, which is compliant with the
Servlet 2.3 specification. This schema file is also located in the
<web-application>/WEB-INF directory.
In the 6.0 version of the Web Server, if you used the web-apps.xml file to tune
certain server parameters, for example, reap interval (which specifies the number
of seconds between checks for expired sessions), now, in Sun ONE Web Server 6.1,
you would perform an identical function using the
sun-web.xml deployment
descriptor. Example:
In Web Server 6.0:
<init-param>
Vedere la pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 93 94

Commenti su questo manuale

Nessun commento