15 satellite.properties

The satellite.properties file is created on each WebCenter Sites system because each WebCenter Sites system runs a Satellite servlet. When the Satellite servlet is running in the same virtual machine as the ContentServer servlet, it is said to be "co-resident." Otherwise, it is remote.

satellite.properties is on each server that hosts a Satellite Server application. The function of satellite.properties is to configure the Satellite servlet that it controls.

Properties in the satellite.properties file are organized by function on the following tabs in the Property Editor:

15.1 Caching Tab

The Caching tab holds the Satellite Server cache settings.

The file_size property can significantly influence performance. To optimize performance, try to maximize the amount of memory caching. However, be sure that you do not exceed the host's memory capacity.

If you have lots of memory or a relatively small web site, Oracle recommends caching everything to memory by setting a large value. However, in calculating whether your entire web site can fit in memory, remember that expired web pages stay in memory until explicitly removed or until the cache cleaning thread removes them. Be sure to consider this fact when you set the value of the cache_check_interval property.

Table 15-1 Properties in satellite.properties: Caching Tab

Property Description

cache_check_interval

Deprecated.

Applies to only legacy page caching. This property controls the frequency of the cache cleaner thread. Expired objects are not pruned from cache when they expire. They are pruned either when they are requested and found invalid, or when a cache cleaner thread explicitly prunes them.

In minutes, specify the pause between executions of the cache cleaner thread.

cache_folder

Applies to only legacy page caching. This property specifies the location of disk based cache data. If this property is left blank, cached data will be stored in the context's temp folder.

Default value: blank

cache_max

Applies to only legacy page caching. This property specifies the maximum number of objects to maintain in the cache. Objects are removed from the cache if the size specified is exceeded; an LRU method is used to manage cache size limits.

expiration

Applies to inCache page caching and legacy page caching. This property specifies expiration information (in the form of a COM.FutureTense.Util.TimePattern string) for all cached objects that do not have this information specified elsewhere.

The expiration information for an object can be specified in the cachecontrol attribute on the satellite.page (and related) tags. For pages, expiration information can also be specified in the SiteCatalog's sscacheinfo column. For binary objects, the default value for the cachecontrol attribute is specified in the futuretense.ini file.

Note that the outermost wrapper page of any request cannot specify an override, so this property is the only place where it can be controlled.

Default value: 5:0:0 */*/*

This means that everything in the Satellite Server cache expires every day at 5:00 a.m.

The format is as follows:

<hours>:<minutes>:<seconds> <daysOfWeek>/<daysOfMonth>/<months>

Possible values:

  • <hours>: 0 through 23, where 0 is midnight

  • <minutes>: 0 through 59

  • <seconds>: 0 through 59

  • <daysOfWeek>: 0 through 6, where 0 is Sunday

  • <daysOfMonth>: 1 through 31

  • <months>: 1 through 12

Other possible values:

  • never, which means the page can expire only if the cache is full and it is the least recently used page

  • immediate, which means to never cache the page

file_size

Applies to legacy page caching. This property specifies the size (in kilobytes) of objects that can be cached to disk. Smaller objects are retained in memory.

This value should be adjusted for system RAM, disk speed, and so on.

Default value: 250


15.2 Configuration Tab

The Configuration tab holds the properties that configure the Satellite servlet.

Table 15-2 Properties in satellite.properties: Configuration Tab

Property Description

blocktimeout

Deprecated.

Specifies the number of seconds a request will wait when another thread is in the process of requesting the same data from the host. Waiting helps reduce load on the host server when the cache is empty at the expense of individual user response time.

Default value: 45

A value of -1 means wait until the previous thread returns. A value of 0 means never wait.

This value must be tuned based on the host performance, average request size, and network latency.

It is safe to use a large number or -1.

password

Specifies the password that the Satellite engine will require for special functions like engine restart or cache reset.

Be sure to change the username and password from the defaults.

readtimeout

Deprecated.

Specifies the socket read timeout in seconds, after which a read terminates with an error. A value of 0 leaves the timeout to the Java runtime environment. A value of 3 sets a 3-second wait time.

Default value: 45

transparent.content-type.pattern

A regular expression denoting content types that may contain nested components such as pagelets, links to other WebCenter Sites pages, or links to blobs. Pages whose content types match this pattern will be parsed by Satellite Server.

servlet

Specifies the URL pattern used to identify the Satellite Server servlet. Satellite Server will rewrite links and forms to use this URL pattern if pages are properly designed.

Default value: Satellite

username

Specifies the username that the Satellite engine will require for special functions like engine restart or cache reset.

Be sure to change the username and password from the defaults.


15.3 Remote Host Tab

The Remote Host tab holds properties that define the communications rules between Satellite Server and WebCenter Sites. These properties are documented here in alphabetical order:

Table 15-3 Properties in satellite.properties: Remote Host Tab

Property Description

bservice

This value is the servlet path for the Blob Server servlet. It is used to tell Satellite Server where to go to resolve satellite.blob tags.

Typical values include /NASApp/cs/BlobServer for iPlanet and /servlet/BlobServer for servlet runners.

host

The name of the remote host system running WebCenter Sites that the Satellite engine is caching requests for.

This is required and there is no default.

port

The port number for communicating with the WebCenter Sites host.

Default value: 80

protocol

The communication protocol between the Satellite Server host and the WebCenter Sites host. (Generally http:// or https://).

Note that setting the protocol to https:// will not, in itself, ensure secure communications. You will still need to get a certificate.

service

This value is the servlet path for the WebCenter Sites servlet.

It is used to tell Satellite Server where to go to resolve satellite.page tags.

Typical values include /NASApp/cs/ContentServer for iPlanet and /servlet/ContentServer for servlet runners.


15.4 Sessions Tab

The Sessions tab holds properties that provide information about how the Satellite servlet should interpret a user's browser session.

Table 15-4 Properties in satellite.properties: Sessions Tab

Property Description

contentserver.installation.folder

Replaces the path.to.futuretense.ini property.

Applies to installations in which Satellite Server and WebCenter Sites are running in the same web application and must therefore share the user's session. This property specifies the path to the WebCenter Sites installation, enabling Satellite Server to access WebCenter Sites resources, such as the system asset root and the futuretense.ini file.

Possible values:

  • blank, if Satellite Server is running in a web application other than WebCenter Sites.

  • <cs_installation_dir> if Satellite Server is running in the same web application as WebCenter Sites. This directory contains the futuretense.ini file.

cookieprefix

Satellite Server maintains a session between itself and the remote host on behalf of the client. Satellite Server needs to know the name of the session ID cookie the application server uses so that it can be properly tracked.

Enter the possible session cookie name prefixes here, separated by a semicolon. If left blank, a default set will be used.

path.to.futuretense.ini

Replaced with: contentserver.installation.folder.

sessionid.cookie.prefix

Users can now specify the prefix that is prepended to the session id cookie.

The session id cookie is the session id cookie for the host (i.e., WebCenter Sites). Satellite Server needs to pass the session id cookie to the client in order to maintain a session between WebCenter Sites and the client.

The cookie must be renamed, so it does not conflict with the session cookie that Satellite Server itself uses. The configurable prefix allows users who know the name of the session id cookie to construct the full cookie name. This can be used in a servlet filter or other mechanism to support custom functionality.

sharesession

Specifies whether the ContentServer servlet and the Satellite servlet share the user session.

If Satellite Server is running remotely, set this to false; if Satellite Server and ContentServer are co-resident, set this property to true.

If this property is not set appropriately, user-specific information may be inconsistent between pages.


15.5 Compatibility Tab

Table 15-5 Properties in satellite.properties: Compatibility Tab

Property Description

formaction

The Satellite servlet converts WebCenter Sites URLs that you GET or POST to into Satellite URLs. This property specifies which string to replace in the WebCenter Sites URL to create a Satellite URL.

This value is case sensitive.

Effective in Satellite Server 6, use the new satellite.form tag for all forms.

newformaction

Specifies the replacement string in URLs to be GET'ed or POST'ed to the locally mapped servlet.

This value is case sensitive.

Effective in Satellite Server 6, use the new satellite.form tag for all forms.

globally_replace_contentserver

If this property is set to true, Satellite Server will parse through all processable pages returned from WebCenter Sites and replace all instances of the string described by the formaction property with the string described by the newformaction property. It will also replace any occurrence of ContentServer with the string described by the servlet property.

Effective in Satellite Server 6, use satellite.link or RENDER.GETPAGEURL for links and satellite.form for forms. If this is not possible, set this property to true.

Default value: false


15.6 User Defined Tab

Table 15-6 Properties in satellite.properties: User Defined Tab

Property Description

appserverlink

Deprecated.

Value: 45

servlet-path

Deprecated.

Value: /spark/

propagatecache

Used to enable the propagation of pages among nodes that are enabled for inCache page caching. Information about inCache can be found in the Oracle Fusion Middleware WebCenter Sites Administrator's Guide.

scratch.cleanup.schedule

Specifies the frequency, in minutes, of the event that runs to clean up files in the Scratch folder generated by Satellite Server caching. The frequency should be determined from the volume of pages loaded into cache and the file_size property (in the satellite.properties file).

The default location of the Scratch folder depends on the application server. The path can be configured by setting the cache_folder property (in the satellite.properties file).

Default value: 2