Re: [VOTE] Release MINA 1.0.3

2007-04-12 Thread Jannie Pieterse
[ ]: +1, release On 4/10/07, Maarten Bosteels [EMAIL PROTECTED] wrote: [X]: +1, release On 4/6/07, Uday Prakash (DHL CZ) [EMAIL PROTECTED] wrote: [X]: +1, release [ ]: 0, abstain [ ]: -1, don't release -Original Message- From: Trustin Lee [mailto:[EMAIL PROTECTED] Sent:

RE: Issue with decoding variable length messages on MINA server

2007-04-12 Thread Uday Prakash \(DHL CZ\)
Hi Yogs, Have you thought of using a delimiter in your messages? That could make your life a lot easier. -U -Original Message- From: Yogs [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 9:35 PM To: [EMAIL PROTECTED] Subject: Issue with decoding variable length messages on

Re: [OT] My wedding photos

2007-04-12 Thread Maarten Bosteels
Trustin, I wish you a happy life together. Congratulations ! Maarten On 4/12/07, Trustin Lee [EMAIL PROTECTED] wrote: Hi everyone, On 4/12/07, Paul Chen [EMAIL PROTECTED] wrote: The human touch you added to the Mina community makes it like a real community. Wish you a wonderful honey

Re: [OT] My wedding photos

2007-04-12 Thread Niklas Therning
Trustin Lee wrote: Hi folks, Some of you might already have seen these pictures from my blog, but I'm posting the following link for those who didn't enjoy them. :) http://www.flickr.com/photos/trustin/sets/72157600058719850/show/ I am not sure people in different countries take this kind

[jira] Resolved: (DIRMINA-92) Utility classes for asynchronous request-response protocols.

2007-04-12 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-92. Resolution: Fixed Fix Version/s: 2.0.0-M1 This feature has been implemented finally.

New feature in 2.0: Request-Response Filter

2007-04-12 Thread Trustin Lee
Hi folks, Today, I added a new feature to the trunk. The issue has been filed since the early days of MINA, but we didn't give it high priority because it was a good-to-have feature. I apologize those who wait for this issue to be resolved for a long time. The Request-Response filter is very

Re: Q: Implementing protocols with both synchronous and asynchronous components?

2007-04-12 Thread Trustin Lee
Hi Harold, On 4/11/07, Harold Combs [EMAIL PROTECTED] wrote: I've struggled for the past week on how to phrase this question, but here goes: I'd like to use MINA to replace an implementation of a proprietary binary protocol that has both synchronous and asynchronous components. That is, part

Re: MessageDecoder

2007-04-12 Thread Trustin Lee
On 4/12/07, mat [EMAIL PROTECTED] wrote: Hi, If something wrong in the MessageDecoder decodeBody(unexpected exception happened with no handling by programmer), what will mina do? Automatically close the session? MINA will wrap the exception with ProtocolDecoderException, and throw it. If the

Re: ReadFuture (Was: Re: New feature in 2.0: Request-Response Filter)

2007-04-12 Thread Maarten Bosteels
On 4/12/07, Trustin Lee [EMAIL PROTECTED] wrote: Hi Maarten, On 4/12/07, Maarten Bosteels [EMAIL PROTECTED] wrote: Hi folks, Until now I had only implemented server apps with MINA (IoAcceptor), and no client apps (IoConnector). I started working on a small tutorial about

Re: http stream based output

2007-04-12 Thread Mark Webb
Based on previous discussions on this mailing list, I think that the 'codec' based HTTP example is the preferred method. If you are placing each line in to a HashMap as per the example, this could be your problem because HashMaps do not guarantee order. Check the API javadocs for more

Re: Best stable version?

2007-04-12 Thread Sean LeBlanc
On 04-12 12:04, Trustin Lee wrote: Hello Sean, On 4/12/07, Sean LeBlanc [EMAIL PROTECTED] wrote: Hello, I'm using Java 1.5 so I compiled 1.1 using mvn install after doing a svn co https://svn.apache.org/repos/asf/mina/branches/1.1/ mina-1.1 I'm trying to write a bit of client code

Re: New feature in 2.0: Request-Response Filter

2007-04-12 Thread John E. Conlon
Hi Trustin, Just updated my working trunk and I noticed a problem with the feature you just added. The class RequestTimeoutException extends IOException and tries to call the superclass constructor with inappropriate arguments. (IOException has a paramaterless constructor and one that

Re: http stream based output

2007-04-12 Thread Mark Webb
Sorry. Its not a HashMap, but a TreeMap. http://mina.apache.org/report/1.1/xref/org/apache/mina/example/httpserver/stream/HttpProtocolHandler.html#69 TreeMaps use natural ordering, so I am still not sure that ordering can be guaranteed. The reason I mention ordering is that when you pull the

MINA dependencies

2007-04-12 Thread Deepak Nadig
Is the expectation that the dependent libraries (backport-util-concurrent-2.2.jar, easymock-1.2_Java1.3.jar, etc.) for the build should be separately downloaded? Or is there a central place to download all these libraries. Thanks, Deepak

[no subject]

2007-04-12 Thread Eugene Labunsky
Dear Mark, I have problem with OUTPUT data, but TreeMap used for parsing of HTTP request header. No problems with the short sample reply, but try my code with added 1024 http lines, run this HTTP server and then try 2-3 times refresh http://server/ Review my sample (just run()):

Re: http stream based output

2007-04-12 Thread Eugene Labunsky
Dear Mark, I have problem with OUTPUT data, but TreeMap used for parsing of HTTP request header. No problems with the short sample reply, but try my code with added 1024 http lines, run this HTTP server and then try 2-3 times refresh http://server/ Review my sample (just run()): public

Re: MINA dependencies

2007-04-12 Thread Paul Chen
Deepak, We just download them separately. 3.0 works pretty well w/ Mina. http://dcl.mathcs.emory.edu/util/backport-util-concurrent/ Cheers On 4/12/07, Deepak Nadig [EMAIL PROTECTED] wrote: Is the expectation that the dependent libraries (backport-util-concurrent-2.2.jar,

Re: http stream based output

2007-04-12 Thread Mark Webb
ok. I think I understand your problem and was able to reproduce it. The first thing that jumps out at me is that you are using BufferedWriter. The problem here is that, your output stream is buffered. I would suggest placing a call to out.flush() after writing out your /html string. On my

Re: New feature in 2.0: Request-Response Filter

2007-04-12 Thread Trustin Lee
Hi John, On 4/13/07, John E. Conlon [EMAIL PROTECTED] wrote: Hi Trustin, Just updated my working trunk and I noticed a problem with the feature you just added. The class RequestTimeoutException extends IOException and tries to call the superclass constructor with inappropriate arguments.

Re: [VOTE] Release MINA 1.1.0

2007-04-12 Thread Trustin Lee
This vote had been open for a week, and got no 0 or -1 votes. Let me close it and announce the vote result. Cheers, Trustin On 4/5/07, Trustin Lee [EMAIL PROTECTED] wrote: Hi folks, Sorry to bother you by firing two votes at once, but I must admit that MINA 1.1.0, Java 5 port of MINA 1.0.x

[VOTE][RESULT] Release MINA 1.0.3

2007-04-12 Thread Trustin Lee
Hi community, The following is the result of the vote for releasing MINA 1.0.3. All names are listed in the order of the arrival of the response message. Binding +1s (7) === * Trustin Lee * Emmanuel Lecharny * Julien Vermillard * Alex Karasulu * Enrique Rodriguez * Niklas Therning

[VOTE][RESULT] Releasing MINA 1.1.0

2007-04-12 Thread Trustin Lee
Hi community, The following is the result of the vote for releasing MINA 1.1.0. All names are listed in the order of the arrival of the response message. Binding +1s (8) === * Trustin Lee * Emmanuel Lecharny * Julien Vermillard * Enrique Rodriguez * Alex Karasulu * Niklas Therning

Re: http stream based output

2007-04-12 Thread Eugene Labunsky
Dear Mark, ok. I think I understand your problem and was able to reproduce it. The first thing that jumps out at me is that you are using BufferedWriter. The problem here is that, your output stream is buffered. I would suggest placing a call to out.flush() after writing out your /html

Re: http stream based output

2007-04-12 Thread Mark Webb
I wrote a handler that used an OutputStream and a StringBuffer. Once I did this, I could not reproduce your problem. Before I made this change, I could reproduce your problem. BTW, I am testing this using MINA 2.0. -- START