Loses connection to socket during upload

Help
rogbetts
2006-01-30
2013-02-24
  • rogbetts
    rogbetts
    2006-01-30

    During an upload all is going swimmingly when for no known reason the following log is given whereupon the upload hangs.

    java.lang.NullPointerException

        at net.sf.jftp.net.DataConnection.run(DataConnection.java:136)

    A full log is given below...

    I would say the problem is not at the server receiving the files as another ftp program uploads successfully every night. Any ideas why this occurs using jftp?

    Roger.

    >

    257 "/deploytest/roger_dev/java/vixensoft/vixen_release/redist" is current directory.

    File: ./redist/jce-jdk12-120.jar

    > File: ./redist/jce-jdk12-120.jar

    > PORT 10,6,100,93,5,27

    > > PORT 10,6,100,93,5,27

    java.lang.NullPointerException

        at net.sf.jftp.net.DataConnection.run(DataConnection.java:136)

        at java.lang.Thread.run(Thread.java:479)

    200 Port command successful.

    > 200 Port command successful.

    Can't open ServerSocket on port 1307

    > Can't open ServerSocket on port 1307

    > STOR jce-jdk12-120.jar

    > > STOR jce-jdk12-120.jar

    Attempt timed out, retrying...

    > Attempt timed out, retrying...

    150 Opening data connection for jce-jdk12-120.jar.

    > 150 Opening data connection for jce-jdk12-120.jar.

    226 File received ok.

    > 226 File received ok.

    226 File received ok.

    > 226 File received ok.

    java.io.InterruptedIOException: Accept timed out

        at java.net.PlainSocketImpl.socketAccept(Native Method)

        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:463)

        at java.net.ServerSocket.implAccept(ServerSocket.java:238)

        at java.net.ServerSocket.accept(ServerSocket.java:217)

        at net.sf.jftp.net.DataConnection.run(DataConnection.java:127)

        at java.lang.Thread.run(Thread.java:479)

    Got IOException while trying to open a socket!

    > Got IOException while trying to open a socket!

    Can't connect socket to ServerSocket

    > Can't connect socket to ServerSocket

    java.lang.NullPointerException