B2B Integration

 View Only
  • 1.  FTP CLIENT PUT FAIL- B2Bi v6.1

    Posted Sat April 17, 2021 07:52 AM
    Hi all,

    My process is started when a file is add in a mailbox, after
    that a routing rule execute my BP to send file to remote ftp server,
    in the ftp put step I receive 553 ftp error code in the ftpclient.log
    register this:

    [2021-04-16 20:10:34.294] ERROR 000000000000 GLOBAL_SCOPE client.FtpCommand.handleDataSendCommand(IS,b,O)For WfID: 361744 caught Exception.
    java.io.FileNotFoundException: /NFS/B2B/DOCUMENTS;/2021/April/0106/673808178dcef0fbcnode1_WF-1.dat (No such file or directory)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:212)
    at java.io.FileInputStream.<init>(FileInputStream.java:152)
    at java.io.FileInputStream.<init>(FileInputStream.java:104)
    at com.sterlingcommerce.woodstock.workflow.DocumentInputStream.readFromFS(DocumentInputStream.java:196)
    at com.sterlingcommerce.woodstock.workflow.DocumentInputStream.read(DocumentInputStream.java:180)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:295)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:356)
    at com.sterlingcommerce.woodstock.services.psclientcommon.ftp.AsciiToFTPInputStream.read(AsciiToFTPInputStream.java:173)
    at java.io.FilterInputStream.read(FilterInputStream.java:118)
    at com.sterlingcommerce.woodstock.services.psftpclient.client.FtpCommand.handleDataSendCommand(FtpCommand.java:354)
    at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at com.sterlingcommerce.woodstock.services.psclientcommon.statemachine.Command.execute(Command.java:91)
    at com.sterlingcommerce.woodstock.services.psclientcommon.statemachine.StateMachine.handleCommand(StateMachine.java:82)
    at com.sterlingcommerce.woodstock.services.psclientcommon.Session.handleCommand(Session.java:149)
    at com.sterlingcommerce.woodstock.services.psftpclient.client.FtpSession.handleCommand(FtpSession.java:283)
    at com.sterlingcommerce.woodstock.services.psclientcommon.ftp.DataTransferAgent.handleDataSendEvent(DataTransferAgent.java:145)
    at com.sterlingcommerce.woodstock.services.psclientcommon.ftp.DataTransferAgent.access$000(DataTransferAgent.java:31)
    at com.sterlingcommerce.woodstock.services.psclientcommon.ftp.DataTransferAgent$1.run(DataTransferAgent.java:70)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:822


    If I restart the BP, the process worked very well, I dont know whats
    happen, someone can help me?

    ------------------------------
    Douglas Rezende
    ------------------------------

    #SupplyChain
    #B2BIntegration


  • 2.  RE: FTP CLIENT PUT FAIL- B2Bi v6.1
    Best Answer

    Posted Sat April 17, 2021 09:01 AM
    Hi,

    Is this a cluster?
    If yes, could you check if same FS location (shared FS)  is configured for document_storage in both the nodes (value of "jdbc.document_dir" property).

    What is the B2Bi version?

    Regards,
    Indu

    ------------------------------
    INDUBHARATHI Routhu Lead Consultant
    ------------------------------



  • 3.  RE: FTP CLIENT PUT FAIL- B2Bi v6.1

    Posted Mon April 19, 2021 08:07 AM
    Hi,
    problem solved, there was a semicolon in the document_dir property.

    Thanks a lot!

     


    ------------------------------
    Douglas Rezende
    ------------------------------



  • 4.  RE: FTP CLIENT PUT FAIL- B2Bi v6.1

    Posted Mon April 19, 2021 09:58 AM
    I have had this issue before.  The problem was that the file name name needs to be unique when putting into the mailbox.  I had a date time stamp and noticed that when concurrent process were putting the files in the mailbox, they had the same name and this getting this error.  I then added the Workflow ID to the filename and I am no longer getting this error as the file names in the mailbox are unique

    ------------------------------
    Martin Galea
    ------------------------------