You will need to hold an reference to your javax.mail.Session instance, otherwise it will be garbage collected and the socket will be closed (but I'm even not sure it will remain open if you don't create regular traffic).

Btw, the log message should not be an error, but a simple info.

Hopes this help, Eric


On 19/03/12 17:36, Kendrick C. Wilson wrote:

I am using Java Mail.

Kendrick C. Wilson


Date: Mon, 19 Mar 2012 17:10:51 +0100
From: [email protected]
To: [email protected]
Subject: Re: James 3.0 Beta 4 version

Hi,
This can occurs is the socket connection times out without keep-alives.
Which client do you use?
After how long do you see this?

Eric

On 19/03/12 16:21, Kendrick C. Wilson wrote:

Anyone getting this error in the imapserver log?

Logout client server.local (127.0.0.1) because it idled for too long...

What does it mean?


Kendrick.
                                        

--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

                                        

--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to