IBM Support

PK75187: UTILITY TO FIND LARGE RESOURCE FILES (IMAGES AND OTHER FILES) STORED IN WCM

 

APAR status

  • Closed as new function.

Error description

  • Content Authors can upload large resources into Image, File and
    Rich Text Components which creates a performance problem as it
    is slow for viewers to download the items.
      There is no fast tool to determine where the large resources
    exist on the system
    The API could be used to determine the size of images for Image
    and File Components however this would be quite slow as it will
    need to retrieve each item separately. There is no API tool to
    find the size of embedded images in Rich Text fields.
    

Local fix

  • A new module is created called FindLargeResourcesModule. This
    will find all Image File and Rich Text Component's resources
    that are greater then a specified minimum size. If no size is
    specified, it will look by default for resources greater then 1
    Megabyte. For Rich Text Components, it will not find resources <
    2 Megabytes. The url parameter for the minimum size to check is
    "min_size" and the value is a number in bytes.
    
    The result will output each resource items name, path, type and
    resource size.
    
    The following lines should be added to the
    WCMConfigService.properties file in [Portal
    directory]/wcm/shared/app/config/wcmservices
    
    connect.businesslogic.module.findlargeresources.class=com.ibm.wo
    rkplace.wcm.services.statistics.FindLargeResourcesModule
    connect.businesslogic.module.findlargeresources.remoteaccess=tru
    e
    connect.businesslogic.module.findlargeresources.autoload=false
    
    and append findlargeresources to this key:
    'connect.businesslogic.module'
    i.e.
    connect.businesslogic.module=template,multi_template,web,mail,fo
    rm,aggregator,default,ajpe,federatedproxy,ajpecatselect,memberfi
    xer,versioningenablement,workflowenablement,itemdispatcher,pluto
    uploadfile,plutodownloadfile,ensureusermanagement,pdmproxy,synd,
    subs,syndication,refreshallitems,unlocklibrary,findlargeresource
    s,custom
    

Problem summary

  • Content Authors can upload large resources into Image, File and
    Rich Text Components which creates a performance problem as it
    is slow for viewers to download the items.
      There is no fast tool to determine where the large resources
    exist on the system.
    The API could be used to determine the size of images for Image
    and File Components however this would be quite slow as it will
    need to retrieve each item separately. There is no API tool to
    find the size of embedded images in Rich Text fields.
    

Problem conclusion

  • A new module is created called FindLargeResourcesModule. This
    will find all Image File and Rich Text Component's resources
    that are greater then a specified minimum size. If no size is
    specified, it will look by default for resources greater then 1
    Megabyte. For Rich Text Components, it will not find resources <
    2 Megabytes. The url parameter for the minimum size to check is
    "min_size" and the value is a number in bytes.
    
    The result will output each resource items name, path, type and
    resource size.
    
    The following lines should be added to the
    WCMConfigService.properties file in [Portal
    directory]/wcm/shared/app/config/wcmservices
    
    connect.businesslogic.module.findlargeresources.class=com.ibm.wo
    rkplace.wcm.services.statistics.FindLargeResourcesModule
    connect.businesslogic.module.findlargeresources.remoteaccess=tru
    e
    connect.businesslogic.module.findlargeresources.autoload=false
    
    and append findlargeresources to this key:
    'connect.businesslogic.module'
    i.e.
    connect.businesslogic.module=template,multi_template,web,mail,fo
    rm,aggregator,default,ajpe,federatedproxy,ajpecatselect,memberfi
    xer,versioningenablement,workflowenablement,itemdispatcher,pluto
    uploadfile,plutodownloadfile,ensureusermanagement,pdmproxy,synd,
    subs,syndication,refreshallitems,unlocklibrary,findlargeresource
    s,custom
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK75187

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    60G

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-11-07

  • Closed date

    2008-11-07

  • Last modified date

    2008-12-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R60H PSY

       UP

Document information

More support for: IBM Web Content Manager

Software version: 6.0.1.3

Reference #: PK75187

Modified date: 02 December 2008