[jira] Commented: (FTPSERVER-40) Support for SFTP

2009-02-23 Thread Guillaume Nodet (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12675831#action_12675831 ] Guillaume Nodet commented on FTPSERVER-40: -- If you have any questions wrt SSHD,

Re: [VOTE] Releasing FtpServer 1.0.0

2009-02-23 Thread Niklas Gustavsson
On Mon, Feb 23, 2009 at 1:58 AM, Guillaume Nodet gno...@gmail.com wrote: I've just downloaded the sources tar.gz and tried to build those. The org.apache.ftpserver.clienttests.SuspendResumeTest is hanging forever. Is that a know thing ? No, never heard about it before. We're not doing any

Re: [VOTE] Releasing FtpServer 1.0.0

2009-02-23 Thread Guillaume Nodet
On Mon, Feb 23, 2009 at 10:21, Niklas Gustavsson nik...@protocol7.com wrote: On Mon, Feb 23, 2009 at 1:58 AM, Guillaume Nodet gno...@gmail.com wrote: I've just downloaded the sources tar.gz and tried to build those. The org.apache.ftpserver.clienttests.SuspendResumeTest is hanging forever. Is

Re: [VOTE] Releasing FtpServer 1.0.0

2009-02-23 Thread Niklas Gustavsson
On Mon, Feb 23, 2009 at 10:27 AM, Guillaume Nodet gno...@gmail.com wrote: On Mon, Feb 23, 2009 at 10:21, Niklas Gustavsson nik...@protocol7.com wrote: On Mon, Feb 23, 2009 at 1:58 AM, Guillaume Nodet gno...@gmail.com wrote: I've just downloaded the sources tar.gz and tried to build those. The

Re: [VOTE] Releasing FtpServer 1.0.0

2009-02-23 Thread Emmanuel Lecharny
On Mon, Feb 23, 2009 at 10:49 AM, Niklas Gustavsson nik...@protocol7.com wrote: On Mon, Feb 23, 2009 at 10:27 AM, Guillaume Nodet gno...@gmail.com wrote: On Mon, Feb 23, 2009 at 10:21, Niklas Gustavsson nik...@protocol7.com wrote: On Mon, Feb 23, 2009 at 1:58 AM, Guillaume Nodet

Re: [VOTE] Releasing FtpServer 1.0.0

2009-02-23 Thread Guillaume Nodet
FWIW, the test is hanging at the following point: m...@1, priority=5, in group 'main', status: 'RUNNING' at java.net.SocketInputStream.socketRead0(SocketInputStream.java:-1) at java.net.SocketInputStream.read(SocketInputStream.java:129) at

[FtpServer] Suspend problem on OSX (was Re: [VOTE] Releasing FtpServer 1.0.0)

2009-02-23 Thread Niklas Gustavsson
Moving this to it's own thread. On Mon, Feb 23, 2009 at 11:08 AM, Guillaume Nodet gno...@gmail.com wrote: FWIW, the test is hanging at the following point: Looks another case of TCP/IP stacks behaving differently on different platforms. Would you be able to see what state the server socket is

Re: [VOTE] Releasing FtpServer 1.0.0

2009-02-23 Thread David Latorre
+1, Release FtpServer 1.0.0 2009/2/21 Niklas Gustavsson nik...@protocol7.com Hey, this is the vote for the big one dot oh. After our two release candidates, we have fixed two minor bugs and I think we're now ready to go. After 1.0.0, we will start working on patch releases on the 1.0

Re: [VOTE] Releasing FtpServer 1.0.0

2009-02-23 Thread Julien Vermillard
Le Sat, 21 Feb 2009 21:29:52 +0100, Niklas Gustavsson nik...@protocol7.com a écrit : Hey, this is the vote for the big one dot oh. After our two release candidates, we have fixed two minor bugs and I think we're now ready to go. After 1.0.0, we will start working on patch releases on the

Re: [FtpServer] Suspend problem on OSX (was Re: [VOTE] Releasing FtpServer 1.0.0)

2009-02-23 Thread David Latorre
2009/2/23 Niklas Gustavsson nik...@protocol7.com Moving this to it's own thread. On Mon, Feb 23, 2009 at 11:08 AM, Guillaume Nodet gno...@gmail.com wrote: FWIW, the test is hanging at the following point: Looks another case of TCP/IP stacks behaving differently on different platforms.

Re: [FtpServer] Suspend problem on OSX (was Re: [VOTE] Releasing FtpServer 1.0.0)

2009-02-23 Thread Niklas Gustavsson
On Mon, Feb 23, 2009 at 11:20 AM, Niklas Gustavsson nik...@protocol7.com wrote: The timeout on the socket is set to 0, so I suspect it will just wait forever ... Well, at least longer then anyone cares to wait around. I'll set a shorter timeout for it. Commited to trunk and the 1.0.x branch.

Re: [FtpServer] Suspend problem on OSX (was Re: [VOTE] Releasing FtpServer 1.0.0)

2009-02-23 Thread Niklas Gustavsson
On Mon, Feb 23, 2009 at 12:39 PM, Niklas Gustavsson nik...@protocol7.com wrote: Commited to trunk and the 1.0.x branch. The client socket should time out after 10 seconds. Note that while this might cause the test now to work (due to the socket timing out), that's not really fixing the problem.

Re: [FtpServer] Suspend problem on OSX (was Re: [VOTE] Releasing FtpServer 1.0.0)

2009-02-23 Thread Guillaume Nodet
Is that what you are looking for: gnodet:~$ netstat -an | grep 12321 tcp4 0 0 127.0.0.1.12321127.0.0.1.50593ESTABLISHED tcp4 0 0 127.0.0.1.50593127.0.0.1.12321ESTABLISHED tcp4 0 0 *.12321*.*

Re: [FtpServer] Suspend problem on OSX (was Re: [VOTE] Releasing FtpServer 1.0.0)

2009-02-23 Thread Niklas Gustavsson
On Mon, Feb 23, 2009 at 12:54 PM, Guillaume Nodet gno...@gmail.com wrote: Is that what you are looking for: gnodet:~$ netstat -an | grep 12321 tcp4 0 0 127.0.0.1.12321127.0.0.1.50593ESTABLISHED tcp4 0 0 127.0.0.1.50593127.0.0.1.12321

Re: MINA and FtpServer on Apache Harmony

2009-02-23 Thread Niklas Gustavsson
On Fri, Feb 13, 2009 at 10:58 PM, Jeanfrancois Arcand jeanfrancois.arc...@sun.com wrote: Niklas Gustavsson wrote: In an attempt to eat som Apache dogfood, I attempted to build MINA and FtpServer on Apache Harmony. For MINA, Harmony 5.0 M8 crashed. For FtpServer, I get this weird error when

Re: MINA and FtpServer on Apache Harmony

2009-02-23 Thread Jeanfrancois Arcand
Salut, Niklas Gustavsson wrote: On Fri, Feb 13, 2009 at 10:58 PM, Jeanfrancois Arcand jeanfrancois.arc...@sun.com wrote: Niklas Gustavsson wrote: In an attempt to eat som Apache dogfood, I attempted to build MINA and FtpServer on Apache Harmony. For MINA, Harmony 5.0 M8 crashed. For

Re: [FtpServer] Suspend problem on OSX (was Re: [VOTE] Releasing FtpServer 1.0.0)

2009-02-23 Thread Emmanuel Lecharny
I confirm the pb on Mac, Java 1.5.0_16. here is a thread dump : [] [] [] Native filesystem view created for user null with root /Users/elecharny/ftpserver-1.0/ftpserver-1.0.0/core/test-tmp/ftproot/ [] [] [] Native filesystem view created for user null with root

Re: [FtpServer] Suspend problem on OSX (was Re: [VOTE] Releasing FtpServer 1.0.0)

2009-02-23 Thread Emmanuel Lecharny
Sorry for the polution ... There were two thread dump in the previous post. Here is the important one : Full thread dump Java HotSpot(TM) Client VM (1.5.0_16-132 mixed mode, sharing): Low Memory Detector daemon prio=5 tid=0x00608e60 nid=0x1815800 runnable [0x..0x]

Re: [FtpServer] Suspend problem on OSX (was Re: [VOTE] Releasing FtpServer 1.0.0)

2009-02-23 Thread Emmanuel Lecharny
Some more info. I have investigated the pb on Mac Linux. Its behavior is different. What's happening is that when the session is disconnected in the test : public void testSuspendResumeServer() throws Exception { // connect should work as expected client.connect(localhost,