The project ftpserver can't work with mina-2.0-m5
-------------------------------------------------

                 Key: DIRMINA-706
                 URL: https://issues.apache.org/jira/browse/DIRMINA-706
             Project: MINA
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.0-M5
         Environment: Windows Xp sp3
Eclipse 3.2
sun jdk-6.0.7
mina-2.0-m5
apache-ftpserver-1.0.0
            Reporter: Chang Xiangzhong
            Priority: Minor


After reading the article [Embedding FtpServer in 5 minutes], I've tried it 
myself. The following is my source code. The server could not be started while 
I was using mina-core-2.0.0-M5.jar. If the jar was changed to 
mina-core-2.0.0-M4.jar everything would went well.




package org.cxz.mina;
import org.apache.ftpserver.FtpServer;
import org.apache.ftpserver.FtpServerFactory;
import org.apache.ftpserver.ftplet.FtpException;
public class FtpSvrMgr {
        public static void main(String[] args) throws FtpException {
                FtpServerFactory serverFactory = new FtpServerFactory();
                FtpServer server = serverFactory.createServer();
                // start the server
                server.start();
        }
}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to