-
Bug
-
Resolution: Won't Fix
-
Medium
-
None
-
2.3.3
-
Confluence standalone on RHES 4 (x86)
Java: Sun Java 1.6.0
When the IMAPS connection times out on email polling once, the Confluence server doesn't poll for email any more. When triggering the polling manually in the Web interface the server claims to be currently polling the email account.
The only remedy seems to be a server restart.
I am just speculating here but it looks like the Quartz thread that is responsible for email polling terminates because the exception is not caught.
When the error occurs, the following lines can be found In atlassian-confluence.log:
2007-02-14 19:57:09,085 ERROR [DefaultQuartzScheduler_Worker-3] [atlassian.confluence.mail.DefaultMailAccountManager] retrieveMessages Error connecting to IMAPS account [cisdwik
i@rinn.ch@mail.genotec.ch:993] for space CISDInt: Error connecting to mail server: Connection timed out;
nested exception is:
java.net.ConnectException: Connection timed out
javax.mail.MessagingException: Connection timed out;
nested exception is:
java.net.ConnectException: Connection timed out
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:441)
at javax.mail.Service.connect(Service.java:233)
at com.atlassian.confluence.mail.DefaultMailAccountManager.getStore(DefaultMailAccountManager.java:256)
at com.atlassian.confluence.mail.DefaultMailAccountManager.retrieveMessages(DefaultMailAccountManager.java:112)
at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:89)
at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:59)
at com.atlassian.confluence.mail.DefaultMailAccountManager.pollAllSpaces(DefaultMailAccountManager.java:242)
at sun.reflect.GeneratedMethodAccessor306.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
at $Proxy35.pollAllSpaces(Unknown Source)
at com.atlassian.confluence.mail.jobs.MailPollJob.executeJob(MailPollJob.java:29)
at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:44)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:66)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
- is related to
-
CONFSERVER-29033 Email sending stops due to mail job hanging in sendMessage()
-
- Closed
-
-
CONFSERVER-10335 Mail connections do not specify a timeout, leading to monopolization of resources
-
- Closed
-