Sun Java System Portal Server 7.1 Technical Reference

Chapter 10 Desktop Configuration Properties File

This chapter contains the following sections:

Overview

The desktopconfig.properties file defines server-specific parameters that the Desktop reads during initialization. Any changes to this file require a server restart in order to go into effect. By default, this file is in the /var/opt/SUNWportal/portals/<portal_id>/config directory.

Parameters

You cannot customize the parameters, which are marked as Internal. So, you can only configure the debug level and the base directory for additional classes. The parameters available in the desktopconfig.properties file and their description are:

defaultDesktopType=default

[Internal]

Default desktop type used by the ErrorProvider when DesktopAppContext is available but DesktopContext is not available.

getterPoolMinSize=0

[Internal]

getterPoolMaxSize=0

[Internal]

getterPoolPartitionSize=0

[Internal]

callerPoolMinSize=0

[Internal]

callerPoolMaxSize=0

[Internal]

callerPoolPartitionSize=0

[Internal]

cookiePrefix=desktop

[Internal]

Prefix used for all desktop cookies.

lb.cookie.name=

Value of this cookie is <portal_id>.<instance_id>. If Portal Server and Access Manager are running on separate nodes and both of them are available at load-balancer URLs, such cookie will not set by the Portal Server. Although Portal Server works with some performance hit in terms of resource consumption and response times. The recommended value, if used, is <cookiePrefixPropertyValue>.lb.cookie.

templateScanInterval=30

Defines number of seconds between scans (checking for changes) of the template files in the /var/opt/SUNWportal/portals/<protalid>/config directory. This interval can improve the performance and scalability because the server uses the cached information between scans. The default value is 30 seconds.

dpScanInterval=0

DP scan interval controls how often DP updates done by someone other than the user. For example, Administrator is selected before serving portal request. If a DP document (user or shared) is present in the cache, and DP scan interval has not yet elapsed, then the cached copy will be used and the check for modified DP documents does not happen.

The values are:

  • -1 — Scan happens only when user logs in or membership changes.

  • 0 — Scan happens for every request.

  • n — After n seconds from previous scan, any updates to user DP or shared DP will be reflected in system behavior.

community.contributor.types=jdo

This property tells, which type of DP documents should be present as community request parameter to Desktop when membership is determined for DP merge. Contributor types can be separated by | as in communitymc.properties.

classLoaderRevalidateInterval=3600

Provider class loader re-validate time interval in seconds, for authless anonymous session only.

maxEventGenerations=5

Maximum number of event generations.

portletRenderModeParallel=true

This is the Application Server execution mode. To turn the parallel execution of the portlets in Application Server off, set this parameter to off.

jspScratchDir=/var/opt/SUNWportal/portals/<portal_id>/desktop/compiled

JSP Scratch directory is used for placing compiled JSPs.

jspCompilerWARClassPath=<Used only on application server>

[Internal]

Used only on application server. For more information on jspCompileWARClassPath, see the desktopconfig.propertiesfile in the /var/opt/SUNWportal/portals/<portal_id>/config directory.

templateBaseDir=/var/opt/SUNWportal/portals/<portal_id>/desktop/

Root directory under which all template files are located.

communityTemplateBaseDir=/var/opt/SUNWportal/portals/<portal_id>communitytemplates

This is the community template base directory.

providerClassBaseDir=/var/opt/SUNWportal/portals/<portal_id>/desktop/classes

Root directory under which the customer is allowed to place provider classes, whether those are overriding the bundled providers, or their own new providers (usually the case). They must be placed in this directory, either in a jar at the top level, or in a com (or whatever) package directory.

serviceAppContextClassName=com.sun.portal.desktop.context.DSAMEServiceAppContext

[Internal]