by cfougere_GE » Sat Jun 28, 2008 3:16 am
The file (typically) is being put successfully but the client is crashing trying to run the verify portion after the put.
14:04:40.683 COL D 5192 (java_extensions.cxx:1442): Uploading file: \\electra\pms\download\adv-c\advft-g\remit-us11-adv-advft-062408-1008.rcv
14:04:40.683 COL D 5192 (java_extensions.cxx:1442): DEBUG [SocketUtils] 27 Jun 2008 14:04:40.683 : Could not use Socket.isConnected (java.lang.NoSuchMethodException)
14:04:40.699 COL D 5192 (java_extensions.cxx:1442): DEBUG [FTPControlSocket] 27 Jun 2008 14:04:40.699 : ---> PORT 204,165,247,14,16,128
14:04:40.746 COL D 5192 (java_extensions.cxx:1442): DEBUG [FTPControlSocket] 27 Jun 2008 14:04:40.746 : 200 PORT command successful.
14:04:40.746 COL D 5192 (java_extensions.cxx:1442): DEBUG [FTPControlSocket] 27 Jun 2008 14:04:40.746 : ---> STOR remit-us11-adv-advft-062408-1008.rcv
14:04:40.871 COL D 5192 (java_extensions.cxx:1442): DEBUG [FTPControlSocket] 27 Jun 2008 14:04:40.871 : 150 Opening data connection for $1$DGA10:[ECOMREMIT]remit-us11-adv-advft-062408-1008.rcv; (XXX.16X.24X.1X,4224)
14:04:40.871 COL D 5192 (java_extensions.cxx:1442): DEBUG [FTPActiveDataSocket] 27 Jun 2008 14:04:40.871 : Calling accept()
14:04:40.871 COL D 5192 (java_extensions.cxx:1442): DEBUG [FTPActiveDataSocket] 27 Jun 2008 14:04:40.871 : accept() succeeded
14:04:41.652 COL D 5192 (java_extensions.cxx:1442): DEBUG [FTPActiveDataSocket] 27 Jun 2008 14:04:41.652 : closeChild() succeeded
14:04:41.652 COL D 5192 (java_extensions.cxx:1442): DEBUG [FTPActiveDataSocket] 27 Jun 2008 14:04:41.652 : close() succeeded
14:04:41.652 COL D 5192 (java_extensions.cxx:1442): DEBUG [FTPClient] 27 Jun 2008 14:04:41.652 : Transferred 219926 bytes to remote host
14:04:41.668 COL D 5192 (java_extensions.cxx:1442): DEBUG [SocketUtils] 27 Jun 2008 14:04:41.668 : Could not use Socket.isConnected (java.lang.NoSuchMethodException)
14:14:41.668 COL D 5192 (java_extensions.cxx:1442): DEBUG [FTPClient] 27 Jun 2008 14:14:41.668 : Validate transfer on error after exception : Read timed out
14:14:41.683 COL D 5192 (java_extensions.cxx:1442): java.io.InterruptedIOException: Read timed out [THROWING]: java.io.InterruptedIOException: Read timed out
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.InputStreamReader.fill(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at com.enterprisedt.net.ftp.FTPControlSocket.D(Unknown Source)
at com.enterprisedt.net.ftp.FTPClient.validateTransfer(Unknown Source)
at com.enterprisedt.net.ftp.FTPClient.put(Unknown Source)
at com.enterprisedt.net.ftp.FTPClient.put(Unknown Source)
at com.enterprisedt.net.ftp.FTPClient.put(Unknown Source)
at com.idx.ec.caft.filetransfer.EDTFTPBase.uploadFile(EDTFTPBase.java:94)
at com.idx.ec.caft.ConnectionManager.uploadFile(ConnectionManager.java:273)
at com.idx.ec.caft.logic.ByAllOut.processState(ByAllOut.java:47)
at com.idx.ec.caft.logic.ByAllBase.processStates(ByAllBase.java:105)
at com.idx.ec.caft.CAFTBase.runCAFT(CAFTBase.java:131)
at crRTECAFT.processMessage(crRTECAFT.java:92)
at com.idx.ec.egate.file.ECBaseCollaboration2.executeBusinessRules(ECBaseCollaboration2.java:255)
at com.stc.jcsre.JCollaboration.translate(JCollaboration.java:148)
at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:568)
14:14:41.683 COL D 5192 (java_extensions.cxx:1442): DEBUG [SocketUtils] 27 Jun 2008 14:14:41.683 : Could not use Socket.isConnected (java.lang.NoSuchMethodException)
14:14:41.683 COL D 5192 (java_extensions.cxx:1442): DEBUG [SocketUtils] 27 Jun 2008 14:14:41.683 : Could not use Socket.isConnected (java.lang.NoSuchMethodException)
14:14:42.183 COL D 5192 (java_extensions.cxx:1442): WARN [FTPClient] 27 Jun 2008 14:14:42.183 : Validate transfer on error failed : Read timed out
14:14:42.183 COL D 5192 (java_extensions.cxx:1442): java.io.InterruptedIOException: Read timed out [THROWING]: java.io.InterruptedIOException: Read timed out
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.InputStreamReader.fill(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at com.enterprisedt.net.ftp.FTPControlSocket.D(Unknown Source)
at com.enterprisedt.net.ftp.FTPClient.validateTransfer(Unknown Source)
at com.enterprisedt.net.ftp.FTPClient.validateTransferOnError(Unknown Source)
at com.enterprisedt.net.ftp.FTPClient.put(Unknown Source)
at com.enterprisedt.net.ftp.FTPClient.put(Unknown Source)
at com.enterprisedt.net.ftp.FTPClient.put(Unknown Source)
at com.idx.ec.caft.filetransfer.EDTFTPBase.uploadFile(EDTFTPBase.java:94)
at com.idx.ec.caft.ConnectionManager.uploadFile(ConnectionManager.java:273)
at com.idx.ec.caft.logic.ByAllOut.processState(ByAllOut.java:47)
at com.idx.ec.caft.logic.ByAllBase.processStates(ByAllBase.java:105)
at com.idx.ec.caft.CAFTBase.runCAFT(CAFTBase.java:131)
at crRTECAFT.processMessage(crRTECAFT.java:92)
at com.idx.ec.egate.file.ECBaseCollaboration2.executeBusinessRules(ECBaseCollaboration2.java:255)
at com.stc.jcsre.JCollaboration.translate(JCollaboration.java:148)
at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:568)
We've wrapped this call with our own file management and catch all exceptions and retry, but certain files just will not finish the put() no matter how many times they retry. We send down thousands of files per day, and have only 2 customers with this issue, and with these customers the issue is intermittent. Some files are successfull going to this directory.
Ideas?
Thanks.