mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Labunsky" <elabun...@gmail.com>
Subject Re: Terminate client package problem
Date Tue, 23 Jan 2007 07:39:47 GMT
Sure, I'll try prepare it soon ... Thank you.

23.01.07, Niklas Therning <niklas@trillian.se> написал(а):
>
> Eugene Labunsky 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?
>
> So you want the client to reconnect to the server when the connection is
> closed but at the moment the client exits with code 0 instead? Am I
> right? It's hard to give you any advice without more information. Could
> you let us see your Java code perhaps? If it's not very large you could
> post it here on the list. Otherwise maybe you could put it somewhere for
> us to download so we can have a look?
>
> >
> > 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.5 working 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).
> >
> Again, please if possible, send us your code.
>
> --
> Niklas Therning
> www.spamdrain.net
>
>


-- 
Regards,
Eugene Labunsky.
http://www.TrendMedium.com - MetaStock Add-on
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message