Configure Application Server for JVM Options

For the Application Server, configure the JVM Settings to add, change, or delete the following JVM Options:

  1. Delete the following options:

    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Dsun.rmi.dgc.client.gcInterval=3600000
  2. Change the following options’ settings:
    • Change -client to -server.
    • Change -Xmx512m to whatever size you can allot for the maximum Java heap space.
    • Set –Xms512m to the same value to which you set –Xmx512m.
  3. Add the following options:
    • Add all of the following:


      -XX:MaxPermSize=192m 

      -XX:+AggressiveHeap

      -Xss128k

      -XX:+DisableExplicitGC
      
-Dcom.sun.enterprise.ss.ASQuickStartup=false

      -Djhove.conf.dir=${com.sun.aas.instanceRoot}/config
      
-Ddvn.inetAddress=<address of server on which DVN runs>
    • To install on a multi-processor machine, add the following:

      -XX:+UseParallelOldGC
    • To enable the optional Google Analytics option on the Network Options page and provide access to site usage reports, add the following (see Configure Google Analytics for details): 

      -Ddvn.googleanalytics.key=<googleAnalyticsTrackingCode>
    • To configure permanent file storage (data and documentation files uploaded to studies) set the following: 

      -Dvdc.study.file.dir=${com.sun.aas.instanceRoot}/config/files/studies
    • To configure the temporary location used in file uploads add the following:
      -Dvdc.temp.file.dir=${com.sun.aas.instanceRoot}/config/files/temp
    • To configure export and import logs (harvesting and importing), add the following:
      -Dvdc.export.log.dir=${com.sun.aas.instanceRoot}/logs/export
      -Dvdc.import.log.dir=${com.sun.aas.instanceRoot}/logs/import
    • To manage calls to RServe and the R host (analysis and file upload), add the following:
      -Dvdc.dsb.host=<DSB server hostname>
      -Dvdc.dsb.rserve.user=<account>
      -Dvdc.dsb.rserve.pwrd=<password>
      -Dvdc.dsb.rserve.port=<port number>
      See Install RServe for information about configuring these values in the Rserv.conf and Rserv.pwd files.
      These settings must be configured for subsettable file uploads, downloads, and subsetting and analysis to work. The Dvdc.dsb.host setting requires either a preconfigured DSB server or the DSB server must be an Apache web server. The hostname alone is adequate if using the default, port 80. Otherwise, set the following:
      -Dvdc.dsb.port=<DSB server host port>
  4. The following options configure locations for files that you download when you install the DVN application. You can configure these settings before you download the files, but you must copy the configuration files into the appropriate location after download for these options to function:
    • To configure search index files set the following:

      -Ddvn.index.location=${com.sun.aas.instanceRoot}/config
    • To use the optional customized error logging and add more information to your log files, set the following: 

      -Djava.util.logging.config.file= ${com.sun.aas.instanceRoot}/config/logging.properties
      Note: To customize the logging, edit the logging.properties file to change WARNING to INFO.