This is weird. You could start debuging from NioProcessor and
AbstractPollingIoProcessor (the supertype).
HTH,
On Fri, 16 May 2008 01:03:53 +0900, Simon Trudeau
<[EMAIL PROTECTED]> wrote:
I am currently using mina for building an application which communicates
with a device and I noticied that certain packets were not being
handled. They were kind of silently dropped. More precisely, I cannot
detect Mina 2.x (latest trunk) handling them.
I am developping on windows vista
I tried putting the log filter as the first filter on the stack, to no
avail. I see my request being sent to the device:
[EMAIL PROTECTED]:42:45 INFO (LogLevel.java:90) - SENT: HeapBuffer[pos=0
lim=20 cap=20: 00 00 00 14 00 00 00 6C 41 54 2B 42 52 50 53 57...]
[EMAIL PROTECTED]:42:45 INFO (LogLevel.java:90) - SENT: HeapBuffer[pos=0
lim=0 cap=0: empty]
But I don't see any response coming back from the device.
Using Wireshark, I see my packet being sent out, and the response coming
back but I don't see the response being handled by mina. This is very
weird as it only happens when I try stressing out the application a
little bit by sending many request-response.
From Wireshark, response is received, 0.138507 seconds after the request
is sent.
Is there a way for me to debug this? Where should I go looking for my
missing packet which I received but I don't see showing up in mina?
Thanks,
Simon
--
Trustin Lee - Principal Software Engineer, JBoss, Red Hat
--
what we call human nature is actually human habit
--
http://gleamynode.net/