[ 
https://issues.apache.org/jira/browse/FTPSERVER-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Latorre updated FTPSERVER-196:
------------------------------------

    Attachment: ftpserver_in_a_War_Application.zip

Netbeans sample project on how to deploy FtpServer to an application server.  
It is easy enough to create an Eclipse project with these files (you just copy 
the  contents of 'src/java' directory into Eclipse's source root and  web.xml 
to WEB-INF/web.xml. 

Although I tested it with Glassfish, it should work on most application servers 
or Servlet containers. Actually, it seems that a bug on Glassfish 2 (according 
to MINA guys) could prevent FtpServer from running on Windows machines. But it 
is working perfectly on our linux servers.

src/java/ftpd-typical.xml should be edited to point to the appropiate keystore 
and user.properties files ( in resources/ users.properties  there's an example  
of a user.properties files included in the source of Ftpserver core).






> Add an example of FTPserver deployed to an application server.
> --------------------------------------------------------------
>
>                 Key: FTPSERVER-196
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-196
>             Project: FtpServer
>          Issue Type: Improvement
>          Components: Server
>            Reporter: David Latorre
>         Attachments: ftpserver_in_a_War_Application.zip
>
>
> An example should be added where FtpServer is deployed to an application 
> server. 
> Easiest way I can see: 
>    - Deploy a web application containing Ftpserver Jars in WEB-INF/lib
>    - Configure  a Listener in this application which will instantiate 
> FtpServer and call the start() or stop() methods as adequate.
> An example is provided!

-- 
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