0 Replies Latest reply on Jun 3, 2009 8:44 AM by fromruss

    E-Mail Monitor sporadic performance in 2.5.12

      Hi Clearspace Wizards,

       

      I need some help regarding the e-mail monitor. I have been working on an e-mail monitor issue that I have not been able to track down. We are running Clearspace 2.5.5 and enabled the e-mail monitor about 2 weeks ago to allow people to respond to discussions via e-mail. I should note that the IMAP server is controlled by our central office, we have access, can create accounts, but cannot make any configuration changes, performance on the central server can be sporadic as in in can go down for a few minutes and come back up.

       

      I have been looking through the logs and have found timeouts and login problems when the server goes down for a few minutes but nothing noting why messages are not posting when they are read. I can confirm the messages are received and Clearspace is seeing them from testing the accounts.

       

      Users report that it is a hit or miss if their messages reach Clearspace, some have bounce backs, some post right away, some are received but never processed. I have grabbed some of the more interesting logs and hope that someone can take a look and help me find the root cause.

       

      31 May 2009 10:08:45,275 [Task Engine Worker 0] ERROR mail.EmailMonitor - Unable to process incoming email
      java.lang.IllegalStateException: This operation is not allowed on a closed folder
          at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:955)
          at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:935)
          at com.jivesoftware.community.mail.IMAPMailStrategy.checkForMessages(IMAPMailStrategy.java:93)
          at com.jivesoftware.community.mail.EmailMonitor.checkMailAccount(EmailMonitor.java:295)
          at com.jivesoftware.community.mail.EmailMonitor.processMessages(EmailMonitor.java:320)
          at com.jivesoftware.community.mail.EmailMonitor$1.run(EmailMonitor.java:164)
          at com.jivesoftware.util.task.TaskEngine$GuardedRunnable.run(TaskEngine.java:491)
          at com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:392)

       

      26 May 2009 15:35:29,563 [Task  Engine Worker 1] INFO mail.EmailMonitor - Unable to read or process incoming  mail - sending rejection mail.

      com.jivesoftware.community.mail.EmailMonitorException:  Error replying to message with id: 1367 via email on behalf of user with id:  2002

                  at  com.jivesoftware.community.mail.ReplyToThread.execute(ReplyToThread.java:138)

                  at  com.jivesoftware.community.mail.EmailMonitor$2.call(EmailMonitor.java:363)

                  at  com.jivesoftware.community.aaa.authz.SudoExecutor.executeCallable(SudoExecutor.java:50)

                  at  com.jivesoftware.community.mail.EmailMonitor.processMessages(EmailMonitor.java:368)

                  at  com.jivesoftware.community.mail.EmailMonitor$1.run(EmailMonitor.java:164)

                  at  com.jivesoftware.util.task.TaskEngine$GuardedRunnable.run(TaskEngine.java:491)

                  at  com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:392)

      Caused by:  java.lang.IllegalArgumentException: Parent key 1367 not found when adding child  1378.

                  at  com.jivesoftware.util.LongTree.addChild(LongTree.java:100)

                  at  com.jivesoftware.community.impl.DbTreeWalker.addChild(DbTreeWalker.java:224)

                  at  com.jivesoftware.community.impl.DbForumManager.addMessage(DbForumManager.java:1881)

                  at  com.jivesoftware.community.impl.DbForumThread.addMessage(DbForumThread.java:1014)

                  at  com.jivesoftware.community.proxy.ForumThreadProxy.addMessage(ForumThreadProxy.java:128)

                  at  com.jivesoftware.community.mail.ReplyToThread.execute(ReplyToThread.java:100)

       

       

      24 May 2009 00:36:36,723 [Task  Engine Worker 1] WARN mail.EmailMonitor - Error reading configured email account  - no messages read.

      javax.mail.AuthenticationFailedException:  No connection could be made because the target machine actively refused  it.

                  at  com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:474)

                  at  javax.mail.Service.connect(Service.java:275)

                  at  com.jivesoftware.community.mail.IMAPMailStrategy.checkForMessages(IMAPMailStrategy.java:69)

                  at  com.jivesoftware.community.mail.EmailMonitor.checkMailAccount(EmailMonitor.java:295)

                  at  com.jivesoftware.community.mail.EmailMonitor.processMessages(EmailMonitor.java:320)

                  at  com.jivesoftware.community.mail.EmailMonitor$1.run(EmailMonitor.java:164)

                  at  com.jivesoftware.util.task.TaskEngine$GuardedRunnable.run(TaskEngine.java:491)

                  at  com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:392)

      24 May 2009 00:36:57,723 [Task  Engine Worker 2] WARN mail.EmailMonitor - Error reading configured email account  - no messages read.

      javax.mail.AuthenticationFailedException:  The service has not been started.

                  at  com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:474)

                  at  javax.mail.Service.connect(Service.java:275)

                  at  com.jivesoftware.community.mail.IMAPMailStrategy.checkForMessages(IMAPMailStrategy.java:69)

                  at  com.jivesoftware.community.mail.EmailMonitor.checkMailAccount(EmailMonitor.java:295)

                  at  com.jivesoftware.community.mail.EmailMonitor.processMessages(EmailMonitor.java:320)

                  at  com.jivesoftware.community.mail.EmailMonitor$1.run(EmailMonitor.java:164)

                  at  com.jivesoftware.util.task.TaskEngine$GuardedRunnable.run(TaskEngine.java:491)

                  at  com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:392)

      24 May 2009 00:37:27,754 [Task  Engine Worker 1] WARN mail.EmailMonitor - Error reading configured email account  - no messages read.

      javax.mail.AuthenticationFailedException:  The server has rejected your request.

                  at  com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:474)

                  at  javax.mail.Service.connect(Service.java:275)

                  at  com.jivesoftware.community.mail.IMAPMailStrategy.checkForMessages(IMAPMailStrategy.java:69)

                  at  com.jivesoftware.community.mail.EmailMonitor.checkMailAccount(EmailMonitor.java:295)

                  at  com.jivesoftware.community.mail.EmailMonitor.processMessages(EmailMonitor.java:320)

                  at  com.jivesoftware.community.mail.EmailMonitor$1.run(EmailMonitor.java:164)

                  at  com.jivesoftware.util.task.TaskEngine$GuardedRunnable.run(TaskEngine.java:491)

                  at  com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:392)

      24 May 2009 10:09:18,818 [Task  Engine Worker 2] WARN mail.EmailMonitor - Error reading configured email account  - no messages read.

      javax.mail.AuthenticationFailedException:  Connect attempt failed: server may be down or too busy to  respond.

                  at  com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:474)

                  at  javax.mail.Service.connect(Service.java:275)

                  at  com.jivesoftware.community.mail.IMAPMailStrategy.checkForMessages(IMAPMailStrategy.java:69)

                  at  com.jivesoftware.community.mail.EmailMonitor.checkMailAccount(EmailMonitor.java:295)

                  at  com.jivesoftware.community.mail.EmailMonitor.processMessages(EmailMonitor.java:320)

                  at  com.jivesoftware.community.mail.EmailMonitor$1.run(EmailMonitor.java:164)

                  at  com.jivesoftware.util.task.TaskEngine$GuardedRunnable.run(TaskEngine.java:491)

                  at  com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:392)

      24 May 2009 10:09:48,568 [Task  Engine Worker 0] WARN mail.EmailMonitor - Error reading configured email account  - no messages read.

      javax.mail.AuthenticationFailedException:  Connect attempt failed: server may be down or too busy to  respond.

                  at  com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:474)

                  at  javax.mail.Service.connect(Service.java:275)

                  at  com.jivesoftware.community.mail.IMAPMailStrategy.checkForMessages(IMAPMailStrategy.java:69)

                  at  com.jivesoftware.community.mail.EmailMonitor.checkMailAccount(EmailMonitor.java:295)

                  at  com.jivesoftware.community.mail.EmailMonitor.processMessages(EmailMonitor.java:320)

                  at  com.jivesoftware.community.mail.EmailMonitor$1.run(EmailMonitor.java:164)

                  at  com.jivesoftware.util.task.TaskEngine$GuardedRunnable.run(TaskEngine.java:491)

                  at  com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:392)

      24 May 2009 10:09:58,849 [Task  Engine Worker 1] WARN mail.EmailMonitor - Error reading configured email account  - no messages read.

      javax.mail.AuthenticationFailedException:  No connection could be made because the target machine actively refused  it.

                  at  com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:474)

                  at  javax.mail.Service.connect(Service.java:275)

                  at  com.jivesoftware.community.mail.IMAPMailStrategy.checkForMessages(IMAPMailStrategy.java:69)

                  at  com.jivesoftware.community.mail.EmailMonitor.checkMailAccount(EmailMonitor.java:295)

                  at  com.jivesoftware.community.mail.EmailMonitor.processMessages(EmailMonitor.java:320)

                  at  com.jivesoftware.community.mail.EmailMonitor$1.run(EmailMonitor.java:164)

                  at  com.jivesoftware.util.task.TaskEngine$GuardedRunnable.run(TaskEngine.java:491)

                  at  com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:392)

      24 May 2009 10:10:27,801 [Task  Engine Worker 2] WARN mail.EmailMonitor - Error reading configured email account  - no messages read.

      javax.mail.AuthenticationFailedException:  The server has rejected your request.

                  at  com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:474)

                  at  javax.mail.Service.connect(Service.java:275)

                  at  com.jivesoftware.community.mail.IMAPMailStrategy.checkForMessages(IMAPMailStrategy.java:69)

                  at  com.jivesoftware.community.mail.EmailMonitor.checkMailAccount(EmailMonitor.java:295)

                  at  com.jivesoftware.community.mail.EmailMonitor.processMessages(EmailMonitor.java:320)

                  at  com.jivesoftware.community.mail.EmailMonitor$1.run(EmailMonitor.java:164)

                  at  com.jivesoftware.util.task.TaskEngine$GuardedRunnable.run(TaskEngine.java:491)

                  at  com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:392)

      24 May 2009 10:10:57,769 [Task  Engine Worker 0] WARN mail.EmailMonitor - Error reading configured email account  - no messages read.

      javax.mail.AuthenticationFailedException:  The message store is not available at this time.

                  at  com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:474)

                  at  javax.mail.Service.connect(Service.java:275)

                  at  com.jivesoftware.community.mail.IMAPMailStrategy.checkForMessages(IMAPMailStrategy.java:69)

                  at  com.jivesoftware.community.mail.EmailMonitor.checkMailAccount(EmailMonitor.java:295)

                  at  com.jivesoftware.community.mail.EmailMonitor.processMessages(EmailMonitor.java:320)

                  at  com.jivesoftware.community.mail.EmailMonitor$1.run(EmailMonitor.java:164)

                  at  com.jivesoftware.util.task.TaskEngine$GuardedRunnable.run(TaskEngine.java:491)

                  at  com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:392)

      24 May 2009 10:29:31,217 [Task  Engine Worker 0] WARN mail.EmailMonitor - Error reading configured email account  - no messages read.

      javax.mail.AuthenticationFailedException:  No connection could be made because the target machine actively refused  it.

                  at  com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:474)

                  at  javax.mail.Service.connect(Service.java:275)

                  at  com.jivesoftware.community.mail.IMAPMailStrategy.checkForMessages(IMAPMailStrategy.java:69)

                  at  com.jivesoftware.community.mail.EmailMonitor.checkMailAccount(EmailMonitor.java:295)

                  at  com.jivesoftware.community.mail.EmailMonitor.processMessages(EmailMonitor.java:320)

                  at  com.jivesoftware.community.mail.EmailMonitor$1.run(EmailMonitor.java:164)

                  at  com.jivesoftware.util.task.TaskEngine$GuardedRunnable.run(TaskEngine.java:491)

                  at  com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:392)

      24 May 2009 10:29:57,873 [Task  Engine Worker 2] WARN mail.EmailMonitor - Error reading configured email account  - no messages read.

      javax.mail.AuthenticationFailedException:  The server has rejected your request.

                  at  com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:474)

                  at  javax.mail.Service.connect(Service.java:275)

                  at  com.jivesoftware.community.mail.IMAPMailStrategy.checkForMessages(IMAPMailStrategy.java:69)

                  at  com.jivesoftware.community.mail.EmailMonitor.checkMailAccount(EmailMonitor.java:295)

                  at  com.jivesoftware.community.mail.EmailMonitor.processMessages(EmailMonitor.java:320)

                  at  com.jivesoftware.community.mail.EmailMonitor$1.run(EmailMonitor.java:164)

                  at  com.jivesoftware.util.task.TaskEngine$GuardedRunnable.run(TaskEngine.java:491)

                  at  com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:392)

      24 May 2009 10:30:27,747 [Task  Engine Worker 2] WARN mail.EmailMonitor - Error reading configured email account  - no messages read.

      javax.mail.AuthenticationFailedException:  The server has rejected your request.

                  at  com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:474)

                  at  javax.mail.Service.connect(Service.java:275)

                  at  com.jivesoftware.community.mail.IMAPMailStrategy.checkForMessages(IMAPMailStrategy.java:69)

                  at  com.jivesoftware.community.mail.EmailMonitor.checkMailAccount(EmailMonitor.java:295)

                  at  com.jivesoftware.community.mail.EmailMonitor.processMessages(EmailMonitor.java:320)

                  at  com.jivesoftware.community.mail.EmailMonitor$1.run(EmailMonitor.java:164)

                  at  com.jivesoftware.util.task.TaskEngine$GuardedRunnable.run(TaskEngine.java:491)

                  at  com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:392)