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

server.xml

This section describes the following changes:

Table B–4 server.xml to server.xml Correspondences

legacyls

Not supported. 

CONNECTIONGROUP

The CONNECTIONGROUP element is not supported. The defaultvs and servername attributes from the CONNECTIONGROUP element are added to the LS element in Sun Java System Web Server 6.1 during migration.

SSLPARAMS

The SSLPARAMS element, in 6.0 parsed from the CONNECTIONGROUP element, is a subelement of the LS element in Sun Java System Web Server 6.1.

VARS

The functionality of the VARS element is handled by the PROPERTY element in Sun Java System Web Server 6.1. However, the VARS element is still retained for backward compatibility.

webapps_file

webapps_enable

Removed. The WEBAPP element of the VS element in server.xml handles web applications. Web container-specific configuration is handled by the sun-web.xml file.

The following table lists the correspondences between the start-jvm file in iPlanet Web Server 6.0 to the server.xml file in Sun Java System Web Server 6.1:

Table B–5 start-jvm and server.xml Correspondences

NSES_JDK

Attributes

NSES_CLASSPATH

Attributes

NSES_JRE_RUNTIME_LIBPATH

Attributes

NSES_JRE_RUNTIME_CLASSPATH

Use the -Xbootclasspath JVM option.

The following table lists the correspondences between the jvm12.conf file in iPlanet Web Server 6.0 and the server.xml file in Sun Java System Web Server 6.1:

Table B–6 jvm12.conf and server.xml Correspondences

jvm.minHeapSize

Use the -Xms<value> JVM option. Example:

<JVMOPTIONS>-Xms128m -Xmx256m</JVMOPTIONS> 

jvm.maxHeapSize

Use the -Xmx<value> JVM option. Example:

<JVMOPTIONS>-Xms128m -Xmx256m</JVMOPTIONS> 

jvm.enableClassGC

Use the -Xnoclassgc JVM option to disable garbage collection.

jvm.option 

Use the JVMOPTIONS element.

jvm.profiler 

Use the PROFILER element.

jvm.verboseMode

Use the -verbose JVM option.

jvm.printErrors

Not supported. 

jvm.disableThreadRecycling

Not supported. 

jvm.serializeAttach

Not supported. 

jvm.stickyAttach

Not supported. 

jvm.trace

Configured in the LOGLEVEL element of the web container.

jvm.allowExit

Refer to information at the following URL for more information about configuring this in the server.policy file: 

http://java.sun.com/products/archive/j2se/1.4.1_07/index.html

jvm.include.CLASSPATH 

Use the Attributes attribute of the JAVA element.

jvm.enableDebug

Use the debug and debugoptions attributes of the JAVA element.

jvm.classpath 

Use the Attributes and Attributes attributes of the JAVA element.

The following table lists the correspondences between the web-apps.xml file in iPlanet Web Server 6.0 and the sun-web.xml file in Sun Java System Web Server 6.1:

Table B–7 web-apps.xml and sun-web.xml Correspondences

<config-param<param-name>redirect-to-absolute-url</param-name><param-value>false</param-value></config-param>

Use the <property name="relativeRedirectAllowed" value="true">