Sun Java System Web Server 6.1 SP10 Administrator's Configuration File Reference

Appendix A Configuration Changes Between iPlanet Web Server 4.1 and Sun Java System Web Server 6.1

This chapter summarizes major configuration file changes between the 4.1 and the 6.1 version of Sun Java System Web Server. The following 4.1 files are described:

magnus.conf

The following table 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. For more information, see the Sun Java System Web Server 6.1 SP10 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 Attributes 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 the clientauth attribute of the SSLPARAMS element in server.xml

VirtualServerFile

(none) 

Obsolete due to virtual server implementation 

obj.conf

The obj.conf file has lost its Init directives to the magnus.conf file and acquired new directives and parameters. The following table summarizes the changes in the obj.conf file. Only the changed directives are listed.

Table A–2 obj.conf Changes

4.x Directive  

6.1 Directive  

Comments  

Init functions

(none) 

All functions have moved to magnus.conf except for cache-init and load-types, which are obsolete (for load-types, see the MIME element in the server.xml file).

Service fn=parse-html

Service fn=shtml_send

 

contexts.properties

The 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.

The following table 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, see Servlet 2.3 specification.

To add context attributes, implement the javax.servlet.ServletContextListener interface. For more information, see to the Servlet 2.3 specification.

respondCookieVersion

(none) 

Might 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. for more information, 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.properties

The rules.properties file is no longer supported in Sun Java System 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.jsp

servlets.properties

The 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.jsp

The following table 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.