Sun ONE Web Server 6.1 Administrator's Configuration File Reference |
Appendix A
Configuration Changes Between iPlanet Web Server 4.1 and Sun ONE Web Server 6.1This chapter summarizes major configuration file changes between the 4.1 and the 6.1 version of Sun ONE Web Server. The following 4.1 files are described:
magnus.confTable A-1 summarizes the changes in magnus.conf:
Table A-1 magnus.conf changes
4.x Directive
6.1 Directive
Comments
AccelFileCache
(none)
Obsolete because an NSAPI accelerator cache is no longer necessary
AcceptLanguage
(none)
See the acceptlanguage attribute of the VSCLASS and VS elements in server.xml
ACLFile
(none)
Maps to the ACLFILE element in server.xml
Address
(none)
Maps to the LS element in server.xml.
AdminLanguage
(none)
Deprecated.
AsyncDNS
AsyncDNS
Ignored. Even if the value is set to on, the server does not perform asynchronous DNS lookup.
BlockingListenSockets
(none)
See the blocking attribute of the LS element in server.xml.
CGIWaitPid
(none)
Deprecated.
Ciphers
(none)
See the ssl2ciphers attribute of the SSLPARAMS element in server.xml
ClientLanguage
(none)
Deprecated.
DaemonStats
(none)
Obsolete due to new performance statistics system. See the Sun ONE Web Server 6.1 Performance Tuning, Sizing, and Scaling Guide for further information.
DefaultCharSet
(none)
Deprecated
ErrorLog
(none)
See the file attribute of the LOG element in server.xml.
IOTimeout
AcceptTimeout
Use the AcceptTimeout directive to specify the number of seconds the server must wait for data from a client before closing the connection.
LoadObjects
(none)
See the objectfile attribute in the VSCLASS element in server.xml.
LogVerbose
(none)
See the loglevel attribute in server.xml.
MaxThreads
(none)
Obsolete due to new thread handling system.
MinProcs
(none)
Obsolete due to new thread handling system.
MinThreads
(none)
Obsolete due to new thread handling system.
MtaHost
(none)
Ignored.
NetsiteRoot
(none)
Deprecated.
Port
(none)
See the LS element in server.xml.
RootObject
(none)
See the rootobject attribute of the VSCLASS element in server.xml.
RqThrottleMinPerSocket
(none)
See the the acceptorthreads attribute of the LS element in server.xml.
(none)
RqThrottleMin
New. Specifies the number of request processing threads that are created when the server is started.
ServerID
(none)
Deprecated.
ServerName
(none)
Deprecated. See the servername attribute of the LS element in the server.xml file.
#ServerRoot
(none)
Deprecated.
SSL2
(none)
See the ssl2 attribute of the SSLPARAMS element in server.xml
SSL3
(none)
See the ssl3 attribute of the SSLPARAMS element in server.xml
SSL3Ciphers
(none)
See the the ssl3tlsciphers attribute of SSLPARAMS element in server.xml
SSLClientAuth
clientauth
See thethe clientauth attribute of the SSLPARAMS element in server.xml
VirtualServerFile
(none)
Obsolete due to virtual server implementation
obj.confThe obj.conf file has lost its Init directives to the magnus.conf file and acquired new directives and parameters. Table A-2 summarizes the changes in the obj.conf file. Only the changed directives are listed.
contexts.propertiesThe contexts.properties file is no longer supported. Servlet contexts or web applications are now defined in the server.xml file and configured using the sun-web.xml file.
A few contexts.properties functions are now in the server.xml file.
Table A-3 lists the equivalent functions in the contexts.properties and sun-web.xml files.
Table A-3 contexts.properties to sun-web.xml correspondences
contexts.properties Property
sun-web.xml Element or Attribute
Comments
sessionmgr
persistence-type attribute of the session-manager element
sessionmgr.initArgs
manager-properties and store-properties attributes of the session-manager element
initArgs
(none)
Specified using the context-param element in web.xml. For more information, please refer to the Servlet 2.3 specification.
To add context attributes, implement the javax.servlet.ServletContextListener interface. For more information, please refer to the Servlet 2.3 specification.
respondCookieVersion
(none)
Will be supported in a future release.
tempDir
tempdir property
reloadInterval
dynamic-reload-interval attribute of class-loader element
bufferSize
(none)
Specified using the UseOutputStreamSize in obj.conf. See service-j2ee for more information.
docRoot
(none)
Specified in the server.xml file for each virtual server.
inputStreamLengthCheck
(none)
Obsolete.
outputStreamFlushTimer
(none)
Obsolete.
uri
uri attribute of WEBAPP element in server.xml.
authdb
authdb attribute of auth-native element
Obsolete.
classpath
extra-class-path attribute of class-loader element
singleClassLoader
(none)
Obsolete because each web application has a single class loader as mandated by the Servlet 2.3 specification. .
serverName
(none)
Specified in the server.xml file for each virtual server.
contentTypeIgnoreFromSSI
(none)
Obsolete due to web application support.
parameterEncoding
parameter-encoding element
isModifiedCheckAggressive
(none)
Obsolete.
includeTransparency
(none)
Obsolete.
rules.propertiesThe rules.properties file is no longer supported in Sun ONE Web Server 6.1. The function of the rules.properties file is now handled by the servlet-mapping element in the web.xml file. For more information, see the Servlet 2.3 API specification at:
http://java.sun.com/products/servlet/index.html
servlets.propertiesThe servlets.properties file is no longer supported for the default virtual server and other virtual servers. Most of the same functions are in the sun-web.xml file.
A few servlets.properties functions are in the server.xml file.
A few servlets.properties functions are in the web.xml file. For more information, see the Servlet 2.3 API specification at:
http://java.sun.com/products/servlet/index.html
Table A-4 lists the equivalent functions in the servlets.properties and sun-web.xml files.
Table A-4 servlets.properties to sun-web.xml correspondences for individual servlet properties
servlets.properties Property
sun-web.xml Element or Attribute
Comments
code
(none)
Specified in a servlet-class element in the web.xml file.
context
(none)
Obsolete because servlets are hosted within a web application which is deployed at the URI specified as the value of the uri attribute of the WEBAPP element in server.xml.
classpath
(none)
The Servlet 2.3 specification specifies that servlet classes be packaged in the WEB-INF/classes directory or in .jar archives in the WEB-INF/lib directory.
initArgs
(none)
Use the init-param element of the <servlet> tag in web.xml to specify servlet-specific initialization parameters.
startup
(none)
Specified in a load-on-startup element in the web.xml file.