mina-ftpserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Curt Johansson" <cu...@telia.com>
Subject Re: MinaListener
Date Tue, 24 Jun 2008 22:34:25 GMT
Niklas et al,

I modified the configuration file as you instructed  and found that the 
NioListener is missing SetAddress and SetPort as per the "old" config file. 
Removed these from the config and got a port unreachableException on the 
first access but the access succeeded. I haven't investigated this further 
yet so I don't expect you to have an answer on that but could you share a 
sample config file that will work for the current implementation.

I also found a spring config-file in the test directory. I haven't tried it 
but saw that some entries in the original config file is missing, e.g. 
configuration of messages and file-system. Do I use the original config file 
to configure whats not in the spring config file if I use Spring?

Curt Johansson

----- Original Message ----- 
From: "Curt Johansson" <curtj@telia.com>
To: <ftpserver-users@mina.apache.org>
Sent: Sunday, June 15, 2008 8:48 PM
Subject: Re: MinaListener

> Great thanks for being on duty on a weekend :-)
> I'll try them out later tonight and let you know if there are other 
> issues.
> Best
> Curt Johansson
> ----- Original Message ----- 
> From: "Niklas Gustavsson" <niklas@protocol7.com>
> To: <ftpserver-users@mina.apache.org>; <curtj@telia.com>
> Sent: Sunday, June 15, 2008 8:15 PM
> Subject: Re: MinaListener
> Hi
> Sorry, I should have posted a heads-up before making these changes.
> It's not related to the Spring configuration support. Instead I've
> started to clean up our package structure and interfaces. In lots of
> places we have accumulated a lot of crappy namings and duplicate
> methods. I'm working on the documentation for these changes, stay
> tuned. Also, be aware that I'll be making more changes like this in
> the next couple of days, again cleaning up the code. Of course, if
> anyone got any feedback on the changes, feel free to provide it here
> :-)
> Let's focus on the issues you got:
> * MinaListener has been renamed to NioListener to better reflect it's 
> behavior
> * The data-connection (setDataConnection()) setter has been removed,
> instead use data-connection-configuration
> Hope that helps for now!
> /niklas
> On Sun, Jun 15, 2008 at 4:45 PM,  <curtj@telia.com> wrote:
>> Again ..
>> I assume this "issue" is a result of the Springification of the ftp-
>> server which is a good thing but does that mean that the previous way
>> to configure isn't supportet anymore? Is there any documentation on
>> this "new" feature and any sample Spring context file, in addion to
>> those small snippets we've seen so far?
>> Best
>> Curt Johansson
>> ----Ursprungligt meddelande----
>> Från: curtj@telia.com
>> Datum: 15-06-2008 16:25
>> Till: <ftpserver-users@mina.apache.org>
>> Ärende: MinaListener
>> Hi Niklas (and others),
>> I just updated my project to get the latest bugfixes and improvements
>> and realised that the MinaListener was removed completly. That's fine
>> with me but whats the replacement? I tried NioListener but the
>> configuration fails on
>> "Unknown property "data-connection" on class org.apache.ftpserver.
>> listener.nio.NioListener". Unfortunately I didn't save a copy of the
>> previous that worked and now I need to get this up and running ASAP
>> soo
>> I need some help urgently.
>> On another completely different issue which might be considered a
>> bug.
>> In the PASS file the login time and last accessed time is set AFTER
>> the
>> ftplets are activated. I would like this to be done BEFORE my ftplet:
>> OnLogin is called to have the information available.
>> Thanks ia
>> Curt Johansson

View raw message