Advertisement
Guest User

Untitled

a guest
Jul 13th, 2016
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.99 KB | None | 0 0
  1. FtpTester Output
  2. ================
  3. To test the issue described in http://enterprisedt.com/questions/index.php/11407/ftpinputstream-close-hangs-until-socket-timeout?show=11428 this file lists the output of the FtpTester tool - edtFTPj debug logs enabled - in the following scenarios:
  4. 1. FtpTester Tool with edtFTPj 2.4.0 -> reproduces issue
  5. 2. FtpTester Tool with edtFTPj 2.5.0 -> issue fixed
  6.  
  7. 1. FtpTester Tool with edtFTPj 2.4.0 -> reproduces issue
  8. -------------------------------------------------------------
  9. # /usr/was/was8.5/WebSphere/AppServer/java_1.7.1_64/jre/bin/java -jar ftp-tester-2.4.0.jar ftp://user:password@1.2.3.4/i_dont_exist EDTFTPJ
  10. [16/07/13 14:31:06.378 CEST] main FtpTester I FtpTester main FtpTester tool to test access to FTP servers with different Java FTP client implementations.
  11. [16/07/13 14:31:06.404 CEST] main FtpTester I FtpTester main FTP URL: [ftp://user:password@1.2.3.4/i_dont_exist]
  12. [16/07/13 14:31:06.404 CEST] main FtpTester I FtpTester main Java FTP Client: [EDTFTPJ]
  13. [16/07/13 14:31:06.411 CEST] main EdtFTPjClient I EdtFTPjClient <clinit> Set system properties for edtFTPj: edtftp.log.log4j=[true], edtftp.log.prefix=[com.enterprisedt.]
  14. [16/07/13 14:31:06.457 CEST] main FTPClient D com.enterprisedt.FTPClient invoke0 Class: com.enterprisedt.net.ftp.FTPClient
  15. Location: file:/export/home/cc40/jokroebe/ftp-tester-2.4.0.jar
  16. Version: 2.4.0
  17. Build timestamp: 24-Dec-2012 12:36:06 EST
  18. Java version: 1.7.0
  19. CLASSPATH: ftp-tester-2.4.0.jar
  20. OS name: AIX
  21. OS arch: ppc64
  22. OS version: 6.1
  23.  
  24. [16/07/13 14:31:06.462 CEST] main FileTransferC D com.enterprisedt.FileTransferClient invoke0 Configured client
  25. [16/07/13 14:31:06.464 CEST] main FTPClient D com.enterprisedt.FTPClient invoke0 Connecting to /1.2.3.4:21
  26. [16/07/13 14:31:06.499 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 220 FTP Server EDI01LC20 ready.
  27. [16/07/13 14:31:06.500 CEST] main FileTransferC D com.enterprisedt.FileTransferClient invoke0 Client connected
  28. [16/07/13 14:31:06.501 CEST] main FileTransferC D com.enterprisedt.FileTransferClient invoke0 Logging in
  29. [16/07/13 14:31:06.501 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 ---> USER system
  30. [16/07/13 14:31:06.503 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 331 Password required for system
  31. [16/07/13 14:31:06.507 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 ---> PASS ********
  32. [16/07/13 14:31:06.551 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 230 User system logged in
  33. [16/07/13 14:31:06.551 CEST] main FileTransferC D com.enterprisedt.FileTransferClient invoke0 Logged in
  34. [16/07/13 14:31:06.552 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 ---> TYPE I
  35. [16/07/13 14:31:06.553 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 200 Type set to I
  36. [16/07/13 14:31:06.553 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 ---> PWD
  37. [16/07/13 14:31:06.558 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 257 "/home/system" is the current directory
  38. [16/07/13 14:31:06.559 CEST] main EdtFTPjClient I EdtFTPjClient get Successfully opened and connected FTP connection to [ftp://user:password@1.2.3.4/i_dont_exist], current directory is [/home/syste m]
  39. [16/07/13 14:31:06.559 CEST] main EdtFTPjClient I EdtFTPjClient get Downloading remote [/i_dont_exist] to local [/export/home/cc40/jokroebe/i_dont_exist]...
  40. [16/07/13 14:31:06.569 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke ListenOnAllInterfaces=true
  41. [16/07/13 14:31:06.572 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke ---> PORT 53,1,28,234,131,22
  42. [16/07/13 14:31:06.575 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke 200 PORT command successful
  43. [16/07/13 14:31:06.579 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke ---> RETR /i_dont_exist
  44. [16/07/13 14:31:06.581 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke 550 /i_dont_exist: No such file or directory
  45. [16/07/13 14:31:06.581 CEST] main FTPControlSoc I com.enterprisedt.FTPControlSocket invoke0 Expected reply codes = [125,150]
  46. [16/07/13 14:31:06.584 CEST] main FTPClient E com.enterprisedt.FTPClient invoke0 Caught and rethrowing exception in initGet()
  47. com.enterprisedt.net.ftp.FTPException: /i_dont_exist: No such file or directory
  48. at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:1235)
  49. at com.enterprisedt.net.ftp.FTPClient.initGet(FTPClient.java:3200)
  50. at com.enterprisedt.net.ftp.AbstractFTPInputStream.start(AbstractFTPInputStream.java:108)
  51. at com.enterprisedt.net.ftp.AbstractFTPInputStream.start(AbstractFTPInputStream.java:95)
  52. at com.enterprisedt.net.ftp.FTPBinaryInputStream.read(FTPBinaryInputStream.java:139)
  53. at com.enterprisedt.net.ftp.FTPInputStream.read(FTPInputStream.java:123)
  54. at java.io.InputStream.read(InputStream.java:114)
  55. at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2146)
  56. at org.apache.commons.io.IOUtils.copy(IOUtils.java:2102)
  57. at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2123)
  58. at org.apache.commons.io.IOUtils.copy(IOUtils.java:2078)
  59. at EdtFTPjClient.get(EdtFTPjClient.java:60)
  60. at FtpTester.main(FtpTester.java:55)
  61. [16/07/13 14:31:06.585 CEST] main FTPActiveData D com.enterprisedt.FTPActiveDataSocket invoke close() succeeded
  62. [16/07/13 14:31:06.586 CEST] main AbstractFTPIn D com.enterprisedt.AbstractFTPInputStream invoke Transferred 0 bytes from remote host
  63. [16/07/13 14:32:06.587 CEST] main FTPControlSoc E com.enterprisedt.FTPControlSocket invoke0 Read failed ('' read so far)
  64. [16/07/13 14:32:06.589 CEST] main FtpTester E FtpTester main java.lang.RuntimeException: java.io.IOException: /i_dont_exist: No such file or directory
  65. java.lang.RuntimeException: java.io.IOException: /i_dont_exist: No such file or directory
  66. at EdtFTPjClient.get(EdtFTPjClient.java:64)
  67. at FtpTester.main(FtpTester.java:55)
  68. Caused by: java.io.IOException: /i_dont_exist: No such file or directory
  69. at com.enterprisedt.net.ftp.AbstractFTPInputStream.start(AbstractFTPInputStream.java:117)
  70. at com.enterprisedt.net.ftp.AbstractFTPInputStream.start(AbstractFTPInputStream.java:95)
  71. at com.enterprisedt.net.ftp.FTPBinaryInputStream.read(FTPBinaryInputStream.java:139)
  72. at com.enterprisedt.net.ftp.FTPInputStream.read(FTPInputStream.java:123)
  73. at java.io.InputStream.read(InputStream.java:114)
  74. at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2146)
  75. at org.apache.commons.io.IOUtils.copy(IOUtils.java:2102)
  76. at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2123)
  77. at org.apache.commons.io.IOUtils.copy(IOUtils.java:2078)
  78. at EdtFTPjClient.get(EdtFTPjClient.java:60)
  79. ... 1 common frames omitted
  80. Suppressed: com.enterprisedt.net.ftp.ControlChannelIOException: Read timed out
  81. at com.enterprisedt.net.ftp.FTPControlSocket.readLine(FTPControlSocket.java:1053)
  82. at com.enterprisedt.net.ftp.FTPControlSocket.readReply(FTPControlSocket.java:1088)
  83. at com.enterprisedt.net.ftp.FTPClient.readReply(FTPClient.java:2197)
  84. at com.enterprisedt.net.ftp.AbstractFTPInputStream.close(AbstractFTPInputStream.java:162)
  85. at com.enterprisedt.net.ftp.FTPInputStream.close(FTPInputStream.java:135)
  86. at EdtFTPjClient.get(EdtFTPjClient.java:61)
  87. ... 1 common frames omitted
  88. [16/07/13 14:32:06.591 CEST] main FtpTester I FtpTester main Finished.
  89.  
  90. 2. FtpTester Tool with edtFTPj 2.5.0 -> issue fixed
  91. -------------------------------------------------------------
  92. # /usr/was/was8.5/WebSphere/AppServer/java_1.7.1_64/jre/bin/java -jar ftp-tester-2.5.0.jar ftp://user:password@1.2.3.4/i_dont_exist EDTFTPJ
  93. [16/07/13 14:32:29.103 CEST] main FtpTester I FtpTester main FtpTester tool to test access to FTP servers with different Java FTP client implementations.
  94. [16/07/13 14:32:29.126 CEST] main FtpTester I FtpTester main FTP URL: [ftp://user:password@1.2.3.4/i_dont_exist]
  95. [16/07/13 14:32:29.126 CEST] main FtpTester I FtpTester main Java FTP Client: [EDTFTPJ]
  96. [16/07/13 14:32:29.131 CEST] main EdtFTPjClient I EdtFTPjClient <clinit> Set system properties for edtFTPj: edtftp.log.log4j=[true], edtftp.log.prefix=[com.enterprisedt.]
  97. [16/07/13 14:32:29.171 CEST] main FTPClient D com.enterprisedt.FTPClient invoke0 Class: com.enterprisedt.net.ftp.FTPClient
  98. Location: file:/export/home/cc40/jokroebe/ftp-tester-2.5.0.jar
  99. Version: 2.5.0
  100. Build timestamp: 6-Jul-2016 11:07:02 BST
  101. Java version: 1.7.0
  102. CLASSPATH: ftp-tester-2.5.0.jar
  103. OS name: AIX
  104. OS arch: ppc64
  105. OS version: 6.1
  106.  
  107. [16/07/13 14:32:29.177 CEST] main FileTransferC D com.enterprisedt.FileTransferClient invoke0 Configured client
  108. [16/07/13 14:32:29.178 CEST] main FTPClient D com.enterprisedt.FTPClient invoke0 Connecting to /1.2.3.4:21
  109. [16/07/13 14:32:29.221 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 220 FTP Server EDI01LC20 ready.
  110. [16/07/13 14:32:29.223 CEST] main FileTransferC D com.enterprisedt.FileTransferClient invoke0 Client connected
  111. [16/07/13 14:32:29.224 CEST] main FileTransferC D com.enterprisedt.FileTransferClient invoke0 Logging in
  112. [16/07/13 14:32:29.224 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 ---> USER system
  113. [16/07/13 14:32:29.226 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 331 Password required for system
  114. [16/07/13 14:32:29.227 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 ---> PASS ********
  115. [16/07/13 14:32:29.281 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 230 User system logged in
  116. [16/07/13 14:32:29.282 CEST] main FileTransferC D com.enterprisedt.FileTransferClient invoke0 Logged in
  117. [16/07/13 14:32:29.283 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 ---> TYPE I
  118. [16/07/13 14:32:29.284 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 200 Type set to I
  119. [16/07/13 14:32:29.285 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 ---> PWD
  120. [16/07/13 14:32:29.290 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke0 257 "/home/system" is the current directory
  121. [16/07/13 14:32:29.291 CEST] main EdtFTPjClient I EdtFTPjClient get Successfully opened and connected FTP connection to [ftp://user:password@1.2.3.4/i_dont_exist], current directory is [/home/syste m]
  122. [16/07/13 14:32:29.292 CEST] main EdtFTPjClient I EdtFTPjClient get Downloading remote [/i_dont_exist] to local [/export/home/cc40/jokroebe/i_dont_exist]...
  123. [16/07/13 14:32:29.295 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke ---> SIZE /i_dont_exist
  124. [16/07/13 14:32:29.296 CEST] main FTPControlSoc D com.enterprisedt.FTPControlSocket invoke 550 /i_dont_exist: No such file or directory
  125. [16/07/13 14:32:29.298 CEST] main FtpTester E FtpTester main java.lang.RuntimeException: com.enterprisedt.net.ftp.FTPException: File /i_dont_exist not found.
  126. java.lang.RuntimeException: com.enterprisedt.net.ftp.FTPException: File /i_dont_exist not found.
  127. at EdtFTPjClient.get(EdtFTPjClient.java:64)
  128. at FtpTester.main(FtpTester.java:55)
  129. Caused by: com.enterprisedt.net.ftp.FTPException: File /i_dont_exist not found.
  130. at com.enterprisedt.net.ftp.FTPInputStream.<init>(FTPInputStream.java:90)
  131. at com.enterprisedt.net.ftp.FTPInputStream.<init>(FTPInputStream.java:74)
  132. at com.enterprisedt.net.ftp.FileTransferClient.downloadStream(FileTransferClient.java:814)
  133. at EdtFTPjClient.get(EdtFTPjClient.java:58)
  134. ... 1 common frames omitted
  135. [16/07/13 14:32:29.299 CEST] main FtpTester I FtpTester main Finished.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement