> Charles Benett wrote:
>
> Anyone heard from Fede recently?
> Technically, we need his vote for a release.
> Peter Donald can place the release on james/dist, but may not have
> rights to update web pages.
> Charles
>

Charles,

Sorry my votes don't count.

Do you think it would be possible to include Jeremy's suggestion (see below)
into 1.2.1.  I think it's a good counter measure to have
i.e. to check and cleanup on startup only the newly included exception
would be bes changes to a LOG message.

Ben


> Hey Ben, Babar,
>
> i'm kinda late getting into this thread, and i don't know if
> you found a
> workaround for the Eception that started this yet, but i ran
> into the same
> problem and it drove me a little mad so i had to resolve it..
> the reason it
> came up in my situation was this: for outgoing messages, after james
> executed the RemoteDelivery Mailet it did not FULLY delete both files
> associated with the message. it only deleted one. so the next
> time through
> james detects a message(which it already delivered), but
> can't get again
> because both files do not exist.. anyway,
>
> replace your existing retrieve method in
> AvalonMailRepository.java with
> this..
>
>     public synchronized MailImpl retrieve(String key) {
>         MailImpl mc = null;
>         try {
>           mc = (MailImpl) or.get(key);
>         } catch (Exception me) {
>             lock(key);
>             sr.remove(key);
>             or.remove(key);
>             unlock(key);
>             throw new RuntimeException("Exception while retrieving
> mail[destroyed the message :] " + me.getMessage());

  !!!!  Change Above exception to a Log Message  !!!!
  Ben


>         }
>         try {
>             mc.setMessage(sr.retrieve(key));
>         } catch (Exception me) {
>             throw new RuntimeException("Exception while
> retrieving mail: " +
> me.getMessage());
>         }
>         return mc;
>     }
>
> this worked for me.. oh, and make sure you delete the
> AvalonMailRepository.class from the james.jar, so that you can use the
> hacked one.
>
> >jeremy
>


>
> Serge Knystautas wrote:
> >
> > +1
> > ----- Original Message -----
> > From: "Charles Benett" <[EMAIL PROTECTED]>
> > To: "JAMES" <[EMAIL PROTECTED]>
> > Sent: Friday, December 15, 2000 11:15 AM
> > Subject: [Vote] Release 1.2.1
> >
> > > OK, shall we get 1.2.1 out?
> > >
> > > Charles
> > >
> Behalf Of Jeremy Schoenherr
> Sent: Friday, 15 December 2000 2:53
> To: Java Apache Mail Server
> Subject: RE: FileSystem mailboxes are having problems
>
>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives:  <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to