You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (Created) (JIRA)" <se...@james.apache.org> on 2011/10/08 20:31:29 UTC
[jira] [Created] (IMAP-345) AbstractSelectionProcessor.unseen(..)
may throws MailboxException if the message was deleted by an other session
AbstractSelectionProcessor.unseen(..) may throws MailboxException if the message was deleted by an other session
----------------------------------------------------------------------------------------------------------------
Key: IMAP-345
URL: https://issues.apache.org/jira/browse/IMAP-345
Project: JAMES Imap
Issue Type: Bug
Components: Processor
Affects Versions: 0.2.1
Reporter: Norman Maurer
Assignee: Norman Maurer
Fix For: 0.3
See this exception:
org.apache.james.mailbox.MailboxException: No message found with uid 505 in mailbox #private.INBOX.james-apache-org
at org.apache.james.imap.processor.AbstractSelectionProcessor.unseen(AbstractSelectionProcessor.java:357)
at org.apache.james.imap.processor.AbstractSelectionProcessor.respond(AbstractSelectionProcessor.java:134)
at org.apache.james.imap.processor.AbstractSelectionProcessor.doProcess(AbstractSelectionProcessor.java:92)
at
We should better retry to get the first unseen in this case and only error out if we not was able to get it within x tries.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Resolved] (IMAP-345) AbstractSelectionProcessor.unseen(..)
may throws MailboxException if the message was deleted by an other session
Posted by "Norman Maurer (Resolved) (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/IMAP-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved IMAP-345.
--------------------------------
Resolution: Fixed
> AbstractSelectionProcessor.unseen(..) may throws MailboxException if the message was deleted by an other session
> ----------------------------------------------------------------------------------------------------------------
>
> Key: IMAP-345
> URL: https://issues.apache.org/jira/browse/IMAP-345
> Project: JAMES Imap
> Issue Type: Bug
> Components: Processor
> Affects Versions: 0.2.1
> Reporter: Norman Maurer
> Assignee: Norman Maurer
> Fix For: 0.3
>
>
> See this exception:
> org.apache.james.mailbox.MailboxException: No message found with uid 505 in mailbox #private.INBOX.james-apache-org
> at org.apache.james.imap.processor.AbstractSelectionProcessor.unseen(AbstractSelectionProcessor.java:357)
> at org.apache.james.imap.processor.AbstractSelectionProcessor.respond(AbstractSelectionProcessor.java:134)
> at org.apache.james.imap.processor.AbstractSelectionProcessor.doProcess(AbstractSelectionProcessor.java:92)
> at
> We should better retry to get the first unseen in this case and only error out if we not was able to get it within x tries.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Closed] (IMAP-345) AbstractSelectionProcessor.unseen(..)
may throws MailboxException if the message was deleted by an other session
Posted by "Eric Charles (Closed) (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/IMAP-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Charles closed IMAP-345.
-----------------------------
Resolution: Fixed
Reclosing for now in favor of unrelated https://issues.apache.org/jira/browse/IMAP-350
> AbstractSelectionProcessor.unseen(..) may throws MailboxException if the message was deleted by an other session
> ----------------------------------------------------------------------------------------------------------------
>
> Key: IMAP-345
> URL: https://issues.apache.org/jira/browse/IMAP-345
> Project: JAMES Imap
> Issue Type: Bug
> Components: Processor
> Affects Versions: 0.2.1
> Reporter: Norman Maurer
> Assignee: Norman Maurer
> Fix For: 0.3
>
>
> See this exception:
> org.apache.james.mailbox.MailboxException: No message found with uid 505 in mailbox #private.INBOX.james-apache-org
> at org.apache.james.imap.processor.AbstractSelectionProcessor.unseen(AbstractSelectionProcessor.java:357)
> at org.apache.james.imap.processor.AbstractSelectionProcessor.respond(AbstractSelectionProcessor.java:134)
> at org.apache.james.imap.processor.AbstractSelectionProcessor.doProcess(AbstractSelectionProcessor.java:92)
> at
> We should better retry to get the first unseen in this case and only error out if we not was able to get it within x tries.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Commented] (IMAP-345) AbstractSelectionProcessor.unseen(..)
may throws MailboxException if the message was deleted by an other session
Posted by "Eric Charles (Commented) (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/IMAP-345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186288#comment-13186288 ]
Eric Charles commented on IMAP-345:
-----------------------------------
Btw, I am not accessing the mailboxes in a concurrent way. I will further debug to see if the issue really comes from this jira (not sure)...
> AbstractSelectionProcessor.unseen(..) may throws MailboxException if the message was deleted by an other session
> ----------------------------------------------------------------------------------------------------------------
>
> Key: IMAP-345
> URL: https://issues.apache.org/jira/browse/IMAP-345
> Project: JAMES Imap
> Issue Type: Bug
> Components: Processor
> Affects Versions: 0.2.1
> Reporter: Norman Maurer
> Assignee: Norman Maurer
> Fix For: 0.3
>
>
> See this exception:
> org.apache.james.mailbox.MailboxException: No message found with uid 505 in mailbox #private.INBOX.james-apache-org
> at org.apache.james.imap.processor.AbstractSelectionProcessor.unseen(AbstractSelectionProcessor.java:357)
> at org.apache.james.imap.processor.AbstractSelectionProcessor.respond(AbstractSelectionProcessor.java:134)
> at org.apache.james.imap.processor.AbstractSelectionProcessor.doProcess(AbstractSelectionProcessor.java:92)
> at
> We should better retry to get the first unseen in this case and only error out if we not was able to get it within x tries.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Reopened] (IMAP-345) AbstractSelectionProcessor.unseen(..)
may throws MailboxException if the message was deleted by an other session
Posted by "Eric Charles (Reopened) (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/IMAP-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Charles reopened IMAP-345:
-------------------------------
Hi, I have upgraded my imap (didn't run yet with IMAP-345), and I have logs such as
INFO 18:54:58,532 | james.imapserver | ID=2110824148 Unable to uid for unseen message 2274 in mailbox #private:eric.charles@u-mangate.com:INBOX....
These messages are shown for each of my folders, and it seems that the "repair folder" function stops when it encounters such a event.
The log is produces in the AbstractSelectionProcessor:
// try to write the UNSEEN message to the client and retry if we fail because of concurrent sessions.
//
// See IMAP-345
int retryCount = 0;
while(unseen(responder, firstUnseen, selected, ImapSessionUtils.getMailboxSession(session)) == false) {
// if we not was able to get find the unseen within 5 retries we should just not send it
if (retryCount == 5) {
if (session.getLog().isInfoEnabled()) {
session.getLog().info("Unable to uid for unseen message " + firstUnseen + " in mailbox " + selected.getPath());
}
break;
}
firstUnseen = selectMailbox(fullMailboxPath, session).getFirstUnseen();
retryCount++;
}
> AbstractSelectionProcessor.unseen(..) may throws MailboxException if the message was deleted by an other session
> ----------------------------------------------------------------------------------------------------------------
>
> Key: IMAP-345
> URL: https://issues.apache.org/jira/browse/IMAP-345
> Project: JAMES Imap
> Issue Type: Bug
> Components: Processor
> Affects Versions: 0.2.1
> Reporter: Norman Maurer
> Assignee: Norman Maurer
> Fix For: 0.3
>
>
> See this exception:
> org.apache.james.mailbox.MailboxException: No message found with uid 505 in mailbox #private.INBOX.james-apache-org
> at org.apache.james.imap.processor.AbstractSelectionProcessor.unseen(AbstractSelectionProcessor.java:357)
> at org.apache.james.imap.processor.AbstractSelectionProcessor.respond(AbstractSelectionProcessor.java:134)
> at org.apache.james.imap.processor.AbstractSelectionProcessor.doProcess(AbstractSelectionProcessor.java:92)
> at
> We should better retry to get the first unseen in this case and only error out if we not was able to get it within x tries.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org