Hi Murat,

just to tell you that, for an unknown reason, your mails are always received
twice. As they are moderated, we have to remove one of them before it hits
the list. Is there anything special with your mailer that could be changed
to avoid such a behavior?

Also, if you can remove the signature (a smime.p7s attachement withing each
of your mails), they won't be moderated anymore (moderation means that the
mails are tagged as potential spams, and we have to manually accept - or
reject - them, with takes a little bit of time, and moreover your mails are
delayed until some Human accept them:)

Take no offense at all, this is just for you to be aware of the way mails
are processed.

Thanks a lot,
Emmanuel

On 3/28/07, Murat Ozdemir <[EMAIL PROTECTED]> wrote:

Hi Trustin,
Thanks for your interest after your advice i've set the session idle time
to
500 seconds for testing but nothing changed. I'm using RAD 6.0 as
developement env. I've included MINA source for debug and faced that at
"ExecuterFilter.java" on line 306 "processEvent( event.getNextFilter(),
buffer.session, event.getType(), event.getData() );"
command closes session.
Do you have comments?

----------
Murat OZDEMIR
Elektronik Mühendisi

-----Original Message-----
From: Trustin Lee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 5:40 AM
To: [email protected]
Subject: Re: SocketConnector Closes Session at 20 sec.

Hi Murat,

On 3/27/07, Murat Ozdemir <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
> SocketConnector closes Session at 20 sec. when idle. But i have set
> the worker timeout to 100 sec.
>
> Despite
>     // worker timeout to 100 second to make the I/O thread quit soon
>     connector.setWorkerTimeout( 100 );

I/O processor will never quit if there's any connected session.  The
worker
timeout is applied only when there's no connected.  Therefore, you don't
need to adjust this property at all.

> and
>     // HTTP_CONNECT_TIMEOUT = 10 sec.
>     cfg.setConnectTimeout(
> SmsCenterConstants.HTTP_CONNECT_TIMEOUT );

The connect timeout is applied only for a connection attempt.  If the
session is already connected and created, this property doesn't affect the
session at all.

I suspect that you set idle time to 20 seconds, or the client is
configured
to close the connection when it's idle for 20 seconds.  The code will look
like this for example:

session.setIdleTime(IdleStatus.BOTH_IDLE, 20);

HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6




--
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to