[
https://issues.apache.org/jira/browse/DIRMINA-688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
peter royal resolved DIRMINA-688.
-
Resolution: Fixed
Assignee: peter royal
Applied! r766554
> Modularizing the SSHD bu
On Nov 6, 2008, at 7:28 AM, Dan Creswell wrote:
Hmmm, if VmPipe is done right it should allow me to build an app/
service on
top of MINA that can easily be tested all inside of a single JVM
(good for
unit testing amongst other things) or deployed fully networked with
minimum
code disruption.
I did one on 2.0 at the last ApacheCon, loosly based on Peter's
presentation from ApacheCon US 2007. (btw, I should really get my
presentation added on the documentation page in the wiki). I'll be
happy to evolve that presentation a bit for this year, I would like to
put more effort into how to bu
On Jul 7, 2008, at 2:30 PM, Niklas Gustavsson wrote:
@Override
public void exceptionCaught(Throwable cause) {
-if (log.isWarnEnabled()) {
+if (cause instanceof Error) {
+throw (Error) cause;
+} else {
log.warn("Unexpected exception.", cause)
On Jul 5, 2008, at 1:36 PM, Emmanuel Lecharny wrote:
- as it's a framework, I think that exceptions, if they are to be
caught, should be caught at the upper level, not down in the code. Why
the hell do we have to define a generic monitor which does nothing
more than logging a warning ?
I don't r
On Jul 3, 2008, at 9:46 AM, Emmanuel Lecharny wrote:
Now, the question is why do we allow a user to define it's own
ExceptionMonitor to handle unhandled exceptions. As we are defining
a framework, it does not make a lot of sense to disregard an
exception and let the user define what to do wi
e
rewind affects the mark).
can you provide a failing unit test for this that we can include in
our test suite?
-pete
Yigal
peter royal wrote:
On May 27, 2008, at 3:27 PM, Yigal Rachman wrote:
I asked about this in February and have managed to move ahead
without a proper solution.
On Jun 25, 2008, at 12:53 AM, W.B. Garvelink wrote:
I have some concern though that we're just trading the massive
IoService API
for a massive statistics API. It's an improvement!, but please
consider splitting
off the statistics methods into *two* statistics objects: one that
deals with
thr
On Jun 11, 2008, at 10:26 AM, Brian McCallister wrote:
Frequent (one a year is very very frequent) backwards incompatible API
changes lead to no users. If ya'll take this roadmap I, for one,
will go
find some library which isn't going to dead end me in the
*foreseeable*
future.
agreed 100%
On Jun 11, 2008, at 9:07 AM, Emmanuel Lecharny wrote:
we have discussed both options a month ago, and there were quite a
concensus to get these changes into a postponed 2.0, instead of
delivering a 2.0 and including changes into a 3.0.
Now the environment has changed a bit in the last few we
On Jun 7, 2008, at 6:24 AM, Emmanuel Lecharny wrote:
IMHO, it would make things much easier to find for users and
contributors.
Last, not least, we might want to add some pointers to the AsycWeb
and FTPServer subprojects, for instance on the top right menu (cf
what we have on http://direct
On Jun 6, 2008, at 8:31 AM, Craig L. Ching wrote:
Yeah, I'm just wondering if there have been any commits yet that
have fundamentally changed the API's (ByteBuffer in particular) that
might "get" me if you know what I mean. I'm fine with the changes
I'm hearing, don't get me wrong, I'm just
On Jun 5, 2008, at 11:02 AM, Johny Kadarisman wrote:
In my client implementation, I set manual threading model, and insert
executorFilter() in my socketConnector config. On certain condition,
in my
handler, I will block in 'ArrayBlockingQueue'. during this
situation, I
don't see IoProcessor c
On Jun 2, 2008, at 9:24 AM, Thomas Kistel wrote:
Sorry for cross-posting, but I haven't hidden that in my email.
So there will be no ability for using multiple ProtocolCodecFilters
in MINA
2.0 as Trustin Lee prefigured last year!?
I believe it should "just work" in 2.0. Give it a shot and l
On May 27, 2008, at 3:27 PM, Yigal Rachman wrote:
I asked about this in February and have managed to move ahead
without a proper solution. However, I am seeing glitches that point
to synchronizing problems, so I would greatly appreciate any help
that you could offer me. To recap: how do I
On Jun 10, 2008, at 6:44 AM, Julien Vermillard wrote:
I propose
- AbstractEventIo(Acceptor/Connector/..)
- AbstractSelectIo(Acceptor/Connector/..)
- AbstractAsyncIo(Acceptor/Connector/..)
even the Io could be removed.
WDYT ?
+1
-pete
--
(peter.royal|osi)@pobox.com - http://fotap.org/~osi
there have been a lot of heated discussions on this list lately. the
frequency seems to be picking up some.
its good to keep things in perspective.. we all have different
backgrounds and experiences.
sometimes what may seem like a harmless statement to ourselves may be
perceived much diff
On Mar 19, 2008, at 3:23 PM, Frédéric Brégier wrote:
Those numbers are useful in production... (at least for my case)
I know, it's only about statistics but some people want them...
If I follow your idea, what will return IoService.getStatistics() ?
What will you propose instead of those methods
i just updated my project from a 2.0 build from last summer, and the
IoService API exploded!
can we cull some of this?
http://svn.apache.org/viewvc/mina/trunk/core/src/main/java/org/apache/mina/common/IoService.java?view=diff&r1=635424&r2=555855&diff_format=h
... does all that need to be in t
[
https://issues.apache.org/jira/browse/DIRMINA-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
peter royal resolved DIRMINA-557.
-
Resolution: Fixed
fixed.
> Infinite loop if encoding wide UTF-8 charact
Versions: 2.0.0-M1
Reporter: peter royal
Assignee: peter royal
Priority: Blocker
Using IoBuffer.putPrefixedString() with wide UTF-8 characters can result in an
infinite loop.
--
This message is automatically generated by JIRA.
-
You can reply to this email to
On Feb 26, 2008, at 6:27 AM, 이희승 (Trustin Lee) wrote:
It breaks the abstraction of the API IMO, because we don't assume that
we always use ServerSocketChannel. We could add such a method to
NioSocketAcceptor only, but this will give compilation errors to users
when they switch to other transport
On Feb 25, 2008, at 12:55 PM, David Connelly wrote:
How about just a variant on bind() that takes a ServerSocket(Channel)
rather than an IP/port combination?
This is essentially what I had done except I called this new method
'register' rather than 'bind' in order to reflect that the server
On Feb 24, 2008, at 6:56 PM, David Connelly wrote:
Unfortunately, the SocketAcceptor bind() method not only binds the
server socket but starts
listening on the server channel immediately as well, which prevents
prebinding of the ports.
Our temporary workaround has been to add a new 'register
On Jan 20, 2008, at 11:42 PM, Trustin Lee wrote:
So... I'd like to suggest the following directory structure:
/ - mina - trunk
- tags
- branches
- ahc - trunk
- tags
- branches
- ftpserver - trunk
- tags
- branches
Does it make sense, or
On Dec 17, 2007, at 8:46 AM, David M. Lloyd wrote:
Therefore I am making an effort to convince the author(s) of these
frameworks upon which my project relies, to consider making logging
either configurable with no dependencies, or optional altogether.
Using JDK logging seems like a reasonable com
On Nov 14, 2007, at 2:03 AM, Trustin Lee wrote:
[ ]: +1, Release
+1
-pete
--
(peter.royal|osi)@pobox.com - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
much the same of what was shown in amsterdam later this year (last
hurrah for this deck, before it needs updating for v2!)
and again, you're missing a lot if you missed the words :)
http://www.slideshare.net/osi/apache-mina-the-highperformance-protocol-construction-toolkit
-pete
--
(peter.r
On Nov 12, 2007, at 9:11 PM, Mike Heath wrote:
Is anyone else going to be attending ApacheCon US 2007 this year? I
know Peter Royal is going to be presenting on MINA. Is anyone else
from
MINA coming and will you be at the Hackathon on Tuesday?
look for me tomorrow!
-pete
--
(peter.royal
On Nov 5, 2007, at 10:03 PM, Vishal_Jain wrote:
Thats right.
I was wondering if someone in this forum has implemented a
connection pool
(not necessarily around Mina) and perhaps share with rest of newbies
like me
? :)
I have implemented a custom connection pool for my purposes.. Wrapping
On Oct 24, 2007, at 1:56 PM, Brian McCallister wrote:
A stronger approach would be to explicitly check the generic type
via reflection and raise an exception at bind() or connect() time.
In this case the In and Out types for the filter chain would be
compared for compatibility, and the final
On Sep 30, 2007, at 3:10 PM, Trustin Lee wrote:
A meta transport is a transport that wraps other transport
implementation(s) to implement a certain additional feature. For
example, we could implement automatic reconnection like the following:
really really late +1 :)
-pete
--
[EMAIL PROTECT
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 e
[
https://issues.apache.org/jira/browse/DIRMINA-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
peter royal closed DIRMINA-431.
---
Resolution: Fixed
Fixed in 1.1 and trunk. 1.0 users should upgrade, as the fix uses updated java
[
https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
peter royal closed DIRMINA-429.
---
Resolution: Fixed
Fixed in 1.1 and trunk.
> SocketFilterChain.doWrite slows as outstanding wri
[
https://issues.apache.org/jira/browse/DIRMINA-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
peter royal closed DIRMINA-430.
---
Resolution: Fixed
Fixed in 1.1 and trunk. As it uses features of java5 to provide the fix, users
[
https://issues.apache.org/jira/browse/DIRMINA-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524369
]
peter royal commented on DIRMINA-431:
-
Fixed in 1.1 branch. Need to evaluate trunk to determine if it needs the
Deadlock in VmPipe mode
---
Key: DIRMINA-431
URL: https://issues.apache.org/jira/browse/DIRMINA-431
Project: MINA
Issue Type: Bug
Components: Core
Affects Versions: 1.1.2
Reporter: peter royal
[
https://issues.apache.org/jira/browse/DIRMINA-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524366
]
peter royal commented on DIRMINA-430:
-
Fixed in 1.1 branch, need to determine if trunk needs fix and apply
[
https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524367
]
peter royal commented on DIRMINA-429:
-
Fixed in 1.1 branch, need to determine if trunk needs fix and apply
: Improvement
Components: Core
Affects Versions: 1.1.2
Reporter: peter royal
Assignee: peter royal
Fix For: 1.1.3, 2.0.0-M1
Whenever you call SocketSessionImpl.getScheduledWriteBytes, it manually tallies
the size of the queue.
This is inefficient when the
Components: Core
Affects Versions: 1.1.2
Reporter: peter royal
Assignee: peter royal
Priority: Critical
Fix For: 1.1.3, 2.0.0-M1
SocketFilterChain.doWrite slows down as the number of outstanding write
requests increases. This is because
On Aug 30, 2007, at 5:51 AM, Chris Winters wrote:
Also, if you were fairly risk tolerant and were deploying a new
application
in about 45 days, would you use 1.1.x or 2.x?
2.x
(key phrase being "risk tolerant" :)
-pete
--
[EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Descriptio
On Aug 30, 2007, at 3:09 AM, Eero Nevalainen wrote:
I have a related problem. We have just started load testing one of
our simple servers. Nothing fancy, no tuning done as of yet, using
MINA 1.1.0.
When our load testing script generates incoming connections
rapidly, our server starts refus
On Aug 14, 2007, at 7:17 AM, Trustin Lee wrote:
All the changes above make good sense IMHO, but please let me know if
I made any mistake. I will revert back very quickly.
Looks good! (aside from naming nit raised in response to that
specific commit)
-pete
--
[EMAIL PROTECTED] - http://fo
On Aug 14, 2007, at 2:40 AM, [EMAIL PROTECTED] wrote:
Renamed TransportType to IoServiceMetadata because it stands what
it does more precisely
This name seems odd to me.. I think of a 'service' as what I'm
providing.. and MINA makes my service available over various
transports (TCP,UDP,in-
On Aug 5, 2007, at 11:12 AM, satish viswanatham wrote:
I did not see a way to set this in Java SE APIs, but I found a
library in
Java which lets you set DF bit:
http://netresearch.ics.uci.edu/kfujii/jpcap/doc/javadoc/index.html
Since setting that bit is not something that is in the standard j
On Aug 5, 2007, at 4:56 PM, mat wrote:
The following are the GC dump: Can you see someting here?
Did you set the JVM parameter to have it generate a heap snapshot
upon OOM?
Read http://blogs.sun.com/alanb/entry/
heapdumponoutofmemoryerror_option_in_5_0u7
Use -XX:+HeapDumpOnOutOfMemoryErr
On Jul 30, 2007, at 11:50 PM, James Im wrote:
An alternative to synchronization would be to declare the selector
final. However this doesn't seems to be possible without some broader
refactoring.
... which i would love to see if you want to take it on :)
-pete
--
[EMAIL PROTECTED] - http://f
On Jul 27, 2007, at 4:15 AM, Mark Webb wrote:
I am thinking that it might be best to keep the two separate. The
separation of the session and slf4j is best IMHO.
I'm also in favor of keeping them separate.
-pete
--
[EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME c
On Jul 31, 2007, at 11:57 PM, daniel golesny ((innoWake gmbh)) wrote:
org.apache.mina.filter.codec.ProtocolDecoderException:
org.apache.mina.common.BufferDataException: dataLength: 1010792557
(Hexdump: 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22
20 65
6E 63 6F 64 69 6E 67 3D 22 49
On Jul 23, 2007, at 3:45 AM, Paddy O'Neill wrote:
This sounds similar to a problem that we encountered where mina was
serving multiple sessions and forwarding to a single connection,
similar to your environment. We found that the thread management
in mina on the single connection side would
On Jul 21, 2007, at 10:41 AM, Mark Webb wrote:
This is a difficult problem and I wish I had a good suggestion.
The best I
can give you is to profile your application and pass along
information you
find so that we can help you.
I second this.
Enable http://blogs.sun.com/alanb/entry/
heapd
On Jul 10, 2007, at 3:31 AM, Trustin Lee wrote:
I found writing messages very fast from many threads sometimes doesn't
scale because the internal implementation of Seletor.wakeup() acquires
an exclusive lock. We could minimize the wakeup() calls in
SocketIoProcessor.flush(), but I don't have any
On Jul 17, 2007, at 1:52 AM, Trustin Lee wrote:
On 7/16/07, Mark <[EMAIL PROTECTED]> wrote:
There are 2 Mina-based proposed talks. I voted for both of them.
Look
forward to seeing the presentations!!
The other one is probably from Peter. Please vote for both then! :)
Yup, hedging bets t
On Jul 17, 2007, at 6:43 PM, Rob Butler wrote:
To use Spring for configuring MINA or not is of course a personal
choice. I very much like using Spring to configure MINA. It has
made adding filters and other configuration very easy.
agreed that its a personal choice.
personally, i'm sick o
On Jul 5, 2007, at 2:05 AM, gh_aiyz wrote:
I'm developing a server based on mina 1.03 .. but now the
performance is very bad while opening/closing connections
frequently. My server is designed for web page-view statistic, so
it must support frequent connection opening/closing, and
On Jul 5, 2007, at 12:17 AM, Irving, Dave wrote:
That said, if someone can highlight the remaining required steps,
Im more than happy to work through them and push forward
the integration.
glad to have you back. here's what Alex said last time that was asked:
--
We just need to go throug
[
https://issues.apache.org/jira/browse/DIRMINA-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
peter royal reassigned DIRMINA-394:
---
Assignee: peter royal
> Port the 'Haiku' example to
On Jul 7, 2007, at 4:25 PM, cowwoc wrote:
I noticed you are removing pooling and acquire()/release() of
ByteBuffer in
2.0. Can you please consider refactoring ByteBuffer to be a helper
class
that fits on top of or alongside NIO's ByteBuffer?
...
Also, I don't mean to offend anyone, but the Ja
have you tried toggling tcp_nodelay?
-pete
--
peter royal - (on the go)
On Jul 1, 2007, at 2:25 PM, "Colin Koeck" <[EMAIL PROTECTED]> wrote:
Hi, I've been experiencing intermittent latency with mina, generally
causing 37-40 millisecond delays.
This occurs when I
On Jun 28, 2007, at 8:00 AM, Chris Chalmers wrote:
I have a Mina server that simply pumps data through (based on the
Mina Proxy example) -
however, when sending large files (500Mb+), the data is read in
quickly, but written slowly (the target uses a blocking Socket
read); this causes the ser
On Jun 26, 2007, at 12:46 AM, liquidchen wrote:
So, is it true that for the current version, there are no easy way to
implement a sync socket client??
I have the same problem, for server side, it's work greate, but for
a sync
client, it's seems helpless...
its possible, but requires work. m
[
https://issues.apache.org/jira/browse/DIRMINA-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507697
]
peter royal commented on DIRMINA-378:
-
Are there some example files with the new formatting that I can use to
On Jun 23, 2007, at 11:02 AM, Mark Webb wrote:
Not a problem. I will take this one and make the change. I think
I was
overly-influenced by the ConcurrentHashMap discussions :)
heh, yup.. just totally different access patterns on this one :)
looks great otherwise!
-pete
--
[EMAIL PROTE
[
https://issues.apache.org/jira/browse/DIRMINA-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507621
]
peter royal commented on DIRMINA-389:
-
Cool! A definite case where the ConcurrentHashMap would help though
On Jun 20, 2007, at 3:42 PM, Trustin Lee wrote:
What about putting the option in IoService?
IoAcceptor acceptor = ..;
acceptor.setSessionAttributeMapFactory(new MyMapFactory());
I thought about putting it to IoSessionConfig but the map can't be
changed once its created.
good place for it. als
On Jun 20, 2007, at 9:50 AM, Germán Borbolla Flores wrote:
Thanks for the quick response
As far as I understand in messageReceived nextFilter points to the
filter "up" in the chain so if I set the following filter chain:
acceptorConfig.getFilterChain().addLast("cipher", new
CipherFi
On Jun 20, 2007, at 9:28 AM, Germán Borbolla Flores wrote:
If there isn't any, I was thinking about changing IoFilter and add
to each method a previousFilter so I could just invoke
previousFilter.filterWrite. Is this possible? Should I work on it
and send a patch or commit the change?
I be
On Jun 20, 2007, at 5:45 AM, Rob Butler wrote:
Can you make it a configurable option with the default being a
synchronized hashmap?
yeah, i was thinking about this as well.. Maybe we just need a
MapFactory that's used to create the structure hidden in the
IoSession.. then people can plug i
On Jun 19, 2007, at 7:07 PM, Trustin Lee wrote:
WDYT? Shall we revert back to HashMap?
Collections.synchronizedMap( new HashMap() ) sounds good :)
-pete
--
(peter.royal|osi)@pobox.com - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
On Jun 12, 2007, at 3:25 AM, Trustin Lee wrote:
http://people.apache.org/~trustin/mina-logo-trustin-alt.large.png
excellent!
-pete
--
[EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
On Jun 8, 2007, at 11:03 PM, Mike Heath wrote:
If this functionality is desired, I'll add some Java Docs to the above
methods and commit my code and accompanying unit tests.
very nice! looks to be a very useful addition!
-pete
--
[EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Descr
[
https://issues.apache.org/jira/browse/DIRMINA-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502896
]
peter royal commented on DIRMINA-386:
-
a patch would rock!
> SocketSessionConfigImpl: initialize() u
On Jun 7, 2007, at 8:37 AM, Chris Audley wrote:
Why does MINA limit one ProtocolCodecFilter in an IoFilterChain?
you can only go from ByteBuffer -> non-ByteBuffer once :)
This seems to be an unnecessary limitation. What if I want to use
a series
of codecs in order to build more complicated
On Jun 7, 2007, at 9:11 AM, ravinder singh wrote:
I am using MINA 1.1 to write a client-server application but struck
with
some message issues. The problem is as follows:
A client connects to my server and sends a message to it, then,
messageReceived of myHandler class (which extends IoHandler
On Jun 6, 2007, at 6:44 PM, Paul Chen wrote:
[2] When the traffic ramped up sharply lately, I begin to see it
hung and I
had to bounce
it to revive it.
Do a thread dump next time this happens. We can see what's going on
from that.
-pete
--
[EMAIL PROTECTED] - http://fotap.org/~osi
s
On May 30, 2007, at 9:24 PM, Trustin Lee wrote:
On 5/31/07, peter royal <[EMAIL PROTECTED]> wrote:
On May 30, 2007, at 6:43 PM, [EMAIL PROTECTED] wrote:
> Made ExecutorFilter.logger non-static for easier tracking of class
> loader issues
curious as to how this helps?
http://wik
On May 30, 2007, at 6:43 PM, [EMAIL PROTECTED] wrote:
Made ExecutorFilter.logger non-static for easier tracking of class
loader issues
curious as to how this helps?
-pete
--
[EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
On May 25, 2007, at 5:34 PM, Alex Karasulu wrote:
Can get some volunteers to work through the ip-clearance and migration
process. We got the approval
from Incubator to make it a subproject of the MINA TLP.
What else is needed? Make a checklist in SVN or on the wiki of
remaining steps?
-pet
On May 24, 2007, at 8:45 AM, Adam Fisk wrote:
The slides were just posted from this Java One session claiming
Grizzly
blows MINA away performance-wise, and I'm just curious as to
people's views
on it. They present some interesting ideas about optimizing selector
threading and ByteBuffer use.
On May 23, 2007, at 4:19 PM, Pérez Paz Luis Alberto wrote:
Is necessary disable the direct buffers on the 1.1.0 version??
I mean:
ByteBuffer.setUseDirectBuffers(false);
ByteBuffer.setAllocator(new SimpleByteBufferAllocator());
yes
I was looking in the changes between version and I've not found
On May 24, 2007, at 3:47 AM, John Preston wrote:
I think the thing to note is not any difference between the two, but
that adding this API will expose the native capabilities of the OS (if
I'm correct).
Correct. It really lets the OS push up more of its "event driven" IO
stack to the applicat
On May 22, 2007, at 10:37 PM, Brigham Stevens wrote:
I would like the Attribute keys to be Objects instead of Strings or
Enums.
(Because then we could use Enums if we want, right?
Or is there another good reason for not using POJO? .hashCode()
collision?)
Yes, you could use Enum's with Obje
On May 22, 2007, at 10:01 PM, Trustin Lee wrote:
Do you think we need to remove the restriction that the key must be a
string? It makes sense IMHO.
i don't think we need to.. i find it easy enough now, since its like
the servlet API that i know well :) .. but i won't object if the
communit
On May 21, 2007, at 11:09 PM, James Im wrote:
In the end, when talking about the asynchronous API versus the
non-blocking API, I didn't get which one will give the best
performance.
Is he saying that it depends on the os?
He didn't seem to give any sort of relative comparison between non-
On May 22, 2007, at 3:18 AM, Eero Nevalainen wrote:
I was thinking about an earlier discussion about setting attributes
last night. One thing that bugs me a bit is that the key is a
String and someone else might be using that same String as their key.
So I had the thought of setting attribut
http://www.artima.com/lejava/articles/more_new_io.html
-pete
--
[EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
On May 21, 2007, at 7:07 AM, Matt Mehalso wrote:
Has anyone had any success using Mina within a WebContainer, such as
WebSphere? Is there any way to configure Mina to run in a single
thread, or
to integrate the framework with a WorkManager (container-managed
thread
pool)?
using the constr
On May 18, 2007, at 8:47 PM, Matthew Phillips wrote:
This was all working reliably with 1.0.2, but in 1.1 it seems that
the reply is never seen by the client -- it appears that the
DisconnRply isn't getting flushed on session close. Changing the
code as below fixes the problem:
session.w
On May 16, 2007, at 11:12 AM, jian wu wrote:
If I understand correctly, Mina treats the message A sent out
and Message B received as two independent events, you might
want to consider tracking "sending message A" in the
filterWrite() of your last IoFilter before Mina actually writes out
message A
On May 15, 2007, at 2:13 AM, lichunlei wrote:
Our socket Server program is hinding a firewall, so our client have
to use a
socket proxy to visit server.
But I don't know how to use socket proxy in mina?
It takes three days to this trouble.
If there is not a good method to deal with the probl
On May 16, 2007, at 10:02 PM, jian wu wrote:
Is there any case which "synchronized" could be refactored to use
java.util.concurrent.locks.ReentrantReadWriteLock?
If so, there mighe be some performance improvement through
shared Read Lock.
possible. i'd totally advocate using a lock in such cas
On May 15, 2007, at 11:46 PM, Trustin Lee wrote:
So, should we stick to synchronized as long as we don't need advanced
features of ReentrantLock for MINA?
yeah.. if it ain't broke (or a performance bottleneck), don't fix (or
break!) it :)
-pete
--
[EMAIL PROTECTED] - http://fotap.org/~osi
On May 15, 2007, at 11:22 PM, Trustin Lee wrote:
I was reviewing DefaultIoFuture implementation in 1.1 which used
CountDownLatch and AtomicBoolean, and found a possible bug. Please
verify my idea.
I think you're right. Might just be safest to use synchronization on
the two methods to keep th
On May 15, 2007, at 2:11 PM, Haviv wrote:
Recently I am profiling memory on my application which is based on
MINA
1.0.1.
During my tests I found that there are many instances of ArrayList
allocated
from DefaultIoFuture constructor(around 10-20%
of the total memory), after reviewing the code
On May 15, 2007, at 12:10 PM, Maarten Bosteels wrote:
tests failed here as well.
I had to change
public class RequestResponseFilterTest
into
public class RequestResponseFilterTest extends TestCase
That's a JUnit 4 test, so it doesn't need that, but Maven isn't smart
enough to do JUnit 4 test
On May 15, 2007, at 7:15 AM, Twan wrote:
I rather read a couple bytes from a file that is on the server and
send it directly to the client. Can somebody please tell me which
combination of classes i should use to make this work?
Give the StreamWriteFilter a whirl.
-pete
--
[EMAIL PROTECTED
On May 10, 2007, at 1:59 PM, T.Knittel wrote:
Actually I'm working on an application which is intended to be
compiled to Windows- or Linux- Nativecode.
I'd like to use Mina in this application, but it depends on the
posibility to compile it to native-codes or not.
Could someone give me some
On May 12, 2007, at 11:00 AM, satish viswanatham wrote:
I am looking for a RADIUS server based on MINA (ObjectRADIUS server?)
download. I looked at the following URL. http://radius.safehaus.org
I did
not find a downloadable binary or sources. Can you please suggest,
where I
can find the serv
1 - 100 of 182 matches
Mail list logo