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

JVMOPTIONS

Defines configurable system-wide Java VM properties., for example:

<JVMOPTIONS>-Xdebug -Xmx128m</JVMOPTIONS>

In addition, web server looks for a system property, -Dcom.sun.webserv.startupclasses, whose value is a comma-separated list of fully qualified Java classes that server loads into the Virtual Machine upon startup. Example:

<JVMOPTIONS> 
-Dcom.sun.webserv.startupclasses=com.sample.MyInitializer,com.jdo
.PersistenceManagerFactory
</JVMOPTIONS>

For information about the available options, see http://java.sun.com/docs/hotspot/VMOptions.html.


Note –

(On Windows only). Logging out of the machine where the web server is installed might abort the web server process. To avoid this problem, perform these steps:

  1. Add the following line to the server.xml file of the web server instance.

    <JVMOPTIONS>-Xrs</JVMOPTIONS>

  2. Restart the instance.


Subelements

none

Attributes

none