Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • WebSphere Portal Family wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category IBM Redbooks: Building a Sample Website Using IBM Web Content Manager 7.0 IBM Redbooks: Building and Implementing a Social Portal IBM Redbooks: Developing Exceptional Multi-Channel Web Experiences V7: IBM Web Content Manager Product Documentation V7: IBM WebSphere Portal Enable for z/OS Product Documentation V7: IBM WebSphere Portal Express Product Documentation V7: WebSphere Portal Product Documentation V8: IBM Web Content Manager Product Documentation V8: IBM WebSphere Portal Express Product Documentation V8: IBM WebSphere Portal Product Documentation (includes z/OS) Custom Search Scope...
Search
Community Articles > WebSphere Portal Document Manager migration tool > Recommended_Settings_for_large_file/data_set_migration
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

IBM contributorRadhika Sohoni
Contribution Summary:
  • Articles authored: 4
  • Articles edited: 4
  • Comments Posted: 0

Recent articles by this author

IBM WebSphere Portal Sametime Chat Portlet

An Administrators Guide to Deploying the Sametime Chat Portlets for IBM WebSphere Portal 8.x. IBM WebSphere Portal Sametime Chat portlets deliver realtime communication capabilities for the portal site through IBM Lotus Sametime infrastructure. This release has been updated for IBM WebSphere ...

How to configure scheduler to delete the libraries permanently from Quickr and JCR view

This article details about how to configure Lotus Quickr server to delete the libraries permanently from Lotus Quickr. This can be done by setting the CAI scheduler to run by cron. When quickr places are deleted in the Lotus Quickr via the 'Manage Places' place, they are not deleted ...

Recommended Settings for large file/data set migration

This article describes about the recommended settings for the successful migration of large files from IBM Portal Document Manager library to Lotus Web Content Management by installing the IBM WebSphere Portal Document Manager migration tool. Ensure that the following settings are configured on ...

General Configuration Settings for Migration

This article details about the recommended configuration settings for IBM WebSphere Portal Document Manager migration tool. Ensure that the WebSphere Portal Server is configured correctly before progressing ahead with the migration from IBM Portal Document Manager to Lotus Web Content Management. ...

Community articleRecommended_Settings_for_large_file/data_set_migration

Added by Radhika Sohoni | Edited by IBM contributor Radhika Sohoni on November 23, 2009 | Version 4
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: migration, migration tool, PDM, WCM, Web Content Management, Large File Size
This article describes about the settings recommended for the successful migration of large files from IBM Portal Document Manager library to Lotus Web Content Management using the IBM WebSphere Portal Document Manager migration tool. Ensure that the following settings are configured on your system before proceeding with the migration of the large files.


In Lotus, Web Content Management, resource.maxUploadSize is a setting () that specifies the size of the largest file that can be imported, if not specified then by default this value is 16MB. The value can be set in the WCMConfigService.properties file which is located in:
/opt/IBM/WebSphere6101/wp_profile/PortalServer/wcm/shared/app/config/wcmservices

In order to change this value and apply related settings for large file handling, follow the steps below :

Edit WCMConfigService.properties to change the value for 'resource.maxUploadSize' to desired value which is specified in MB. (Please follow the steps in the link)


1. Update the WCMConfigService.properties file
File location:
Windows: was_profile_root/PortalServer/wcm/shared/app/config/wcmservices/
UNIX: was_profile_root/PortalServer/wcm/shared/app/config/wcmservices/
i5/OS: was_profile_root/PortalServer/wcm/shared/app/config/wcmservices/

a. Ensure that the resource.maxUploadSize property is uncommented, and specify a value in megabytes corresponding to the size of the largest file that you want to allow to be imported. For example, if you do not want to allow files larger than 34 MB to be imported, you would specify this. resource.maxUploadSize=34. It is recommended that this value not exceed 100 MB.
b. Ensure that the resourceserver.maxCacheObjectSize property is uncommented, and specify a value of 300 KB or less.
c. If it doesn't already exist, add the transaction.sync.remove property to the file, and specify a value of true. For example:
transaction.sync.remove = true
d. Save your changes.


2. Add the protocol_http_large_data_inbound_buffer property
Log in to the administrative console for IBM WebSphere® Application Server
WebSphere Application Server 6.1: Servers -> Application Servers -> -> Server Infrastructure -> Administration -> Custom Properties.
WebSphere Application Server 7.0: Servers > Server Types > WebSphere application servers > portal_server > Server infrastructure > Administration > Custom Properties.

a. Click New.
b. Enter protocol_http_large_data_inbound_buffer in the Name field.
c. In the Value field, specify the maximum file size in bytes. This value should correspond to the value you set for the resource.maxUploadSize property in the WCMConfigService.properties file.
Set the value for the largest file size eg. 476mb - 488681472 bytes

Note that the protocol_http_large_data_inbound_buffer property uses bytes. So if you specified a value of 34 MB for the resource.maxUploadSize property, you would specify a value of 35651584 bytes for the protocol_http_large_data_inbound_buffer property.


3. Verify that the fullyMaterializeLobData property value is false
This property can be set in these files :
WebSphere Application Server 6.1: Resource > JDBC > Data sources > datasource_name > Custom properties.
WebSphere Application Server 7.0: Resource > JDBC > Data sources > datasource_name > Custom properties.

a. Ensure that the fullyMaterializeLobData property is set to false. Create a new property if not already there.
Note :
The effect of fullyMaterializeLobData depends on whether the database server supports progressive locators:

See below for more information.

LOBs in JDBC applications with the IBM DB2 Driver for JDBC and SQLJ

http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.apdv.java.doc/doc/cjvjdlob.htm">See for DB2 9


http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/ad/rjvdsprp.ht
 
See for DB2 8

4. Increase the maximum number of database connections allowed for the application server
This property can be set in these files :
WebSphere Application Server 6.1: Resource > JDBC > Data sources > datasource_name > Connection pool properties.
WebSphere Application Server 7.0: Resource > JDBC > Data sources > datasource_name > Connection pool properties.

a. Increase the value of the Maximum connections field to a value greater than the default 50 connections.
Set to 120 for large file upload for the file size from 200 MB – 500 MB

5.Transaction Timeout setting
If you are working with files larger than 100 MB, increase the Web containers transaction timeout setting:
WebSphere Application Server 6.1: Servers > Application Servers > portal_server > Container Services > Transaction service.
WebSphere Application Server 7.0: Servers > Server Types > WebSphere application servers > portal_server > Container Services > Transaction service.

a. Increase the value of the Total transaction lifetime timeout and Maximum transaction timeout setting from the default setting of 120 seconds.
Set them to 1200 seconds (20 minutes)

6. Threads
Increase the maximum number of threads allowed in the thread pool used by the Web container:
WebSphere Application Server 6.1: Servers > Application Servers > portal_server > Thread pools > WebContainer.
WebSphere Application Server 7.0: Servers > Server Types > WebSphere application servers > portal_server > Thread pools > WebContainer.

a. Set the value of the Maximum Size field to 100 threads.


7. Change LTPA session Timeout in Productivity Components
Default value is set to 2hrs(120). Change it to 1440 (24 Hours).
WebSphere Application Server 6.1: Security > Secure administration, applications and infrastructure>Authentication mechanisms and expiration> [(Default value) Key set group(=NodeLTPAKeySetGroup)]>Timeout value for forwarded credentials between servers > set to 1440.


8. Click Save to save your configuration changes.

9. Restart Portal for the settings to take effect.


Other Recommended Settings

JVM Heap


If you are migrating large files, increase the JVM heap value to avoid getting an 'OutOfMemoryException'.
The JVM Heap can be set to 1500 or 2000 depending on the amount of RAM available on your system.
Login to admin console, select Application servers > WebSphere Portal > Process Definition > Java Virtual Machine, Change Maximum Heap Size field.

XA Transactions Errors

It is recommended to disable XA transactions which sometimes run at the background. They may interfere with the migration of the large data/files. XA transactions can be disabled by following the steps below.
a. stop the server
b. delete /tranlog folder
c. start server

JCR text search

It is recommended you disable JCR text search indexing on your WebSphere Portal 6.1 server before migration. Doing this will dramatically reduce the load on the database during migration and syndication. To do this, edit was_profile_root/PortalServer/jcr/lib/com/ibm/icm/icm.properties and set "jcr.textsearch.enabled" to false.

After the file is updated, restart your server for the changes to take effect. You must re enable this after migration. It may take some time to rebuild the indexes when you re-enable JCR text search indexing after migration.

Large Document Preview

To preview large documents, make sure that the Maximum preview size limit is set
1. Navigate to Portal Administration -> Portlet Management -> Portlets -> Document Manager -> Configure Portlet.
2. Add the portlet parameter dm.view.document.previewSize.max, set the value.
Note- If using DB2, make sure that fullyMaterializeLobData property is set to false (not that the default is true) in the JDBC driver to allow streaming of large files to avoid an out-of-memory


expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (13)
collapsed Versions (13)
Version Comparison     
VersionDateChanged by              Summary of changes
13Nov 25, 2009 11:55:46 AMRadhika Sohoni  IBM contributor
12Nov 25, 2009 10:15:43 AMRadhika Sohoni  IBM contributor
11Nov 25, 2009 10:07:17 AMRadhika Sohoni  IBM contributor
10Nov 25, 2009 6:31:44 AMRadhika Sohoni  IBM contributor
9Nov 24, 2009 7:05:00 AMRadhika Sohoni  IBM contributor
8Nov 24, 2009 6:45:47 AMRadhika Sohoni  IBM contributor
7Nov 24, 2009 6:41:27 AMRadhika Sohoni  IBM contributor
6Nov 23, 2009 12:23:06 PMRadhika Sohoni  IBM contributor
5Nov 23, 2009 12:15:23 PMRadhika Sohoni  IBM contributor
This version (4)Nov 23, 2009 12:05:27 PMRadhika Sohoni  IBM contributor
3Nov 23, 2009 11:43:25 AMRadhika Sohoni  IBM contributor
2Nov 23, 2009 10:46:17 AMRadhika Sohoni  IBM contributor
1Nov 19, 2009 12:38:16 PMRadhika Sohoni  IBM contributor
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use