Re: Please review the new version numbering scheme.

2006-11-10 Thread Trustin Lee
r increases when there are incompatible changes in the API. > > -Please note that we don't omit the micro number even if it's zero. > +Please note that we always specify the micro number, even if it's zero. > > Kind regards, > Maarten > > On 11/10/06, Trust

Re: list renamed [EMAIL PROTECTED]

2006-11-10 Thread Trustin Lee
On 11/11/06, Joe Schaefer <[EMAIL PROTECTED]> wrote: This list has been renamed [EMAIL PROTECTED] Additionally, [EMAIL PROTECTED] has been created. All mina users might want to subscribe to [EMAIL PROTECTED] to get support from all community members. Trustin -- what we call human nature is

Re: list renamed [EMAIL PROTECTED]

2006-11-11 Thread Trustin Lee
On 11/11/06, Jeroen Brattinga <[EMAIL PROTECTED]> wrote: Btw, what does this change for the subscribe/unsubscribe actions mentioned on http://mina.apache.org/mailing-lists.html ? I guess there are other mail addresses needed (for dev and user(s) )? Yes. The page should be updated, but we nee

Re: VmPipe Transport

2006-11-11 Thread Trustin Lee
Hi Simon, On 11/12/06, Simon Raess <[EMAIL PROTECTED]> wrote: Hi I've stumbled across an issue with VmPipe transport. The following scenario highlights the issue: - listener and initiator using VmPipeAcceptor / VmPipeConnector - initiator connects to listener - listener IoHandler#sessionOpene

Re: list renamed [EMAIL PROTECTED]

2006-11-12 Thread Trustin Lee
On 11/13/06, peter royal <[EMAIL PROTECTED]> wrote: On Nov 11, 2006, at 6:24 PM, Jeff Schnitzer wrote: > Out of curiosity, why separate dev and users lists? Since MINA is > a library, pretty much everyone using it is some sort of java > developer. I can't imagine a discussion on the dev list t

Re: Problem of SocketConnector

2006-11-14 Thread Trustin Lee
We'd better add this answer to our FAQ page. IIRC, we got this same question more than ten times. :D Trustin On 11/14/06, Niklas Therning <[EMAIL PROTECTED]> wrote: tan wenlong wrote: > Hi,When I use the SocketConnector send messages to Server, Sometime It will send several messages as one me

Re: Problem of SocketConnector

2006-11-14 Thread Trustin Lee
On 11/15/06, Cameron Taggart <[EMAIL PROTECTED]> wrote: Added to FAQ. http://cwiki.apache.org/confluence/display/MINA/FAQ#FAQ-WhydoesSocketConnectorsendseveralmessagesasonemessage%3F Looks great! Thanks, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/

Re: LoggingFilter and SessionLog

2006-11-15 Thread Trustin Lee
Hi Niklas, On 11/15/06, Niklas Therning <[EMAIL PROTECTED]> wrote: Hi, I'd like to make some changes to these classes. First of all the lines if( SessionLog.isInfoEnabled( session ) ) { SessionLog.error( session, "EXCEPTION:", cause ); } in LoggingFilter l

Re: [mina] Traffic Control: session still received messages from the socket however i call IoSession.suspendRead()?

2006-11-16 Thread Trustin Lee
On 11/16/06, Hieu Phan Thanh <[EMAIL PROTECTED]> wrote: Hi, I have been applying Traffic Control to my software. I encountered some problems. Would you please share experience with? Why the session still receives message however I called IoSession.suspendRead()? Even if you called suspendRea

Re: netty 2, Mina, & OSGi

2006-11-16 Thread Trustin Lee
Hi John, Sorry for the late response. On 11/14/06, John E. Conlon <[EMAIL PROTECTED]> wrote: Am working on an integration-osgi project for mina. It's simply a pom.xml that wraps classes from mina into a OSGi jar/bundle. While analyzing the created bundle I noticed a problem where there were u

Re: java.net.SocketException: Too many files open

2006-11-16 Thread Trustin Lee
Hello Karthik, Please send your questions and ideas to [EMAIL PROTECTED] You can also subscribe to the mailing list by sending an empty message to [EMAIL PROTECTED] On 11/17/06, Shyamsunder, Karthik <[EMAIL PROTECTED]> wrote: We are am kind of stuck on a problem and we are looking for some di

Is MINA ByteBuffer pool of dubious value?

2006-11-17 Thread Trustin Lee
Hi, I ran some performance test with the following settings: * Direct buffer with PooledByteBufferAllocator * Heap buffer with PooledByteBufferAllocator * Heap buffer with SimpleByteBufferAllocator PooledByteBufferAllocator is the default allocator that MINA uses to allocate ByteBuffers. It po

Re: Is MINA ByteBuffer pool of dubious value?

2006-11-17 Thread Trustin Lee
On 11/17/06, Robert Greig <[EMAIL PROTECTED]> wrote: > PS: I beat Apache HTTP 2.0.55 with MINA + AsyncWeb today. I was able to get > 20,000 msg/sec throughput with my dual core opteron dual box. I will give > you an update later when more data is gathered and feel confident that I > configured

Re: Release 1.0.1 or Snapshot 1.1.0 availability

2006-11-17 Thread Trustin Lee
On 11/17/06, Martin Ritchie <[EMAIL PROTECTED]> wrote: Hi guys, I just wondered if you know when you will be releasing 1.0.1? If it is not any time soon will the 1.1.0 snapshot that was in the maven repository be made available again? Our move to maven on the qpid project is forcing us to use b

Fwd: LICENSE file in Directory artifacts

2006-11-17 Thread Trustin Lee
We got the same problem. -- Forwarded message -- From: Jeremias Maerki <[EMAIL PROTECTED]> Date: Nov 17, 2006 5:38 PM Subject: LICENSE file in Directory artifacts To: [EMAIL PROTECTED] I've just stumbled over the LICENSE files in your project. They only contain the boiler plate n

Re: TCP packet delivery failure

2006-11-18 Thread Trustin Lee
Hello Akbar, On 11/18/06, Akbar Munir Chaudhary <[EMAIL PROTECTED]> wrote: In the case of packet being successfully delivered, MINA does fire IoHandler.messageWritten(). But if from some reason, the packet can not be delivered, is there a notification that my application can listen to to proces

[VOTE][RESULT] Releasing MINA 0.8.4.

2006-11-19 Thread Trustin Lee
Hi, The vote was open for a very long time. There were not many votes probably because of lack of interest in favor of MINA 1.0.0: Binding +1s: Trustin Lee Enrique Rodriguez Alex Karasulu There were no objections. Trustin -- what we call human nature is actually human habit -- http

[ANN] MINA 0.8.4 has been released.

2006-11-19 Thread Trustin Lee
Apache MINA 0.8.4 has been released. It fixes an issue that SocketIoProcessor throws a CancelledKeyException. Apache MINA team has decided not to support 0.8 branch anymore, and this release is the last release in the 0.8 branch. Please upgrade to MINA 1.0 to utilize more advanced features and

Re: AnonymousIOService and PooledByteBufferExpirer leak?

2006-11-19 Thread Trustin Lee
Hello, On 11/20/06, class acts <[EMAIL PROTECTED]> wrote: As an update to the attached, it seems when you call clear() on the filterChain() it didn't actually cause the ThreadPool to to be garbage collected, i tried removing the specific instance and now everything is being cleaned up except fo

Re: TDD and Mina project development

2006-11-21 Thread Trustin Lee
On 11/22/06, Marek Majchrzak <[EMAIL PROTECTED]> wrote: Hello, Sorry for off topic post. I'm looking for information about testing approach in Your project. I would like to know whether developers use in this project TDD (test driven development) approach or not. I need this information in order

Re: A question about Mina Design

2006-11-21 Thread Trustin Lee
On 11/21/06, Jesse Hou <[EMAIL PROTECTED]> wrote: So if I add three filter and the three filter(filter1, filter2, filter3) must be execute from head to tail (first to last). Both of client and server side will be add the three filters. When the server receive the message from client , the meth

Re: How to realize IP multicast?

2006-11-21 Thread Trustin Lee
On 11/16/06, Jesse Hou <[EMAIL PROTECTED]> wrote: Hi, With mina how to realize IP multicast ? As there are many clients and the server maybe want to send a image to all of the tcp client. Then if using IP multicast it'll not need to loop all the clients. Can mina integrate with JavaGroups? Th

Re: Is MINA ByteBuffer pool of dubious value?

2006-11-21 Thread Trustin Lee
On 11/21/06, Mike Heath <[EMAIL PROTECTED]> wrote: On Fri, 2006-11-17 at 14:47 -0600, Greg Duffy wrote: > Direct buffers are, AFAIK, the only kind that can be accessed with JNI, > which I use extensively. Just my $0.02. I agree. I got tired of waiting for JSR 203 so I have been experimenting w

Re: Mina trunk and Spring support (changes)

2006-11-22 Thread Trustin Lee
On 11/22/06, Niklas Therning <[EMAIL PROTECTED]> wrote: Michael Bauroth wrote: > Hi, > > I have a Spring configured server online. The old config looks like > this (only small part): > > factory-method="getSessionConfig"> > > > > > > > > > > class="org.apache.mina.integr

Re: svn commit: r478186 - in /mina/trunk/core/src/main/java/org/apache/mina/transport/socket/nio: ./ support/

2006-11-22 Thread Trustin Lee
Shouldn't setSessionConfig() be in IoService rather than in each IoService implementations? We could provide implementation classes such as DefaultSocketSessionConfig and DefaultDatagramSessionConfig. Trustin On 11/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Author: niklas Date: Wed N

Re: Maven feedback ?

2006-11-22 Thread Trustin Lee
Hi Marnie, On 11/21/06, Marnie McCormack <[EMAIL PROTECTED]> wrote: I work on the Apache Incubator project Qpid. We are currently mid transition to maven for build/release. Sounds great! Maven is a great tool in general though it has several subtle issues. We've encountered a few issues al

Re: Java AIO Framework

2006-11-22 Thread Trustin Lee
Mike, On 11/22/06, Mike Heath <[EMAIL PROTECTED]> wrote: I've committed my initial pass at an asynchronous IO framework for Java. It currently only supports asynchronous file reads on Linux. It seam to work pretty well. I'm hoping to get write support done over the Thanksgiving break. There'

Re: Java AIO Framework

2006-11-22 Thread Trustin Lee
On 11/23/06, Trustin Lee <[EMAIL PROTECTED]> wrote: Mike, On 11/22/06, Mike Heath <[EMAIL PROTECTED]> wrote: > > I've committed my initial pass at an asynchronous IO framework for Java. > It currently only supports asynchronous file reads on Linux. It seam to >

Fwd: Warning: serious VM leak/bug with BlockingQueue & polling timeouts

2006-11-22 Thread Trustin Lee
Just a heads-up though MINA isn't using the mentioned method. HTH, Trustin -- Forwarded message -- From: Holger Hoffstaette <[EMAIL PROTECTED]> Date: Nov 23, 2006 1:30 AM Subject: Warning: serious VM leak/bug with BlockingQueue & polling timeouts To: dev@directory.apache.org [sor

Re: ProtocolDecoder.decode

2006-11-22 Thread Trustin Lee
On 11/22/06, Maarten Bosteels <[EMAIL PROTECTED]> wrote: Hi all, I am debugging an application that is using mina 0.8.1 and I would like some confirmation about ProtocolDecoder.decode Please upgrade to 0.8.4 or 1.0.0. 0.8.4 is the last release in 0.8 branch and will not be supported officia

Re: [mina] ACK protocol?????

2006-11-22 Thread Trustin Lee
Hi Hieu, On 11/22/06, Hieu Phan Thanh <[EMAIL PROTECTED]> wrote: Hello, I am having a confused about the way MINA fired the messages. My protocol is: after receiving the ACK from server, client will continue sending another message. And the ACK will be sent inside the "decode" method by session

Re: A strange question ?

2006-11-22 Thread Trustin Lee
On 11/23/06, Martin Ritchie <[EMAIL PROTECTED]> wrote: Are you using the ReadThrottleFilter? see https://issues.apache.org/jira/browse/DIRMINA-307 This might be an the problem.. though I never got my server to start receiving again... perhaps I didn't wait long enough. Sorry for the patch no

Re: [mina] ACK protocol?????

2006-11-22 Thread Trustin Lee
On 11/23/06, Hieu Phan Thanh <[EMAIL PROTECTED]> wrote: Hi Trustin, > There's possibility that the ACK is sent over the socket before the > 'messageReceived' event is fired. It's not always going to be like that > because write operation is also asynchronous. But there's possibility > definit

Re: svn commit: r478186 - in /mina/trunk/core/src/main/java/org/apache/mina/transport/socket/nio: ./ support/

2006-11-23 Thread Trustin Lee
On 11/23/06, Niklas Therning <[EMAIL PROTECTED]> wrote: Trustin Lee wrote: > Shouldn't setSessionConfig() be in IoService rather than in each > IoService > implementations? We could provide implementation classes such as > DefaultSocketSessionConfig and Defau

SocketConnector.setWorkerTimeout()

2006-11-23 Thread Trustin Lee
Hi, The workerTimeout property of SocketConnector prevents its worker thread from dying too soon that a following connection attempt takes too long time because of new instantiation of Selector and Thread. The default value is 1 minute, and can be changed by calling setWorkerTimeout() method. M

Re: Release 1.0.1 or Snapshot 1.1.0 availability

2006-11-23 Thread Trustin Lee
On 11/22/06, Martin Ritchie <[EMAIL PROTECTED]> wrote: On 17/11/06, Martin Ritchie <[EMAIL PROTECTED]> wrote: > We were using a version pre the api change but I recently updated it > to include the API changes and so is compatiable with the current > head. > > On 17

Re: IoServiceConfig/SocketConnectorConfig

2006-11-23 Thread Trustin Lee
Hi Marnie, On 11/24/06, Marnie McCormack <[EMAIL PROTECTED]> wrote: Hi All, Is there anywhere I can find out how to replace the use of IoServiceConfig and SocketConnectorConfig in our Qpid codebase please ? If not, can someone kindly point me in the right direction please ? The properties o

Re: Release 1.0.1 or Snapshot 1.1.0 availability

2006-11-23 Thread Trustin Lee
On 11/24/06, Robert Greig <[EMAIL PROTECTED]> wrote: Hi all MINA committers, > Is the 1.0.1 ready for release? I still see some outstanding JIRAs set > for the release. Do you guys have a time frame for the release? The Qpid project has an M1 release that we are looking to release imminently (

Re: SocketConnector.setWorkerTimeout()

2006-11-24 Thread Trustin Lee
On 11/24/06, Maarten Bosteels <[EMAIL PROTECTED]> wrote: Trustin, are you proposing to change the workerTimeout from default 60 seconds + configurable to 5 seconds hard-coded ? Yes. Peter added the property, so I also want to what he thinks about my idea. Not that I have an objection right

Re: Why use only one thread pool in MINA-1.0 instead of 2 thread pools (IO and Protocol) in MINA-0.8?

2006-11-24 Thread Trustin Lee
On 11/24/06, Hieu Phan Thanh <[EMAIL PROTECTED]> wrote: Hi all, I'm wondering about the reason why MINA team merged into only one thread pool instead of 2 thread pools (IO and Protocol) in mina-0.8. Is there any advantage point or something? More stages (or phase or thread pool) means more la

Re: Some questions about Apache Mina.

2006-11-24 Thread Trustin Lee
Hi Justin, On 11/23/06, champion liu <[EMAIL PROTECTED]> wrote: Hello, I am very glad to contact with you. I am a graduate in Peking University, China. Now I devote myself to study and test Apache Mina.Thisis my present research. But I don't know what should I test for this Network Framework.

Re: Getting Involved link

2006-11-24 Thread Trustin Lee
Hello Cliff, On 11/25/06, Cliff Schmidt <[EMAIL PROTECTED]> wrote: Hey MINA folks, I just happened to notice that the "Getting Involved" link on mina.apache.org goes to a confluence wiki page that requires a login (see http://cwiki.apache.org/confluence/login.action?os_destination=%2Fpages%2Fc

Re: SocketConnector.setWorkerTimeout()

2006-11-24 Thread Trustin Lee
On 11/25/06, peter royal <[EMAIL PROTECTED]> wrote: On Nov 23, 2006, at 10:07 PM, Trustin Lee wrote: > My question here is, does it really need to be configurable? > Because we are > having the same issue with SocketIoProcessor, we will also have to > add the > property to

Re: @author tags in Java files

2006-11-25 Thread Trustin Lee
On 11/25/06, Emmanuel Lecharny <[EMAIL PROTECTED]> wrote: Hi Niklas, I guess that its still dev@directory.apache.org ? +1 for your porposal. On 11/25/06, Niklas Therning <[EMAIL PROTECTED]> wrote: > > Should be changed into something like > > @author The Apache MINA Project (dev@mina.apache.o

Re: Links to Examples not working

2006-11-27 Thread Trustin Lee
It's fixed now. On 11/27/06, Daythryl <[EMAIL PROTECTED]> wrote: I'm getting SVN errors. I can get to the source, but not the examples. Please help. -- View this message in context: http://www.nabble.com/Links-to-Examples-not-working-tf2710188.html#a7555836 Sent from the mina dev mailing list

Re: IoService question

2006-11-27 Thread Trustin Lee
On 11/27/06, Mark Webb <[EMAIL PROTECTED]> wrote: I was looking at the IoService class and noticed that there are some fields that would be nice to have: long getCreationTime(); long getReadBytes(); long getWrittenBytes(); long getReadMessages(); long getWrittenMessages();

Re: documentation link problem

2006-11-27 Thread Trustin Lee
On 11/28/06, Mark Webb <[EMAIL PROTECTED]> wrote: This page http://mina.apache.org/documentation.html contains an error (I think). Go to the previously mentioned page, and click "Configuring a Thread Model". You are prompted to log in. Not sure this is what we want. It means that we didn'

Do we need IoSessionRecycler for DatagramConnector?

2006-11-28 Thread Trustin Lee
Hi, I've just realized that DatagramConnector doesn't require IoSessionRecycler because it explicitly connects to the remote address. I want to make sure this is really true. Guys, is this really true? Did I make a silly mistake? :D Trustin -- what we call human nature is actually human habit

Re: logo tweaks

2006-11-28 Thread Trustin Lee
On 11/28/06, Julien Vermillard <[EMAIL PROTECTED]> wrote: Hi, I added a page in the wiki for the logo, with the current one, ideas for different colors shades for the second circle and the SVG sources (easly editable with Inkscape). So you can try different shades or fonts for finalizing the lo

Re: Mina based http server for XFire integration?

2006-11-28 Thread Trustin Lee
Hi Michael, On 11/29/06, Michael Bauroth <[EMAIL PROTECTED]> wrote: Hello, I'm looking for a http server based on Mina, which I can integrate in the rest of my Mina based application and which should embed XFire to implement web service capabilities. There's an HTTP implementation on top of

Re: IoService question

2006-11-28 Thread Trustin Lee
On 11/28/06, Mark Webb <[EMAIL PROTECTED]> wrote: That is what I was thinking. the concurrent.atomic package is your friend :) On 11/27/06, Gaston Dombiak <[EMAIL PROTECTED]> wrote: > Hey Guys, > > I'm 100% new to MINA but if you are using Java 1.5 as a prerequisite > then you can try using At

Re: IoService question

2006-11-28 Thread Trustin Lee
On 11/29/06, Gaston Dombiak <[EMAIL PROTECTED]> wrote: Yep. That is why I used the *reduce* word. The AtomicLong is pretty optimized from what I can tell by looking at the source code. Of course doing something is more than doing nothing. ;) I'm not familiar with how hard/strong MINA is already

Re: svn commit: r479860 - in /mina/trunk/core/src/main/java/org/apache/mina/transport/socket/nio: SocketAcceptor.java SocketConnector.java SocketIoProcessor.java

2006-11-28 Thread Trustin Lee
On 11/29/06, peter royal <[EMAIL PROTECTED]> wrote: On Nov 27, 2006, at 6:51 PM, [EMAIL PROTECTED] wrote: > +protected void finalize() throws Throwable > +{ > +super.finalize(); > +try > +{ > +selector.close(); > +} > +catch( IOExceptio

Re: logo tweaks

2006-11-28 Thread Trustin Lee
More opinion, better logo! Committers, please show your opinion! :) Trustin -- http://gleamynode.net/ -- PGP key fingerprints: * E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E * B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6

Re: IoService question

2006-11-29 Thread Trustin Lee
Hi Gaston, On 11/29/06, Gaston Dombiak <[EMAIL PROTECTED]> wrote: Sounds good to me. BTW, do you have an estimate (or range) for MINA 2.0? Today I read that trunk (i.e. 2.0) is 10%-20% faster than 1.0 or branch 1.1. We are now in the process of adopting MINA as the networking layer for Wildfire

Re: IoService question

2006-11-29 Thread Trustin Lee
On 11/30/06, Michael Bauroth <[EMAIL PROTECTED]> wrote: > There's no estimate so far actually. What we actually have to focus is > documentation of MINA 1.0. You won't see any difference in performance if > your connection last for a long time. It only affects when the number of > connections

Re: devmina is bouncing emails sent from Yahoo again

2006-12-01 Thread Trustin Lee
Are you using rich text format? If so, please try again with plain text message. Trustin On 12/2/06, Samuel Doyle <[EMAIL PROTECTED]> wrote: More complaints from spam filter. Please don't force me not to use Yahoo I've been using it since 97. :( Hi. This is the qmail-send program at yahoo.co

Re: [OT] Confluence and static-looking site

2006-12-03 Thread Trustin Lee
Hello Matt, On 12/4/06, mraible <[EMAIL PROTECTED]> wrote: How does the MINA website at http://mina.apache.org work? It has nice looking URLs that make it look like a static site, yet it links to Confluence for editing pages and such. How did you go about doing this? We used AutoExport plu

Re: Question about IoHandler.sessionIdle v.s. IoHandler.exceptionCaught

2006-12-04 Thread Trustin Lee
Hi Jian, On 12/5/06, jian wu <[EMAIL PROTECTED]> wrote: Hi, I have a question regarding IoHandler.sessionIdle()/exceptionCaught(): Since in Mina Exception will be passed to IoHandler internally as an event, so, when an IOException happened, Mina handled it and passed it to IoHandler an

Re: mina 1.2 branch

2006-12-04 Thread Trustin Lee
Hi Vinod, On 12/5/06, Vinod Panicker <[EMAIL PROTECTED]> wrote: Hi, Is the 1.2 branch in sync with trunk now? Is there an informal/formal policy on when it will catch up with trunk? All changes made in branch should be applied to trunk too and vice versa. Peter told me he will merge the ch

[ANN] Apache MINA 1.0.1 Released.

2006-12-04 Thread Trustin Lee
Hi community, It's been very long time after the vote passed. Today I had free time to spend for cutting a release. Here's the list of fixed bugs: http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=10670&fixfor=1231 - [DIRMINA-235

Re: Question about IoHandler.sessionIdle v.s. IoHandler.exceptionCaught

2006-12-04 Thread Trustin Lee
On 12/5/06, jian wu <[EMAIL PROTECTED]> wrote: Hi Trustin, > In case of IOException, the session will be closed automatically, > so it actually doesn't matter. :) Will Mina guarantee that IoHandler.exceptionCaught() will be invoked before IoHandler.sessionClose()? Yes. If not, please let u

Re: mina 1.2 branch

2006-12-04 Thread Trustin Lee
On 12/5/06, Vinod Panicker <[EMAIL PROTECTED]> wrote: On 12/5/06, Trustin Lee <[EMAIL PROTECTED]> wrote: > Hi Vinod, > > On 12/5/06, Vinod Panicker <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > Is the 1.2 branch in sync with trunk now? Is

Re: [1.0] Three questions concerning object serialization and MINA

2006-12-06 Thread Trustin Lee
Hello Sven, On 12/7/06, Sven Panko <[EMAIL PROTECTED]> wrote: first of all I like to thank of all you guys - MINA is a really excellent piece of software! After using it for more than a year I am fascinated how easy it is to implement complex client-server applications without much effort! But

Re: [1.0] Three questions concerning object serialization and MINA

2006-12-07 Thread Trustin Lee
Hi Sven, On 12/7/06, Sven Panko <[EMAIL PROTECTED]> wrote: > > My last question concerns the different default max object sizes in the > > en- and decoder implementations - is there a reason why the encoder may > > encode objects up to Integer.MAX_VALUE, but the decoder refuses anything > > abo

Is ThreadModel really useful?

2006-12-07 Thread Trustin Lee
Hi, MINA 1.0 provides an interesting interface called ThreadModel, which extends IoFilterChainBuilder. ThreadModel.buildFilterChain() is invoked after default build chain is built so it can insert appropriate ExecutorFilter(s) to apply a certain thread model. Here's an example code that applies

To keep direct buffer support or not

2006-12-07 Thread Trustin Lee
Hi, In the recent discussion ( http://www.nabble.com/Is-MINA-ByteBuffer-pool-of-dubious-value--tf2652301.html#a7401135), we agreed on removing acquire() / release() methods and pooling stuff. I think it's a great idea, but what do we do now with direct buffers? They take longer to allocate / de

Re: Is ThreadModel really useful?

2006-12-08 Thread Trustin Lee
On 12/8/06, Michael Bauroth <[EMAIL PROTECTED]> wrote: Hi, in different tests I found out an temporary optimal solution for my demands. It looks like: (using SimpleAllocator, HeapBuffer at the moment) mAcceptor = new SocketAcceptor( 2, Executors.newCachedThreadPool() ); mAcceptor.setThreadMod

Appending the branch name to Eclipse .project and .classpath files generated by maven-eclipse-plugin.

2006-12-08 Thread Trustin Lee
Hi, I wrote a simple shell script that helps people who works with multiple branches of one project in Eclipse. We can use a separate workspace for each branch, but it's somewhat cumbersome. I tested the script in a various project settings such as a complex multiproject. Here's the page that

Re: To keep direct buffer support or not

2006-12-09 Thread Trustin Lee
On 12/10/06, Steven Shaw <[EMAIL PROTECTED]> wrote: On 08/12/06, Trustin Lee <[EMAIL PROTECTED]> wrote: http://www.nabble.com/Is-MINA-ByteBuffer-pool-of-dubious-value--tf2652301.html#a7401135 ), > we agreed on removing acquire() / release() methods and pooling stuff. I >

Re: SSLFilter and SSL session reuse

2006-12-09 Thread Trustin Lee
Hi Wolter, On 12/10/06, Wolter Eldering <[EMAIL PROTECTED]> wrote: Hi James, You are right, it has little use for a server. But if you are using the SSLFilter in client mode, the SSLEngine must be able to select a session(id) to send in the SSL ClientHello otherwise sessions will never be reus

Re: Multicasting

2006-12-09 Thread Trustin Lee
On 12/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I'm new to Mina. I'm working on an application that will need Multicasting support. It looks like there is some interest in implementing it last year in DIRMINA-23. Is there still interest? It appears no work as been done since it isn't a

Re: list of developed protocols

2006-12-09 Thread Trustin Lee
Hi Mark, On 12/9/06, Mark Webb <[EMAIL PROTECTED]> wrote: Does anyone think it would be a good idea to list publicly available MINA protocol implementations? Yes, it's a great idea. For instance, if there is a protocol handler that someone has written(WebDAV, SMTP, FTP..etc) it would be pu

Re: epoll support for Linux in JDK 6 and JDK 5 update 10

2006-12-12 Thread Trustin Lee
Yeah! I didn't actually expect that epoll support will be included in Java 5. This is definitely a great news! :) Thanks Mike for the news! Cheers, Trustin On 12/12/06, Mark Webb <[EMAIL PROTECTED]> wrote: wow. faster MINA. Just when you think it isn't possible to go any faster. On 12/1

Re: need documentations

2006-12-12 Thread Trustin Lee
Hi Jeroen, On 12/13/06, Jeroen Brattinga <[EMAIL PROTECTED]> wrote: I'll try to help out a little. Just fixed the source code URL, but could not find the current 1.0 API doc location. I personnaly use a manually generated version from the trunk, but an online version (1.0/1.1) would be nice. An

Re: anyone else ever see this?

2006-12-12 Thread Trustin Lee
On 12/13/06, Mark Webb <[EMAIL PROTECTED]> wrote: We are in wikipedia!! http://en.wikipedia.org/wiki/Mina Updated! :) http://mina.apache.org/faq.html Cheers, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP key fingerprints: * E167 E6AF E73A CBC

Re: Cannot get javadoc

2006-12-12 Thread Trustin Lee
On 12/11/06, Murat OZDEMIR <[EMAIL PROTECTED]> wrote: I'm unable to access to javadoc on http://mina.apache.org/documentation.html Does anyone know why? It was deleted by mistake. Now it's online: http://mina.apache.org/report/1.0/apidocs/ HTH, Trustin -- what we call human nature is actu

Re: need documentations

2006-12-12 Thread Trustin Lee
On 12/13/06, Trustin Lee <[EMAIL PROTECTED]> wrote: Hi Jeroen, On 12/13/06, Jeroen Brattinga <[EMAIL PROTECTED]> wrote: > > I'll try to help out a little. Just fixed the source code URL, but could > not > find the current 1.0 API doc location. I personnaly use a m

Re: Communication hang up with new head revision 486551 in svn

2006-12-14 Thread Trustin Lee
Hi Benoit, Which branch are you using? Could you give us essential part of your application so we can test it out of the box? Trustin On 12/14/06, Benoit Hudzia <[EMAIL PROTECTED]> wrote: Hi, after today modification ( revision : 486551) of the svn my project stopped working … ( some co

Re: Communication hang up with new head revision 486551 in svn

2006-12-15 Thread Trustin Lee
On 12/15/06, Benoit Hudzia <[EMAIL PROTECTED]> wrote: I use directly the trunk not a branch. And normally the classes I provided should permit you to do the test easily. This mailing list discards your attachments. Please e-mail it to me directly. Thanks, Trustin -- what we call human natur

Re: Trouble with WriteFuture.join() after IoSession.write()

2006-12-17 Thread Trustin Lee
Hi Steven, First off, we have a mailing list dedicated to Apache MINA. Please refer to this page: http://mina.apache.org/mailing-lists.html On 12/18/06, Steven E. Harris <[EMAIL PROTECTED]> wrote: I'm having trouble getting MINA to send outgoing data with the IoSession.write() method. When I

Re: Communication hang up with new head revision 486551 in svn

2006-12-18 Thread Trustin Lee
On 12/15/06, Benoit Hudzia <[EMAIL PROTECTED]> wrote: I use directly the trunk not a branch. And normally the classes I provided should permit you to do the test easily. The cause of the problem was not an object serialization codec / streams. We removed ThreadModel from trunk, so your code w

Re: In VM Protocol

2006-12-18 Thread Trustin Lee
On 12/19/06, Greg Duffy <[EMAIL PROTECTED]> wrote: Sorry to resurrect an old thread, but Terracotta seems to be open source (and free) now under the MPL: http://www.terracotta.org/ Interesting stuff... potentially very useful for ApacheDS or any other MINA client/server that needs transparent c

Re: Has CompressionFilter fix been ported to branch 1.1?

2006-12-19 Thread Trustin Lee
On 12/19/06, Gaston Dombiak <[EMAIL PROTECTED]> wrote: The only issue I'm having with MINA is when using the CompressionFilter. My guess is that the jira issue http://issues.apache.org/jira/browse/DIRMINA-279 seems to be the answer to the issue

Re: MINA & Wildfire blog

2006-12-20 Thread Trustin Lee
On 12/20/06, Gaston Dombiak <[EMAIL PROTECTED]> wrote: Today we posted a blog entry with some of our load testing results now that Wildfire is using MINA. http://www.igniterealtime.org/blog/2006/12/19/scalability-turn-it-to-ele ven/ Wow. I suspect Solaris version which might have not empl

Re: setIdleTime question

2006-12-20 Thread Trustin Lee
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, that the next idle event will be thrown immediately after the new committed time, but

Re: Has CompressionFilter fix been ported to branch 1.1?

2006-12-20 Thread Trustin Lee
On 12/20/06, Trustin Lee <[EMAIL PROTECTED]> wrote: On 12/19/06, Gaston Dombiak <[EMAIL PROTECTED]> wrote: > The only issue I'm having with MINA is when using the CompressionFilter. > My guess is that the jira issue > http://issues.apache.org/jira/browse/DIRMINA-279 &

Re: Exception at ExecutorFilter$ProcessEventsRunnable.run() line: 306

2006-12-20 Thread Trustin Lee
On 12/20/06, Murat OZDEMIR <[EMAIL PROTECTED]> wrote: Hi everybody, i'm trying to send an acknowledge message when received a message from client. after receiving message messageReceived methode is executed successfully, but before calling encode method (in MessageEncoder) something causes an ex

Re: sessionCreated event doesn't fire

2006-12-20 Thread Trustin Lee
Please try to increase the number of the threads in the I/O thread pool. If you specified IO_THREADS in the constructor, the executor specified along with that number should be able to allocate one more threads than it (i.e. IO_THREADS + 1). HTH, Trustin On 12/21/06, Luis Neves <[EMAIL PROTECTE

Re: Has CompressionFilter fix been ported to branch 1.1?

2006-12-20 Thread Trustin Lee
On 12/21/06, Gaston Dombiak <[EMAIL PROTECTED]> wrote: Heh. I guessed that that is what you wanted to say. :) I'm now working on some other stuff and planning to return to scalability (i.e. MINA) by the end of this week or early next week. Please let us know when you have broken the latest nu

Re: Message was not fired to the last filter "IoHandler" - Deadlock

2006-12-20 Thread Trustin Lee
Hi Hieu Phan, (hoping this is your first name) On 12/18/06, Hieu Phan Thanh <[EMAIL PROTECTED]> wrote: Is there anyone could help me to solve this one? My application works as a client send several messages to server via ACK protocol. After sending some message successfully, the application is

Re: A minimal jar?

2006-12-20 Thread Trustin Lee
On 12/17/06, Mehmet D. AKIN <[EMAIL PROTECTED]> wrote: I once used netty in a project and it was a 80-90K jar, Mina 1.0 is like 350K. Is there a minimal deployment option that provides simple socket server functionality but yet smaller than 100K? Is there any reason that you want to cut out

Re: One selector (thread) per SocketAcceptor?

2006-12-20 Thread Trustin Lee
On 12/16/06, Vinod Panicker <[EMAIL PROTECTED]> wrote: On 12/16/06, Gaston Dombiak <[EMAIL PROTECTED]> wrote: > So > far we have tested Wildfire with 30K concurrent connections and it > performs almost like if the server was alone for you. :) Sorry to hijack the thread, but it would be a fan

Re: One selector (thread) per SocketAcceptor?

2006-12-20 Thread Trustin Lee
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 Thread each time? So, each SocketAcceptor will have 1 thread solely

Re: Sessionmanager vs. getManagedSessions()

2006-12-20 Thread Trustin Lee
On 12/16/06, Michael Bauroth <[EMAIL PROTECTED]> wrote: Hi everyone, I've only a short question regarding the pro and cons of separate storing all established sessions in a separate Hashmap. The background for this is, that each device (client) has a unique id, which is also available on the se

Re: Tiny optimization

2006-12-20 Thread Trustin Lee
On 12/1/06, Gaston Dombiak <[EMAIL PROTECTED]> wrote: Hey guys, Hi Gaston, ExecutorThreadModel#getInstance(String) is blocking the entire Map. I would suggest reducing the area being blocked by synchronizing on the serviceName instead. So the change would be: synchronized( servic

Re: svn commit: r478186 - in /mina/trunk/core/src/main/java/org/apache/mina/transport/socket/nio: ./ support/

2006-12-20 Thread Trustin Lee
On 11/27/06, Niklas Therning <[EMAIL PROTECTED]> wrote: I've added setSessionConfig() to IoService. BaseIoService now implements both getSessionConfig() and setSessionConfig(). SocketSessionConfigImpl and DatagramSessionConfigImpl have been renamed according to the above. And DefaultDatagramSess

Re: Exception at ExecutorFilter$ProcessEventsRunnable.run() line: 306

2006-12-21 Thread Trustin Lee
On 12/21/06, Murat OZDEMiR <[EMAIL PROTECTED]> wrote: Dear Trustin, You're exectly right. I've pointed source codes for imported JAR files of MINA core. I've seen that getMessageTypes() methode is returning null, i added messagetypes such as; private static final Set TYPES; static

Re: Closing sessions problem

2006-12-22 Thread Trustin Lee
On 12/22/06, Vinod Panicker <[EMAIL PROTECTED]> wrote: On 12/22/06, Michael Bauroth <[EMAIL PROTECTED]> wrote: > Ok, > > have new insights now: > > The problem occurs in first line because of a low ulimit value. > > On the other side Mina or the underlying socket has a non zero SoLinger > value

Re: Limitations on open sessions?

2006-12-22 Thread Trustin Lee
On 12/22/06, Vinod Panicker <[EMAIL PROTECTED]> wrote: On 12/22/06, Michael Bauroth <[EMAIL PROTECTED]> wrote: > Hi Vinod, > > that's the solution! I called ulimit with the wrong parameter. ulimit -n > gives me 5 as result, so now it's clear. > > Remaining my second question, but this one I

  1   2   3   4   5   6   7   8   9   10   >