Re: Error adding ExecutorFilter in Spring

2007-09-14 Thread Decebal Suiu
Thanks Trustin, it's ok now. My spring config file looks like this (for example): bean id=serverSessionHandler class=org.qserver.server.ServerSessionHandler constructor-arg ref=statelessContainer/ /bean bean id=protocolCodecFactory

Re: slightly OT: how to write an NIO provider

2007-09-14 Thread Julien Vermillard
On Thu, 13 Sep 2007 13:02:25 -0400 Mark [EMAIL PROTECTED] wrote: I am looking to write a provider that performs NIO on a Unix Domain Socket. This would be used to communicate between JVMs on the same box and do it in a way that is faster than TCP. Hi Mark, My APR based connector is

[jira] Reopened: (DIRMINA-429) SocketFilterChain.doWrite slows as outstanding writes increase

2007-09-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee reopened DIRMINA-429: - Datagram transport also seems to be affected by this issue. Let's fix it either.

[jira] Updated: (DIRMINA-429) AbstractIoFilterChain.doWrite slows as outstanding writes increase

2007-09-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-429: Component/s: Transport Affects Version/s: 1.0.5 Fix Version/s: (was:

[jira] Updated: (DIRMINA-430) IoSession.getScheduledWriteBytes() slows with size of queue

2007-09-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-430: Component/s: Transport Affects Version/s: 1.0.5 Fix Version/s: (was:

[jira] Assigned: (DIRMINA-429) AbstractIoFilterChain.doWrite slows as outstanding writes increase

2007-09-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee reassigned DIRMINA-429: --- Assignee: Trustin Lee (was: peter royal) AbstractIoFilterChain.doWrite slows as

[jira] Created: (DIRMINA-438) Multicast support for MINA API

2007-09-14 Thread Julien Vermillard (JIRA)
Multicast support for MINA API --- Key: DIRMINA-438 URL: https://issues.apache.org/jira/browse/DIRMINA-438 Project: MINA Issue Type: New Feature Components: Core Reporter: Julien Vermillard

[jira] Reopened: (DIRMINA-431) Deadlock in VmPipe mode

2007-09-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee reopened DIRMINA-431: - This issue can be reproduced and resolved in 1.0 too. Deadlock in VmPipe mode

[jira] Updated: (DIRMINA-431) Deadlock in VmPipe mode

2007-09-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-431: Component/s: (was: Core) Transport Fix Version/s:

[jira] Resolved: (DIRMINA-430) IoSession.getScheduledWriteBytes() slows with size of queue

2007-09-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-430. - Resolution: Fixed Peter, please confirm I didn't break anything. :)

[jira] Resolved: (DIRMINA-431) Deadlock in VmPipe mode

2007-09-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-431. - Resolution: Fixed Peter, please confirm I didn't break anything. :) Deadlock in VmPipe mode

Coding style problem

2007-09-14 Thread Trustin Lee
Hi committers, It seems like old coding style has sneaked into our source code repository. I didn't run automatic formatter, but please fix them as soon as you find any of them. Thanks, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID:

[jira] Resolved: (DIRMINA-429) AbstractIoFilterChain.doWrite slows as outstanding writes increase

2007-09-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-429. - Resolution: Fixed Peter, please confirm I didn't break anything. :)

Re: Coding style problem

2007-09-14 Thread Maarten Bosteels
Hi, Does anyone have a MINA-code-style config for IDEA ? Or am I the only IDEA addict ? Maybe the default style corresponds to the MINA style, I'd have to check that. Maarten On 9/14/07, Trustin Lee [EMAIL PROTECTED] wrote: Hi committers, It seems like old coding style has sneaked into our

Re: slightly OT: how to write an NIO provider

2007-09-14 Thread Mark
Thanks for the information. If you would like any help, please let me know as I have been prototyping all different variations of UnixDomainSockets and Java. -- ..Cheers Mark On 9/14/07, Julien Vermillard [EMAIL PROTECTED] wrote: On Thu, 13 Sep 2007 13:02:25 -0400 Mark [EMAIL PROTECTED]

Re: slightly OT: how to write an NIO provider

2007-09-14 Thread Mark
Oh, and if you have any resources that support the notion that Unix Domain Sockets are no faster than TCP over loopback I would love to see them. I would hate to spend much more time on this project only to find out that TCP would work just as well. Thanks again! -- ..Cheers Mark On 9/14/07,

Re: Coding style problem

2007-09-14 Thread Trustin Lee
Yes, it's up to date. Trustin On 9/14/07, Mark [EMAIL PROTECTED] wrote: Is the latest coding convention guidlines up to date ? http://mina.apache.org/developer-guide.html#DeveloperGuide-CodingConvention -- ..Cheers Mark On 9/14/07, Maarten Bosteels [EMAIL PROTECTED] wrote: Hi,

Re: slightly OT: how to write an NIO provider

2007-09-14 Thread Julien Vermillard
On Fri, 14 Sep 2007 09:18:50 -0400 Mark [EMAIL PROTECTED] wrote: Domain Sockets are no faster than TCP over loopback I would love to see them. I would hate to spend much more time on this project only to find out that TCP would work just as well. Thanks again! -- Unix domain sockets

Re: Coding style problem

2007-09-14 Thread Mark
I just updated filter-codec-http and protocol-http-client to meet the MINA guidelines. -- ..Cheers Mark On 9/14/07, Trustin Lee [EMAIL PROTECTED] wrote: Yes, it's up to date. Trustin On 9/14/07, Mark [EMAIL PROTECTED] wrote: Is the latest coding convention guidlines up to date ?

Re: slightly OT: how to write an NIO provider

2007-09-14 Thread Mark
I think you are confusing User Datagram Protocol with Unix Domain Sockets. UDP are the datagram packets, UDS communicates via a virtual socket represented by a file on POSIX compliant operating systems. -- ..Cheers Mark On 9/14/07, Julien Vermillard [EMAIL PROTECTED] wrote: On Fri, 14 Sep

Re: slightly OT: how to write an NIO provider

2007-09-14 Thread Julien Vermillard
On loopback you won't drop UDP packets, that's the trick ;) On Fri, 14 Sep 2007 11:49:14 -0400 Mark [EMAIL PROTECTED] wrote: I think even I am getting confused. I have a group of processes on a box that will always be on the same box, so I was looking for a fast way for them to communicate.

Re: slightly OT: how to write an NIO provider

2007-09-14 Thread Mark
I think even I am getting confused. I have a group of processes on a box that will always be on the same box, so I was looking for a fast way for them to communicate. My options are: TCP over loopback Unix Domain Sockets Pipes Pipes will not fulfill my needs, so I was looking into Unix Domain

Re: slightly OT: how to write an NIO provider

2007-09-14 Thread Mark
Interesting. Never thought about that. Thanks for the info. -- ..Cheers Mark On 9/14/07, Julien Vermillard [EMAIL PROTECTED] wrote: On loopback you won't drop UDP packets, that's the trick ;) On Fri, 14 Sep 2007 11:49:14 -0400 Mark [EMAIL PROTECTED] wrote: I think even I am getting

SSH and MINA

2007-09-14 Thread jwagner
Forgive me if this has already been asked. I've searched all of the support forums and the internet as a whole and found nothing to point me in the right direction. I'm looking to use MINA with SSH in a server. I haven't been able to find anything that says MINA supports an SSH acceptor out of

Re: SSH and MINA

2007-09-14 Thread Mark
You would have to look at what an IoHandlerAdapter gives you, and then learn the SSH protocol and figure out how the 2 could work together. You might also try searches for java-based SSH client/servers to see how you could fit those into the MINA framework. I would be interested to see how

Re: Coding style problem

2007-09-14 Thread Rodrigo Madera
Trustin, I would recommend you to set up a Subversion commit hook that verifies that every source file is compatible to the formatting rules specified. I saw a couple of examples of how to do this a couple of years ago. I haven't yet implemented it here because we recently switched to mostly

[jira] Commented: (DIRMINA-435) NullPointerException in IoServiceListenerSupport

2007-09-14 Thread Matthew Phillips (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527680 ] Matthew Phillips commented on DIRMINA-435: -- Actually, a better way to do this would be to run just the

Re: Coding style problem

2007-09-14 Thread peter royal
On Sep 14, 2007, at 5:08 AM, Maarten Bosteels wrote: Does anyone have a MINA-code-style config for IDEA ? Or am I the only IDEA addict ? Maybe the default style corresponds to the MINA style, I'd have to check that. You're not alone! Its very close to the default, with a few tweaks. I'll