Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

BIX zip file FTP to client has 0 size

SA-97937

Summary



One of the nightly extract files transferred through FTP to the client has a size of 0.


Error Messages



BIXFTPServicePackage/Services/pzFTPService admin - Exception
com.pega.pegarules.pub.PRRuntimeException: FTP Connection failed
    at com.pegarules.generated.activity.ra_action_pzftpservice_24a3cf8093f17fd84ffad712af05dadf.step2_circum0(ra_action_pzftpservice_24a3cf8093f17fd84ffad712af05dadf.java:279) ~[?:?]
    at com.pegarules.generated.activity.ra_action_pzftpservice_24a3cf8093f17fd84ffad712af05dadf.perform(ra_action_pzftpservice_24a3cf8093f17fd84ffad712af05dadf.java:87) ~[?:?]
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3597) ~[prprivate.jar:?]
    at com.pega.pegarules.integration.engine.internal.RuleExecutionUtils.runActivity(RuleExecutionUtils.java:378) ~[printegrint.jar:?]
    at com.pega.pegarules.integration.engine.internal.services.file.RuleServiceFile.parseFileAtTime(RuleServiceFile.java:753) ~[printegrint.jar:?]
    at com.pega.pegarules.integration.engine.internal.services.file.RuleServiceFile.process(RuleServiceFile.java:1753) ~[printegrint.jar:?]
    at com.pega.pegarules.integration.engine.internal.services.file.FileActionImpl.execute(FileActionImpl.java:443) ~[printegrint.jar:?]
    at com.pega.pegarules.storage.DirectoryPollingWatcher.run(DirectoryPollingWatcher.java:83) ~[prprivcommon.jar:?]
    at com.pega.pegarules.integration.engine.internal.services.file.FileListener.run_(FileListener.java:468) ~[printegrint.jar:?]
    at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.run(ServiceListenerBaseImpl.java:454) ~[printegrint.jar:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]

Caused by: java.io.IOException: No such file or directory
    at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_171]
    at java.io.FileInputStream.read(FileInputStream.java:255) ~[?:1.8.0_171]
    at com.pega.pegarules.storage.fs.resadaptor.InputStreamWrapper.read(InputStreamWrapper.java:283) ~[prprivcommon.jar:?]
    at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:636) ~[jsch-0.1.55.jar:?]
    at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:540) ~[jsch-0.1.55.jar:?]
    at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:492) ~[jsch-0.1.55.jar:?]
    at com.pega.pegarules.integration.engine.internal.client.ftp.JschSFTPClient.putFile(JschSFTPClient.java:509) ~[printegrint.jar:?]
    at com.pega.pegarules.integration.engine.internal.connect.ftp.FTPConnectorImpl.invoke(FTPConnectorImpl.java:520) ~[printegrint.jar:?]
    at com.pega.pegarules.integration.engine.internal.util.PRServiceUtils.invokeFTPConnector(PRServiceUtils.java:3313) ~[printegrint.jar:?]
    at com.pegarules.generated.activity.ra_action_pzftpservice_24a3cf8093f17fd84ffad712af05dadf.step2_circum0(ra_action_pzftpservice_24a3cf8093f17fd84ffad712af05dadf.java:275) ~[?:?]
    ... 10 more



Steps to Reproduce



Run the extract.


Root Cause



A defect or configuration issue in the operating environment.


Resolution



Perform the following local-change:
  1. Update the BIX File Listener to 'Lock listener's temporary file' and 'Ignore duplicate file names'.
  2. Update Goofys Cache to add TTL parameter in the cloud environment.

Published February 10, 2020 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us