IBM Support

JR49014: THE WRITEDATATOFILE METHOD FAILS WHEN CALLED IN BPM V8.5 WHEN THE DATA IS LARGER THEN 1MB

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The customer has a BPD running on v8.5. They have a coach which
    uses the Document Attachment control to "upload" a file from a
    URL or from the local file directory. Then they have a
    subsequent JavaScript activity that is attempting to write that
    file locally using writeDataToFile . When the file is less than
    1024K / 1Mb (1 megabyte) in size, the Java script works, but
    when the file is
    larger then 1024K the script fails.
    The error likely contains a message such as: "Internal Script
    error: com.lombardisoftware.core.TeamWorksException: Caught
    exception while trying to write data to file"
    

Local fix

  • If DB2 is the database used, in some cases but not all, setting
    the following JDBC driver  properties were found to get past
    this issue:
    - progressiveStreaming=2
    - fullyMaterializedLobData=true
    

Problem summary

  • When writing data to the embedded ECM system via JavaScript API
    writeDataToFile, this fails for data larger than 1024 kb with
    an exception.
    
    PROBLEM DETAILED DESCRIPTION:
    Actually there was a limitation in the embedded ECM system that
    has limited the size of data that can be uploaded to 1024 kb.
    

Problem conclusion

  • With this interim fix the limitation of the embedded ECM system
    will be lifted so that the limitation of 1024 kb does no longer
    exist.
    
    FIX AVAILABILITY:
    iFix for 8.5.0.0 is/will be available on Fix Central; search for
    APAR JR49014 at http://www.ibm.com/support/fixcentral/
    iFix for 8.5.0.1 is/will be available on Fix Central; search for
    APAR JR49014 at http://www.ibm.com/support/fixcentral/
    
    When obtaining any of the above fixes, be sure to download the
    accompanying readme, for itself, and any prerequisite fixes, and
    review them thoroughly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR49014

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-09

  • Closed date

    2014-03-12

  • Last modified date

    2015-04-08

  • 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

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
08 April 2015