Re: TextLineDecoder bug?

2007-01-27 Thread James Im
Trustin Lee wrote: Hi James, On 1/23/07, James Im <[EMAIL PROTECTED]> wrote: I need your help to determine if I have found a bug or not. I use a slightly modified version of TextLineDecoder and I got an error in decodeNormal() at line 272 (the line number correspond to the version on the trun

Re: MINA and complex (SEDA) scheduling

2007-01-27 Thread Trustin Lee
Hello Robert, On 1/25/07, robert burrell donkin <[EMAIL PROTECTED]> wrote: it's always great to discover that someone's already thought through and coded a design that was i just feeling towards :-) :) We always welcome your feedback. Please don't hesitate to tell us when you found somethi

Re: Throughput monitoring issues.

2007-01-27 Thread Trustin Lee
On 1/24/07, Julien Vermillard <[EMAIL PROTECTED]> wrote: Le mercredi 24 janvier 2007 à 20:59 +0900, Trustin Lee a écrit : > Hi folks, > > 1) We need 'built-in per-service performance counter in IoService'. > > In the recent talk with Julien about throughput monitoring, we realized that > we need

Re: TextLineDecoder bug?

2007-01-27 Thread Trustin Lee
Hi James, On 1/23/07, James Im <[EMAIL PROTECTED]> wrote: I need your help to determine if I have found a bug or not. I use a slightly modified version of TextLineDecoder and I got an error in decodeNormal() at line 272 (the line number correspond to the version on the trunk): in.limit( in.li

Re: performance issues

2007-01-27 Thread Trustin Lee
Hi Piero, On 1/23/07, PieroPositivo <[EMAIL PROTECTED]> wrote: Hello, I have created a very simple echo server that broadcasts messages to all connected clients. I have one main class and an EchoHandler class that extends IoHandlerAdapter I tested the server with an application that creates s

Re: mina and anonymous session / services

2007-01-27 Thread Trustin Lee
Hi M, On 1/22/07, K. M <[EMAIL PROTECTED]> wrote: Hello, I try to use minia (1.01) to implement MPI message passing interface ( each node is a client and a server) . On the other hand I noticed with jconsole the use of lot of threads ( anonymousSession ..) in the JVM. on each node I save open

[jira] Created: (DIRMINA-342) TCP service not shutting down cleanly

2007-01-27 Thread Trustin Lee (JIRA)
TCP service not shutting down cleanly - Key: DIRMINA-342 URL: https://issues.apache.org/jira/browse/DIRMINA-342 Project: MINA Issue Type: Bug Components: Transport Affects Versions: 1.0.1, 1.

Re: TCP service not shutting down cleanly

2007-01-27 Thread Trustin Lee
I created a JIRA issue regarding the problem: http://issues.apache.org/jira/browse/DIRMINA-342 Trustin On 12/27/06, Marc Boorshtein <[EMAIL PROTECTED]> wrote: I hope everyone had a merry christmas and appoligies for sending this to both lists, but I thought it was applicable to both apacheds

Re: org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12

2007-01-27 Thread Trustin Lee
Does it build OK now? Please let me know in case we are missing something. Trustin On 1/22/07, Eric Liu <[EMAIL PROTECTED]> wrote: thanks, trustin:) 2007/1/22, Trustin Lee <[EMAIL PROTECTED]>: > > Then, it is because codehaus maven repository is dead temporarily. Maven > should continue eve

[jira] Commented: (DIRMINA-261) ioSession.close().join() when SO_LINGERING set

2007-01-27 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468096 ] Trustin Lee commented on DIRMINA-261: - If there's no objection, I'll mark this issue as 'won't fix'. > ioSessio

Re: Terminate client package problem

2007-01-27 Thread Trustin Lee
On 1/22/07, Eugene Labunsky <[EMAIL PROTECTED]> wrote: Hello, I have problem with client package - when link beetwen the client & server (both based on MINA 1.0.1) closed client package exit with code 0. Sure in the NetCatProtocolHandler I have handle OnClosed event and try connect to server li

Re: Persistence connection problem.

2007-01-27 Thread Trustin Lee
On 12/30/06, wrote: So when the total number of incoming messages per second is very big and one server can't cope with the huge throughput, then is there any idea to resolve it ? You could take a look into ReadThrottleFilterBuilder (in org.apache.mina.filter). Trustin -- what we call huma

Re: MINA 1.1

2007-01-27 Thread Trustin Lee
On 12/28/06, Kumaran Arul <[EMAIL PROTECTED]> wrote: When is MINA 1.1 going to be released ? MINA team is currently busy with day job, so it's taking longer than we expect. For now, I am focusing on fixing bugs in 1.0.x. Of course, all fixes will also be applied all branches including 1.1.

Re: How to unit test MessageDecoder and MessageEncoder

2007-01-27 Thread Trustin Lee
Hi Wolverine, On 12/23/06, wolverine my <[EMAIL PROTECTED]> wrote: Hi! I have written my own MessageDecoder and MessageEncoder. Is it possible to unit test these two classes before the server and client areready? Well, it really doesn't have any differences from unit-testing usual java obj

Re: FW: filters

2007-01-27 Thread Trustin Lee
Hi Kamaran, I am sorry for responding late. On 12/22/06, Kumaran Arul <[EMAIL PROTECTED]> wrote: Hi Trustin Congratulations on your good work. I am on a learning curve and may be you could help me with this. If you need code snippet, please let me know. Thank you. Please let us know whene

Re: One selector (thread) per SocketAcceptor?

2007-01-27 Thread Trustin Lee
On 12/21/06, Trustin Lee <[EMAIL PROTECTED]> wrote: On 12/16/06, Newcomb, Michael-P57487 <[EMAIL PROTECTED]> wrote: > > Well, > > I want to accept incoming requests on all 4 nics (each with different > port). So, I create 4 SocketAcceptors. My main question does > Selector.open() create a Threa

[jira] Created: (DIRMINA-341) Allow binding multiple SocketAddresses per IoAcceptor.

2007-01-27 Thread Trustin Lee (JIRA)
Allow binding multiple SocketAddresses per IoAcceptor. -- Key: DIRMINA-341 URL: https://issues.apache.org/jira/browse/DIRMINA-341 Project: MINA Issue Type: New Feature Components:

[jira] Updated: (DIRMINA-326) Cached SSLSessions won't be reused by the SSLFilter if in client mode.

2007-01-27 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-326: Fix Version/s: 2.0.0-M1 > Cached SSLSessions won't be reused by the SSLFilter if in client mode. >

[jira] Commented: (DIRMINA-326) Cached SSLSessions won't be reused by the SSLFilter if in client mode.

2007-01-27 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468094 ] Trustin Lee commented on DIRMINA-326: - Please allow us fix this issue along with DIRMINA-325 in 2.0-M1 because i

[jira] Updated: (DIRMINA-325) Configuration of SSLSession cacheSize and sessionTimeout

2007-01-27 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-325: Fix Version/s: 2.0.0-M1 Please allow us fix this issue in 2.0-M1 because it need changes (addition

[jira] Updated: (DIRMINA-324) ProtocolCodecFilter can not be dynamicly be replaced by another.

2007-01-27 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-324: Fix Version/s: 1.0.2 Affects Version/s: 1.0.1 Should be fixed in 1.0.2. Sorry for being l

Re: setIdleTime question

2007-01-27 Thread Trustin Lee
Any news on this issue? On 12/21/06, Trustin Lee <[EMAIL PROTECTED]> wrote: On 12/20/06, Michael Bauroth <[EMAIL PROTECTED]> wrote: > Hi, > > just a short question: I use in my session handler a feature, which > modifies sometimes the idle time of one defined session (setIdleTime). > I thought

[jira] Created: (DIRMINA-340) Proxy example doesn't work.

2007-01-27 Thread Trustin Lee (JIRA)
Proxy example doesn't work. --- Key: DIRMINA-340 URL: https://issues.apache.org/jira/browse/DIRMINA-340 Project: MINA Issue Type: Bug Components: Example Affects Versions: 1.0.1, 1.0.0 Report

Re: proxy example

2007-01-27 Thread Trustin Lee
Hi Scott, On 12/1/06, Scott C. Ripley <[EMAIL PROTECTED]> wrote: hey all, in order to get the mina-1.0.0 proxy example to work (as anticipated), i had to modify: ServerToProxyIoHandle.java //... public class ServerToProxyIoHandler extends AbstractProxyIoHandler { // previously empty metho

Re: Message rate and size throttle

2007-01-27 Thread Trustin Lee
Sorry for getting back to you so late. On 11/30/06, seven <[EMAIL PROTECTED]> wrote: Hello, I am studying the possibility of migrating a custom blocking network java server to a mina based NIO one in order to be able to handle more clients and higher throughput. The server in question has the

[jira] Updated: (DIRMINA-274) remove java generics compiler warnings

2007-01-27 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-274: Fix Version/s: 1.1.0 Should be fixed in 1.1.0 > remove java generics compiler warnings >

[jira] Updated: (DIRMINA-306) Invalid sequence of events with VmPipe Transport

2007-01-27 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-306: Fix Version/s: 1.0.2 Affects Version/s: 1.0.1 Apologies for letting this issue behind. MI

Changing the default Executor to Executors.newCachedThreadPool()

2007-01-27 Thread Trustin Lee
Hi community, For now, whenever default constructor of ExecutorFilter is called, new instance of Executor is created. This often confuses beginners because they see inifinitely increasing number of threads. I admit that I made a mistake due to my lack of knowledge on java.util.concurrent packag

Re: Apache MINA talk in ApacheCon EU 2007

2007-01-27 Thread Emmanuel Lecharny
Trustin Lee a écrit : Hi folks, I can't go there because I have a lot of things to deal with for my marriage. Man, I'm a little bit disapointed that you favor your wedding to a cool Apache Conference ;) Ok, just kidding. I wish you the best in your new life, this is excellent news ! (May

Re: Changing Codec "on the fly" ?

2007-01-27 Thread Trustin Lee
On 1/27/07, Trustin Lee <[EMAIL PROTECTED]> wrote: Hi Fernando, On 1/25/07, Fernando C. de Castro <[EMAIL PROTECTED]> wrote: > > > Hello, > >I am trying to do something that I don't even know is possible. Can I > change the codec "on the fly"? > > > Let me try and explain what I'm doing so

[jira] Created: (DIRMINA-339) IoFilterChain.replace()

2007-01-27 Thread Trustin Lee (JIRA)
IoFilterChain.replace() --- Key: DIRMINA-339 URL: https://issues.apache.org/jira/browse/DIRMINA-339 Project: MINA Issue Type: New Feature Components: Core Reporter: Trustin Lee Priority:

Re: Changing Codec "on the fly" ?

2007-01-27 Thread Trustin Lee
Hi Fernando, On 1/25/07, Fernando C. de Castro <[EMAIL PROTECTED]> wrote: Hello, I am trying to do something that I don't even know is possible. Can I change the codec "on the fly"? Let me try and explain what I'm doing so you guys can follow my thoughts. On my SessionHandler (extends I

Apache MINA talk in ApacheCon EU 2007

2007-01-27 Thread Trustin Lee
Hi folks, Peter's talk has been accepted. Congratulations! :D http://www.apachecon.com/2007/EU/html/sessions.html/e=MjAwNy9FVQ#1823 I can't go there because I have a lot of things to deal with for my marriage. I posted proposals for OSCON and JavaOne, but I'm not sure my talk will be chosen.

Re: SocketFactory based transport for MINA

2007-01-27 Thread Robert Greig
On 26/01/07, Chris Audley <[EMAIL PROTECTED]> wrote: Has anyone ever written a transport for MINA based on pre-1.4 Sockets and the SocketFactory interface? I see that there is a package for an additional 'socket' transport called 'bio' but it appears to have never contained any code. We wrote