r9 - 26 Jun 2008 - 08:01:38 - RandyLetnessYou are here: OSAF >  Documentation Web  >  CosmoAdministrator > CosmoStartupConfiguration
Cosmo web server

Cosmo Startup Configuration



Certain features of Cosmo are enabled, disabled or configured via system properties passed as command line options to the JVM.

System Properties

These system properties control the features of various components used by Cosmo:

file.encoding=UTF-8
Sets the default character encoding for the JVM so that all text data read by or written from the JVM is encoded in UTF-8 unless explicitly told otherwise by Cosmo

If you are using Derby as your database, you probably want to set some system properties for it as well. See ServerBundleStartupConfiguration for more details (TODO: move db configuration to a Cosmo manual page).

Command Line Options

The above system properties are set by passing them as command line options to the JVM. Example:

java -Dfile.encoding=UTF-8 ...

Additional command line options (such as -server) may be used to improve performance, control the amount of resources consumed by the JVM, etc. See http://java.sun.com/j2se/1.5.0/docs/guide/vm/index.html for the Sun JVM documentation.

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r9 < r8 < r7 < r6 < r5 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.