WCM - Resource Storage Settings
Overview
External files can be imported into Web Content Management. Like Web Content Management data, these resources can be stored in different repositories. Web Content Management Resources include the following:
- Image Components
- File Resource Components
- Resources uploaded to a Web Content Management environment when using the HTML Importer
Secure and Non-Secure Resources
Like other Web Content Management items, security levels can be set for Web Content Management Resources. If the [all users] group is given Live access to a Web Content Management Resource, it is considered to be Non-Secure.
Secure Resources
Secure Resources are always retrieved from the system specified in the resource.persistence parameter defined in aptrixjpe.properties via the Web Content Management Resource Server Module (see below).
Non-Secure Resources
If Resource Persistence is set to JDBC , Non-Secure resources are always retrieved from the Web-App directory:/AppServer/installedApps/localhost/wcm.ear/ilwwcm.war/resourcesIf Resource Persistence is set to CM, then Non-Secure Resources can be retrieved either from the Web-App directory, or direct from IBM Content Manager. This is determined by editing the following settings:
Note that these settings are not active if Resource Persistence is not set to CM
- resource.nonsecure.retrieveFromWebdir=true
- If True, Non-Secure resources are retrieved from the web directory.
[WEB_APP_HOME]/resources/If False, then Non-Secure resources are retrieved directly from IBM Content Manager.
If non-secure resources are being retrieved directly from IBM Content Manager any links on a web page to a non-secure resource will cause the browser's open/save dialogue to display instead of the default action of the file type. E.g., A link to a non-secure PDF stored in IBM Content Manager will not open directly in the browser. The open/save dialogue will display instead.
If this setting is changed run the ResourceChecker utility.
- resource.nonsecure.useCachedSourceUrl=true
- If True, Non-Secure resources are retrieved directly from IBM Content Manager via a cached URL generated when the resource was first created.
If False, then the URL to IBM Content Manager is retrieved from IBM Content Manager the first time a User accesses the resource and is stored in the Session Cache until the User's session ends.
This setting is only active if resource.nonsecure.retrieveFromWebdir=true and resource.persistence=CM
Resource Server Module settings
The Resource Server Module is the Web Content Management Module that processes requests for secure resources. It ensures that the requester has sufficient access to the resource before returning the resource from the chosen storage medium.
- resource.resourceServerModuleName=AJPERES
- Name of the Resource Server Module that is used to generate Secure Resource requests.
This name must match the name assigned to the Resource Server Module in the Business Logic section of connect.cfg
- resourceserver.maxCacheItemsize=10240
- Sets the maximum size of an individual resource to be cached by the Resource Server Module (in KB).
- resourceserver.cacheExpiryDate="REL 1M"
- Specifies the expiry date of resources cached by the Resource Server Module
Maximum Resource Size for JDBC Databases
- jdbc.resources.maxSize=10
- This setting (in megabytes) is used to allocate space within a JDBC database for Web Content Management resources when Resource persistence is set to JDBC. (This does not apply to Web Content Management item files.) Once set, you cannot store resources larger than the maximum size set in this parameter.
Note that for DB2 datbases, once set, this setting cannot be reset in your current DB2 database. It can only be reset by deleting and creating a new DB2 database. To change this setting, syndicate your current Site to another server, recreate the DB2 database, and then syndicate the Site back from the backup server.
Parent topic: Data Storage.
IBM Workplace Web Content Management - V5.1.0.1 -
Workplace Web Content Management is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.