On 1/22/07, Eugene Labunsky <[EMAIL PROTECTED]> wrote:

Hello,

I have problem with client package - when link beetwen the client & server
(both based on MINA 1.0.1) closed client package exit with code 0.
Sure in the NetCatProtocolHandler I have handle OnClosed event and try
connect to server like in FAQ. This client sends and receives message from
server.
I have other client application based on MINA. This package just receive
data from server and this client do not terminate when connection closed.
How I can fix it?


Please make sure to set SocketConnector.setWorkerTimeout() to smaller value
(e.g. 3 seconds).

I have other problem also. When I moved to MINA 1.0.1 from 0.9.5 my client
package have problem with server's connection (sure I have rewrite code in
main like SumUp sample for non using decoder case).
First time it connected to server application and can't run
messageReceived.
It wait before session closed and then run again. The same code with
0.9.5working without any problem. I have added last
backport-util-concurrent.jar from official web site for JAVA 5.0 - I have
1.5.x JDK).


Hmm... I have no clue.  I need the full thread dump, the startup code, and
IoHandler implementation code of the client side when connection is
established and nothing happens.

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6

Reply via email to