[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to