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
--
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 "" string.
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
*
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
*
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
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 community,
We have fixed 7 bugs since we released MINA 1.0.2. I was actually
shocked that there were so many unexpe
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. (IO
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 "" string. On my machine
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, easymock-1.2_Java1
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 vo
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()):
publi
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
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
i
Dear Mark,
I've added output to the STREAM example (just Main & HttpProtocolHandler
classes).
In this sample I can't see any HashMap, just write to PrintWriter and
finally flush & close it (I keep all sample just added those 2 lines of code
for output 1024 lines).
Could you advise me, where i
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 accept
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 b
[
https://issues.apache.org/jira/browse/DIRMINA-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488369
]
Mark Webb commented on DIRMINA-350:
---
Should the heartbeat be a specified time, or should the heartbeat be sent whe
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 informatio
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
Protoco
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 th
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
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 ProtocolDecoder/ProtocolEncoder
to complement Mark's Getting Started
Hello,
I have problem with http stream output.
I have project based on http stream sample and found that MINA can't output
more than 200 lines http reply correctly. It mixed lines in reply ;( First
time it reply correct, then not. I have added small peace of code to public
void run() in sample
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 ProtocolDecoder/ProtocolEncoder
to complement Mark's Getting Started Guide,
and while implementing the client side I was wondering if a Rea
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 u
[
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. Please
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 thi
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
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 MINA
29 matches
Mail list logo