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 "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2005/09/08 15:26:30 UTC

[jira] Created: (JAMES-420) Sometimes messages are delayed or stalled in the spool

Sometimes messages are delayed or stalled in the spool
------------------------------------------------------

         Key: JAMES-420
         URL: http://issues.apache.org/jira/browse/JAMES-420
     Project: James
        Type: Bug
  Components: MailStore & MailRepository  
    Versions: 2.2.0, 2.3.0    
    Reporter: Stefano Bagnara
 Assigned to: Stefano Bagnara 
     Fix For: 2.3.0


There is a racing problem with notification.
I'm able to always reproduce the problem in my developing environment.
On other machines I had to add a Thread.sleep(1000) after the notify() of the MailRepository.store() to put evidence on this bug.

PS: I already committed a patch for this issue. Just added this for future reference and to be able to have persistent comments.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.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: (JAMES-420) Sometimes messages are delayed or stalled in the spool

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-420?page=all ]
     
Stefano Bagnara resolved JAMES-420:
-----------------------------------

    Resolution: Fixed

Should be fixed, we just need real world testing.

> Sometimes messages are delayed or stalled in the spool
> ------------------------------------------------------
>
>          Key: JAMES-420
>          URL: http://issues.apache.org/jira/browse/JAMES-420
>      Project: James
>         Type: Bug
>   Components: MailStore & MailRepository
>     Versions: 2.2.0, 2.3.0
>     Reporter: Stefano Bagnara
>     Assignee: Stefano Bagnara
>      Fix For: 2.3.0

>
> There is a racing problem with notification.
> I'm able to always reproduce the problem in my developing environment.
> On other machines I had to add a Thread.sleep(1000) after the notify() of the MailRepository.store() to put evidence on this bug.
> PS: I already committed a patch for this issue. Just added this for future reference and to be able to have persistent comments.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.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: (JAMES-420) Sometimes messages are delayed or stalled in the spool

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
    [ http://issues.apache.org/jira/browse/JAMES-420?page=comments#action_12363569 ] 

Stefano Bagnara commented on JAMES-420:
---------------------------------------

The #371100 fixed only a racing issue in File repositories.

Another problem was in JDBCSpoolRepository since I changed a lot of MailImpl usage with Mail.
I forgot to update the store(MailImpl) method in the JDBCSpoolRepository and it gave no error because the correct method was already implemented by the superclass (JDBCMailRepository). The overriding method was there to force a reload of the pending messages when a new message was stored... I hope #371292 fix this.




> Sometimes messages are delayed or stalled in the spool
> ------------------------------------------------------
>
>          Key: JAMES-420
>          URL: http://issues.apache.org/jira/browse/JAMES-420
>      Project: James
>         Type: Bug
>   Components: MailStore & MailRepository
>     Versions: 2.2.0, 2.3.0
>     Reporter: Stefano Bagnara
>     Assignee: Stefano Bagnara
>      Fix For: 2.3.0

>
> There is a racing problem with notification.
> I'm able to always reproduce the problem in my developing environment.
> On other machines I had to add a Thread.sleep(1000) after the notify() of the MailRepository.store() to put evidence on this bug.
> PS: I already committed a patch for this issue. Just added this for future reference and to be able to have persistent comments.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.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