All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ortal.portal-impl.6.2.0-RC5.source-code.system.properties Maven / Gradle / Ivy

There is a newer version: 7.0.0-nightly
Show newest version
##
## Start your application server with the system property
## "system.properties.load" set to true to load the external file called
## system.properties. This is given as a convenient way to ensure all properties
## are set for deployment. When the server starts, the portal will load
## system.properties and then system-ext.properties.
##
## Start your application server with the system property
## "system.properties.final" set to true if the properties of system.properties
## override all similar command line properties. If set to false, the properties
## of system.properties will be set if and only if those properties are not
## currently set.
##
## Some application servers require you to set the "file.encoding" and
## "user.timezone" on startup regardless of system.properties because the
## application server reads these properties before system.properties is ever
## loaded.
##

##
## Java
##

    #
    # The file encoding must be set to UTF-8 in order for the
    # internationalization to work correctly.
    #
    file.encoding=UTF-8

    #
    # Java uses the underlying operating system to generate images. If you are
    # using Unix and do not start the portal in a X Windows session, then Java
    # will not know how to generate images and you'll get lots of nasty
    # exceptions. Setting this property to true will fix that. Sometimes this
    # property cannot be set dynamically when the server starts and you'll need
    # to edit your start script to include this as a system property.
    #
    java.awt.headless=true

    #
    # Set the default locale used by Liferay. This locale is no longer set at
    # the VM level. See LEP-2584.
    #
    user.country=US
    user.language=en

    #
    # Set the default time zone used by Liferay. This time zone is no longer set
    # at the VM level. See LEP-2584.
    #
    user.timezone=UTC

##
## Java Advanced Imaging
##

    #
    # JAI relies upon native acceleration to improve performance.  To use native
    # acceleration, you must install the appropriate native libraries and set
    # this property to false. Setting this to false without installing the
    # proper native libraries will result in warnings.
    #
    com.sun.media.jai.disableMediaLib=true

##
## Logging
##

    #
    # Set any logger that implements org.apache.commons.logging.Log.
    #
    #org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger

    #
    # Set this to true if Log4j complains that it was not properly configured.
    #
    log4j.configure.on.startup=true

##
## Stream
##

    com.liferay.portal.kernel.util.StreamUtil.buffer.size=8192

    #
    # Set this to true when doing large file transfers on a 32-bit JVM to
    # prevent running out of memory. This worsens performance but increases
    # stability for older environments.
    #
    com.liferay.portal.kernel.util.StreamUtil.force.tio=false

##
## String Bundler
##

    #
    # Set this property to tell StringBundler when to use a recycled char[] to
    # do an unsafe String creation. The newly created String's immutable
    # property is only maintained during current request scope so that the
    # char[] could be reused by other Strings. This means the old String's
    # content will change. This is safe as long as the old Strings die before
    # the request finishes. This feature introduces risky conditions, so please
    # use it with caution. The benefit is that it can improve GC significantly
    # by reducing large char[] creation.
    #
    # For example, the contents of a page are ultimately represented by a
    # String's char[] which could be several hundred KBs. This can be a heavy
    # burden for the GC. The String is also guaranteed to be freed before the
    # request finishes processing. These Strings are perfect for using this
    # feature to gain performance improvements.
    #
    # Set a value larger than 0 to enable this feature when using StringBundler
    # with an output length longer than the specified value. A reasonable value
    # is 32768 (32 kb) or 65536 (64 kb). The best value depends on how the
    # portal is used.
    #
    com.liferay.portal.kernel.util.StringBundler.unsafe.create.limit=0

    #
    # Set this property to tell StringBundler when to use a ThreadLocal buffer
    # to build the output its String. The buffer is referred by SoftReference, so
    # it will be forcibly removed by the GC when memory is nearly exhausted. It
    # should be set to a high value so that the accessing to ThreadLocal is
    # balanced by the savings in garbage collection. Setting it to too low of a
    # value may actually do more harm than good.
    #
    # Set a value larger than 0 to enable this feature when using StringBundler
    # with an output length longer than the specified value. A reasonable value
    # is 8192 (8 kb) or 16384 (16 kb). The best value depends on how the portal
    # is used.
    #
    com.liferay.portal.kernel.util.StringBundler.threadlocal.buffer.limit=0

##
## Finalize Manager
##

    #
    # Set this to true to enable the finalize manager to use a separate thread
    # to do clean up. Otherwise, the finalize manager will only do clean up during
    # registration.
    #
    com.liferay.portal.kernel.memory.FinalizeManager.thread.enabled=false

##
## Encryptor
##

    #
    # Set the security provider class.
    #
    com.liferay.util.Encryptor.provider.class=com.sun.crypto.provider.SunJCE

##
## HTTP
##

    #
    # See portal.properties for more HTTP settings.
    #

    #
    # Set the location of the HTTP proxy that the portal will use to fetch
    # external content.
    #
    # Set http.nonProxyHosts for hosts that will not be proxied. This is useful
    # for proxied environments where you need direct access to internal servers.
    # This should follow the same semantics as the java.net package.
    #
    #http.proxyHost=192.168.0.200
    #http.proxyPort=4480
    #http.nonProxyHosts=192.168.0.250

##
## Axis
##

    #
    # Urls that match the specified pattern will use the SimpleHTTPSender. Urls
    # that do not match the specified pattern will use Axis' default HTTPSender.
    #
    com.liferay.util.axis.SimpleHTTPSender.regexp.pattern=.*mappoint\.net.*

##
## Session Parameters
##

    #
    # Encrypt session parameters so that browsers cannot remember them.
    #
    com.liferay.util.servlet.SessionParameters=false

##
## Ehcache
##

    #
    # Set this to true to skip the update check.
    #
    net.sf.ehcache.skipUpdateCheck=true

##
## iCal4j
##

    #
    # Set this to true to enable compatibility with Outlook generated ICS files.
    #
    ical4j.compatibility.outlook=true

    #
    # Set this to true to enable relaxed parsing of ICS files during import.
    #
    ical4j.parsing.relaxed=true

    #
    # Set this to true to enable relaxed unfolding of ICS files during import.
    #
    ical4j.unfolding.relaxed=true

    #
    # Set this to true to enable relaxed validation of ICS files during import.
    #
    ical4j.validation.relaxed=true

##
## JRuby
##

    #
    # Set this to true to enable native extensions (like JNA for non-Java APIs).
    #
    jruby.native.enabled=false

##
## Log Sanitizer
##

    #
    # Set this to true to enable the log sanitizer, which is a safe logging
    # mechanism that avoids directly embedding user input in log files. The
    # log sanitizer automatically sanitizes log messages by replacing all
    # unexpected characters from user supplied data with safe replacement
    # characters.
    #
    # See the "log.sanitizer.escape.html.enabled" property for encoding HTML
    # entities in log messages.
    #
    log.sanitizer.enabled=true

    #
    # Set whether to encode HTML data in log messages.
    #
    log.sanitizer.escape.html.enabled=false

    #
    # Specify the code point of the character to replace forbidden characters.
    # The underscore character, which has code point 95, is the replacement
    # character by default.
    #
    log.sanitizer.replacement.character=95

    #
    # Specify characters to allow in log messages. The sanitizer operates on
    # characters with code points less than 128. Characters with code points
    # greater than 128 are always allowed. Please see ASCII tables to look up
    # character code points.
    #
    # This default whitelist allows characters with code points 9 (tab), 32
    # (space), and all characters with code points greater than 32 except 127
    # (delete).
    #
    log.sanitizer.whitelist.characters=9,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126

##
## Lucene
##

    #
    # Set a timeout to avoid lock errors.
    #
    #org.apache.lucene.writeLockTimeout=30000

##
## Quartz
##

    #
    # Make threads daemon so the JVM exits cleanly.
    #
    org.quartz.threadPool.makeThreadsDaemons=true

    #
    # Turn off the update check for performance/security.
    #
    org.terracotta.quartz.skipUpdateCheck=true

##
## Secure
##

    com.liferay.portal.kernel.security.SecureRandomUtil.buffer.size=65536




© 2015 - 2024 Weber Informatics LLC | Privacy Policy