Re: MINA and prebinding of privileged ports

2008-02-25 Thread peter royal
On Feb 25, 2008, at 12:55 PM, David Connelly wrote: How about just a variant on bind() that takes a ServerSocket(Channel) rather than an IP/port combination? This is essentially what I had done except I called this new method 'register' rather than 'bind' in order to reflect that the server

[FtpServer] pom.xml questions

2008-02-25 Thread Mark Webb
I am having a problem generating eclipse project files for this project. It appears that the pom.xml is referencing "1.0.0-SNAPSHOT" instead of "1.0-incubator-SNAPSHOT". Am I doing something wrong, or is this a problem? As I get this error, I wonder why the ftplet-api is required to be downloade

Re: [Fwd: Mina 2 problem - InvalidMarkException in java.nio.Buffer] - further thoughts

2008-02-25 Thread Mark Webb
I think I understand your problem, but maybe a sample program would make things clearer... On Mon, Feb 25, 2008 at 6:51 PM, Yigal Rachman <[EMAIL PROTECTED]> wrote: > Hi, Folks: > > I am thinking that the synchronizing bug is almost certainly in my > application code. Said application uses the

[Fwd: Mina 2 problem - InvalidMarkException in java.nio.Buffer] - further thoughts

2008-02-25 Thread Yigal Rachman
Hi, Folks: I am thinking that the synchronizing bug is almost certainly in my application code. Said application uses the Timer class to invoke some asynchronous processing. The methods are all synchronized, but probably on the wrong instance! So my follow-up question is: If I need to ensur

Mina 2 problem - InvalidMarkException in java.nio.Buffer

2008-02-25 Thread Yigal Rachman
Hi, Folks: I am biting the bullet and porting to Mina 2.0.0-M1. Thus far, I seem to have resolved all the changes without much pain. I love the look of the revised Mina - elegant and even simpler to use - wow! I have, however, run into a problem which appears to come from the bowels of Min

Re: [FtpServer] Dropping support for the admin GUI

2008-02-25 Thread Niklas Gustavsson
Mark Webb wrote: I would not mind keeping it in. I think it is a nice part to the program. As long as the FTP server can exist separate from the GUI, I see no reason to delete the work that has been done on it. The reason for me not wanting to maintain it (which I should have mentioned in my

Re: Suggestion

2008-02-25 Thread Emmanuel Lecharny
Aviator wrote: It would be nice to use MINA in a real production application but we are hesitant to do so -- as it would mean that some of our development team would have to start looking through the MINA source to understand deeper what it is capable of -- as well as how to solve certain problems

Re: [FTPServer] Plans for Logging

2008-02-25 Thread Niklas Gustavsson
Dave Roberts wrote: I see MINA provides a SessionLogger, and the latest FTP Server code also refers to the (now defunct) IoSessionLogger, as well as a reference to MDC. However I don't see MDC as the magic wand solution here, as it simply provides a per-thread area for static data. ... Just

Re: MINA and prebinding of privileged ports

2008-02-25 Thread David Connelly
Hi Peter, > How about just a variant on bind() that takes a ServerSocket(Channel) > rather than an IP/port combination? This is essentially what I had done except I called this new method 'register' rather than 'bind' in order to reflect that the server socket had been previously bound, but ei

Re: Suggestion

2008-02-25 Thread Mark Webb
Could you point out some areas in which documentation is lacking? I understand that there are many areas that could use more documentation, but having a list would be something nice to work off of. On Mon, Feb 25, 2008 at 2:39 PM, Aviator <[EMAIL PROTECTED]> wrote: > > Dear Mina Dev Team, > >

Suggestion

2008-02-25 Thread Aviator
Dear Mina Dev Team, I have been using MINA for the past two weeks now and must say that it is impressive. Before hearing about MINA I had built my own NIO toolkit which drew upon the ideas from SEDA. I wish to offer one suggestion -- as wonderful as MINA is -- the documentation is sparse at b

Apache MINA 2.0.0-M1 release

2008-02-25 Thread Mike Heath
The Apache MINA project is pleased to announce the release of MINA 2.0.0-M1. Apache MINA is a network application framework which helps users develop high performance and high scalability network applications easily. It provides an abstract, event-driven, asynchronous API over various transports s

blocked NioSocketAcceptor.unbind cal l

2008-02-25 Thread 차민창
Hi, I`m new to Mina 2.0.0M. I`m writting a simple server with reading 'MINA v2.0 Quick Start Guide'. Now it seems like working fine at least interacting packets. But there is a problem with calling NioSocketAcceptor.unbind to terminate server. When I was calling the method, my server application

Re: MINA and prebinding of privileged ports

2008-02-25 Thread peter royal
On Feb 24, 2008, at 6:56 PM, David Connelly wrote: Unfortunately, the SocketAcceptor bind() method not only binds the server socket but starts listening on the server channel immediately as well, which prevents prebinding of the ports. Our temporary workaround has been to add a new 'register

[FTPServer] Plans for Logging

2008-02-25 Thread Dave Roberts
With the "standard" IOListener, it was easy to trace each connection within the log output, because each connection was handled by a different thread. Filtering by thread ID, gave the full picture. With the MinaListener, multiple connections are handled by a single thread, and it's not possible t

[jira] Updated: (DIRMINA-536) TextLineDecoder throws an IndexOutOfBoundsException

2008-02-25 Thread Edouard De Oliveira (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edouard De Oliveira updated DIRMINA-536: Component/s: Filter > TextLineDecoder throws an IndexOutOfBoundsException > --

[jira] Created: (DIRMINA-536) TextLineDecoder throws an IndexOutOfBoundsException

2008-02-25 Thread Edouard De Oliveira (JIRA)
TextLineDecoder throws an IndexOutOfBoundsException --- Key: DIRMINA-536 URL: https://issues.apache.org/jira/browse/DIRMINA-536 Project: MINA Issue Type: Bug Affects Versions: 1.1.6, 1.0.9,

Re: [FtpServer] Dropping support for the admin GUI

2008-02-25 Thread Mark Webb
I would not mind keeping it in. I think it is a nice part to the program. As long as the FTP server can exist separate from the GUI, I see no reason to delete the work that has been done on it. If I am the only one speaking up for this, then I will have no problem maintaining it Mark On Mo

[FtpServer] Dropping support for the admin GUI

2008-02-25 Thread Niklas Gustavsson
Hi, as part of restructuring our configuration I'm planning on dropping the FtpServer Admin GUI (the Swing client) from our distribution. Please raise your voice if this component is critical for you or if you would like to maintain it (I would be happy to help with applying patches). /nikl

[Asyncweb] FileService as module or in server ?

2008-02-25 Thread Julien Vermillard
Hi, I made a little example for serving static files with Asyncweb server. the code is here : http://tinyurl.com/2ytays The example growed a little and now contain more feature like : - pluggable directory index generator - pluggable file loading strategies - mime-type guessed by file extensi