DevPortal

How do I add JVM Parameters?


The following entry in the configuration file sets the JVM options. More lines can be added to suit your requirement:

wrapper.java.additional.1=-server
wrapper.java.additional.2=-Dinstall.root=%ps_root%/server
wrapper.java.additional.3=-Djava.security.policy=%ps_root%/server/lib/pramati/pramati.java.policy
wrapper.java.additional.4=-Djava.security.auth.policy=%ps_root%/server/lib/pramati/pramati.jaas.policy
wrapper.java.additional.5=-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
wrapper.java.additional.6=-Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl

To add more parameters to the JVM options, append another line to this list. Note that the entries below follow a pattern, such as wrapper.java.classpath.<n>, where 'n' is incriminated starting from value 1. Make sure that the number parameters are in serial order without any missing numbers.

To set the JVM Heap Size values, set values for the following parameters in the configuration files:

# Initial Java Heap Size (in MB)equivalent to -Xms wrapper.java.initmemory=16
# Maximum Java Heap Size (in MB)equivalent to -Xmx wrapper.java.maxmemory=64


© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal