|
Thanks Rory,
we will test this build and report back This deadlock happens when you lost the connection with the FTP server and tries to send a logout () command.
Find below the thead dump from a Solaris box: Full thread dump Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode): "Thread-0" daemon prio=6 tid=0x001cbf18 nid=0x9 runnable [f9a7f000..f9a7fc30]
"Signal Dispatcher" daemon prio=10 tid=0x000cddc0 nid=0x6 waiting on condition [0..0] "Finalizer" daemon prio=8 tid=0x000c7d68 nid=0x4 in Object.wait() [fc77f000..fc77fc30]
"Reference Handler" daemon prio=10 tid=0x000c72e8 nid=0x3 in Object.wait() [fe27f000..fe27fc30]
"main" prio=5 tid=0x000356b8 nid=0x1 in Object.wait() [ffbfe000..ffbff164]
"VM Thread" prio=5 tid=0x000c64a0 nid=0x2 runnable "VM Periodic Task Thread" prio=10 tid=0x000d0c20 nid=0x8 waiting on condition |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This should be fixed in the snapshot of commons-net-2.0, although this requires JDK 1.5+. If you are in a position to test this, it would be great if you can verify if it works or not:
http://people.apache.org/~rwinston/commons-net-2.0/commons-net-ftp-2.0.0-SNAPSHOT.jar