|
Home > Archive > Apache Directory Project > December 2005 > Apache MINA - Session Closing Problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Apache MINA - Session Closing Problem
|
|
| Christoph Aschwanden 2005-12-10, 5:45 pm |
| Hi there!
I think MINA is way cool! I already got part of my software ported to
use it. Please keep on going.
I successfully managed to established a client-server TCP/IP socket
connection.
I was able to send a login request from a client and return a login response
from the server.
However, I run into a problem. I sent another type of message. The client
successfully sends the message to my server, the server processes and
encodes the message. However, the server rather than to return the
encoded message, just closes the connection to the client; no error message.
Sorry, there is no error message (no exception, it's not an idle problem
either).
The server just closes the connection to the client without sending the
message.
What could be the problem?
I use the latest version 0.9.1 (dec 5).
Thanks.
Chris
| |
| Trustin Lee 2005-12-21, 2:45 am |
| Hi Chris,
2005/12/10, Christoph Aschwanden <caschwan-MsMAYOsy5kY3uPMLIKxrzw@public.gmane.org>:
>
> I think MINA is way cool! I already got part of my software ported to
> use it. Please keep on going.
>
> I successfully managed to established a client-server TCP/IP socket
> connection.
> I was able to send a login request from a client and return a login
> response
> from the server.
>
> However, I run into a problem. I sent another type of message. The client
> successfully sends the message to my server, the server processes and
> encodes the message. However, the server rather than to return the
> encoded message, just closes the connection to the client; no error
> message.
>
> Sorry, there is no error message (no exception, it's not an idle problem
> either).
> The server just closes the connection to the client without sending the
> message.
> What could be the problem?
>
> I use the latest version 0.9.1 (dec 5).
I think you're using 0.8.1. Could you try again with 0.8.2 which is
released recently? And please check if your encoder fell into infinite
loop.
HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
PGP Key ID: 0x854B996C
|
|
|
|
|