IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

Encryption failed with following error: Status = -1

  • 1.  Encryption failed with following error: Status = -1

    Posted 07/15/10 11:02 AM

    Hi,

    When i try to encrypt a large file, the PGP encryption service returned Status cdode withvalue of -1; Is there are any limitation for size of file? Or webMethods Integration Server ran out of memory when encrypting such large file?

    Thanks, Aleks!


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Encryption failed with following error: Status = -1

    Posted 07/16/10 10:33 PM

    Aleks,

    For large files it is recommended to use the file based services. The string-based services run the entire file through the JVM which is not efficient since the PGP sign/encrypt is being done in an external process.

    pub.openpgp.encrypt works on strings, pub.openpgp.encryptFile works on files.

    – Tim


    #Integration-Server-and-ESB
    #webMethods