Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-4313

Confluence cannot start when Bandana-Config contains wrong POP-mail-password

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • High
    • None
    • 1.4.4
    • Tomcat 5.5, JDK 1.5.0_04, Linux, Oracle DB (10)

    Description

      I recently configured a space-pop-mail-account but not knowing the password I left it "broken".

      Now, due to an OutOfMemoryError (already reported at support.atlassian.com) I had to restart the Tomcat-server. This failed due to the exception below. It seems as if because of this wrong password Confluence won't startup at all. There should be a robust error handling so that I can at least change the password inside Confluence.

      Workaround: Go to the <confluence-home>/config/<Space Key>-directory and edit the confluence-space.bandana.xml. As the password is clear-text I just had to enter the correct password. Perhaps an alternative is to completely delete the <popMailAccount>-entry.

      And now here is the exception:

      2005-10-14 13:04:00,056 ERROR [atlassian.confluence.mail.DefaultMailAccountManager] Error retrieving store to fetch mail.
      2005-10-14 13:05:00,066 WARN [atlassian.confluence.mail.DefaultMailAccountManager] Error connecting to mail server: hostname: Exchange-Server-Machine username: MailUser
      javax.mail.AuthenticationFailedException: Logon failure: unknown user name or bad password.
      at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:104)
      at javax.mail.Service.connect(Service.java:233)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.getStore(DefaultMailAccountManager.java:169)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:65)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.poll(DefaultMailAccountManager.java:48)
      at com.atlassian.confluence.mail.DefaultMailAccountManager.pollAllSpaces(DefaultMailAccountManager.java:274)
      at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152)
      at $Proxy24.pollAllSpaces(Unknown Source)
      at com.atlassian.confluence.mail.jobs.MailPollJob.executeInternal(MailPollJob.java:19)
      at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:66)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
      2005-10-14 13:05:00,067 ERROR [atlassian.confluence.mail.DefaultMailAccountManager] Error retrieving store to fetch mail.

      Attachments

        Activity

          People

            Unassigned Unassigned
            2f5ffb0094a7 Mark Michaelis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: