org.springframework.messaging.MessagingException: failure occurred while polling for mail; nested exception is javax.mail.AuthenticationFailedException: [IN-USE] /var/spool/maildrop/.program_name.pop lock busy! Is another session active? (11)

Stack Overflow | nicholas79171 | 4 months ago
  1. 0

    Spring Integration lock busy, another session is active

    Stack Overflow | 4 months ago | nicholas79171
    org.springframework.messaging.MessagingException: failure occurred while polling for mail; nested exception is javax.mail.AuthenticationFailedException: [IN-USE] /var/spool/maildrop/.program_name.pop lock busy! Is another session active? (11)
  2. 0

    RE: javax.mail.AuthenticationFailedException

    apache.org | 1 year ago
    javax.mail.AuthenticationFailedException: Authentication failed.
  3. 0

    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.

    Atlassian JIRA | 1 decade ago | Mark Michaelis
    javax.mail.AuthenticationFailedException: Logon failure: unknown user name or bad password.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java Mail Authentication

    Stack Overflow | 4 years ago | Skyscraper
    javax.mail.AuthenticationFailedException: No POP server defined. Use real server address instead of 127.0.0.1 in your account.
  6. 0

    Using JavaMail to read the mail

    Stack Overflow | 4 years ago | tester
    javax.mail.AuthenticationFailedException: Command is not valid in this state.

  1. AndrewProg 10 times, last 3 months ago
13 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.mail.AuthenticationFailedException

    [IN-USE] /var/spool/maildrop/.program_name.pop lock busy! Is another session active? (11)

    at com.sun.mail.pop3.POP3Store.protocolConnect()
  2. JavaMail API (compat)
    POP3Store.protocolConnect
    1. com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:207)
    1 frame
  3. JavaMail API
    Service.connect
    1. javax.mail.Service.connect(Service.java:295)
    2. javax.mail.Service.connect(Service.java:176)
    3. javax.mail.Service.connect(Service.java:125)
    3 frames
  4. org.springframework.integration
    MailReceivingMessageSource.receive
    1. org.springframework.integration.mail.AbstractMailReceiver.connectStoreIfNecessary(AbstractMailReceiver.java:286)
    2. org.springframework.integration.mail.AbstractMailReceiver.openFolder(AbstractMailReceiver.java:297)
    3. org.springframework.integration.mail.AbstractMailReceiver.receive(AbstractMailReceiver.java:319)
    4. org.springframework.integration.mail.MailReceivingMessageSource.receive(MailReceivingMessageSource.java:112)
    4 frames
  5. Spring Integration Core
    ErrorHandlingTaskExecutor$1.run
    1. org.springframework.integration.endpoint.SourcePollingChannelAdapter.receiveMessage(SourcePollingChannelAdapter.java:209)
    2. org.springframework.integration.endpoint.AbstractPollingEndpoint.doPoll(AbstractPollingEndpoint.java:245)
    3. org.springframework.integration.endpoint.AbstractPollingEndpoint.access$000(AbstractPollingEndpoint.java:58)
    4. org.springframework.integration.endpoint.AbstractPollingEndpoint$1.call(AbstractPollingEndpoint.java:190)
    5. org.springframework.integration.endpoint.AbstractPollingEndpoint$1.call(AbstractPollingEndpoint.java:186)
    6. org.springframework.integration.endpoint.AbstractPollingEndpoint$Poller$1.run(AbstractPollingEndpoint.java:353)
    7. org.springframework.integration.util.ErrorHandlingTaskExecutor$1.run(ErrorHandlingTaskExecutor.java:55)
    7 frames
  6. Spring Core
    SyncTaskExecutor.execute
    1. org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
    1 frame
  7. Spring Integration Core
    AbstractPollingEndpoint$Poller.run
    1. org.springframework.integration.util.ErrorHandlingTaskExecutor.execute(ErrorHandlingTaskExecutor.java:51)
    2. org.springframework.integration.endpoint.AbstractPollingEndpoint$Poller.run(AbstractPollingEndpoint.java:344)
    2 frames
  8. Spring Context
    ReschedulingRunnable.run
    1. org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
    2. org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
    2 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    2. java.util.concurrent.FutureTask.run(Unknown Source)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    7. java.lang.Thread.run(Unknown Source)
    7 frames