Mina write problem.

2008-12-11 Thread Tasneem Yusuf
Hi, I am using Mina 1.1.0 for developing a server using Java 1.5. I'm facing a problem with writing data back on the network. I receive some data and do some processing and then send some response by writing to the IOSession . But , the data for some reason is not being written to the session.

Questions on MINA as relates to SEDA, and web services

2008-12-11 Thread Steve Rehrauer
Hi - I've spent the last couple of years on a team building a WAN server for an older LAN product. The server design was fixed before I joined the team (not to cast blame, just to say that it was in-flight and deemed immutable). The implementation uses JEE technologies (web services via SOAP

RE: Questions on MINA as relates to SEDA, and web services

2008-12-11 Thread Steve Ash
I can't offer any answers, but have many of the same questions you do as it sounds. Also- I think anyone saying excellent MINA documentation must be speaking sarcastically. There are a few examples, but I have found the documentation lacking with regards to architecture, etc. Not knocking

Re: Questions on MINA as relates to SEDA, and web services

2008-12-11 Thread Emmanuel Lecharny
Steve Rehrauer wrote: Hi - I've spent the last couple of years on a team building a WAN server for an older LAN product. The server design was fixed before I joined the team (not to cast blame, just to say that it was in-flight and deemed immutable). The implementation uses JEE technologies

Re: Questions on MINA as relates to SEDA, and web services

2008-12-11 Thread Emmanuel Lecharny
Steve Ash wrote: I can't offer any answers, but have many of the same questions you do as it sounds. Also- I think anyone saying excellent MINA documentation must be speaking sarcastically. Indeed ;) There are a few examples, but I have found the documentation lacking with regards to

Re: Questions on MINA as relates to SEDA, and web services

2008-12-11 Thread Steve Rehrauer
First, thanks for the response! Emmanuel Lecharny-3 wrote: Anything that take minutes to give back an answer to a decent request needs to be reviewed, that's for sure :) Well, I'm being a bit vague on purpose, to shield the innocent. :-) But suffice to say, this maybe isn't your

Re: Questions on MINA as relates to SEDA, and web services

2008-12-11 Thread Emmanuel Lecharny
Steve Rehrauer wrote: First, thanks for the response! Emmanuel Lecharny-3 wrote: Anything that take minutes to give back an answer to a decent request needs to be reviewed, that's for sure :) Well, I'm being a bit vague on purpose, to shield the innocent. :-) But suffice to say,

Re: Socket file descriptors leak leading to Too Many Files Opened using FTP/S on Linux?

2008-12-11 Thread Fred Moore
Niklas, David, All, here is an update on the problem we reported... more to come as we complete some additional tests tomorrow any HELP is welcome! During the last few days we kept narrowing down the debug scenario in order to have a more precise idea of this blocking problem shape scope. Here

Unix domain sockets...

2008-12-11 Thread Thomas Harning
Is there any reasonable way to use Unix domain sockets w/ Mina (more generally... Java). I have an application using Mina which sometimes needs to be restarted for JAR updates and oftentimes (even if I perform cleanup) it has to try ~40 times [about 1/2 - 2 minutes] to listen on a TCP port

SSL related commands need to be allowed before login

2008-12-11 Thread Sai Pullabhotla
I just got into testing the FTPS portion of the server. It looks like we do NOT allow PBSZ or PROT commands before the user logs in. Shouldn't we be allowing these commands? My understanding from the RFC 2228 is that client first issues AUTH, then possibly several other commands like PBSZ and PROT

Re: SSL related commands need to be allowed before login

2008-12-11 Thread Niklas Gustavsson
On Thu, Dec 11, 2008 at 4:34 PM, Sai Pullabhotla sai.pullabho...@jmethods.com wrote: I just got into testing the FTPS portion of the server. Looking forward to that :-) It looks like we do NOT allow PBSZ or PROT commands before the user logs in. Shouldn't we be allowing these commands? My

Re: SSL related commands need to be allowed before login

2008-12-11 Thread Sai Pullabhotla
The reason I brought this up is because I could not connect with the FTP Client, JFTP (www.jMethods.com) that I wrote. I can connect to pretty much any other FTPS server with it except this. :( I'm sure there might be other clients that do the same and would error out (but I'm not sure). Thanks.

Re: Socket file descriptors leak leading to Too Many Files Opened using FTP/S on Linux?

2008-12-11 Thread David Latorre
Hey, Fred you should try the workaround proposed in security-dev: In JSSE, you can layer a SSLSocket over an existing Socket. That will avoid SSLServerSocket creating the dummy Socket that is eventually leaking the file descriptors. ServerSocket ss = new ServerSocket(port); Socket s =

Re: Can ftpserver server be configure to run as cluster?

2008-12-11 Thread Niklas Gustavsson
On Fri, Dec 12, 2008 at 2:47 AM, Larry Ruiz lrd190...@gmail.com wrote: Hi, I wonder if ftpserver can be configure as a cluster, maybe running several instance that shares the same filesystem..., or what are the possibilities. is there a work in that direction? You can certainly have multiple