----- Original Message -----
From: "Klaiber, Simon (GoetzfriedAG)" <[EMAIL PROTECTED]>
To: "'Java Apache Mail Server'" <[EMAIL PROTECTED]>
Sent: Wednesday, September 06, 2000 1:15 PM
Subject: Bug: Failuer to recieve some Mails via Pop3


> On my System (win2000 james 1.1b1) i the recieving of some Mails via pop3
> from change stops without error. (The client timeouts). I wasn't able yet
to
> invetigate if ther is a simalarity between the mails that stops during the
> download or differences to those which i can recive normaly. I seem to be
> sender dependant (mails from some senders work, the mails from the other
> senders (for example amazon.de (German branch of amazon.com) don't) but
> there is no first sight simalarity beetwen these senders.
>
> I'm not very deep in the code yet so i was'nt able to do a source level
> analysis.
>
> My Question is: Is this a known bug or should i investigate further?

It is known that there is a bug with the pop3 server on NT/win2k, though
I've never been able to track it down (haven't really had the chance).  We
believe the problem comes from NT/W2k not allowing a file to be deleted
until all handles (input/output streams) are closed to the file in question.
Something is not closing itself properly, and so JAMES is never able to
delete that file.  I've never been able to reliably reproduce the bug, but
occassionally a pop3 user will IM me and say their mailbox is corrupted and
unable to retrieve any messages.  I delete the extra streamstore file by
hand (in the mailbox, there should be pairs of persistentstore and
streamstore files), and it clears itself up.

Part of the problem is that the bug lies either in Avalon, or James, or in
how James uses Avalon.  Ideally I think the problem should be fixed in
Avalon as an application should not be able to corrupt a store using the
API, but this might be harder or impractical.  I would recommend looking at
the Avalon source code and adding debug messages for when input and output
streams are acquired in the Store objects.  Then perhaps you can hopefully
confirm this is the problem and identify the problem.  The branch of Avalon
we are using is "avalon-james-1-1b1", the CVSROOT is
"[EMAIL PROTECTED]:/products/cvs/master", and the module is
"framework".  You can compile this and put new avalon.jar in your JAMES dist
and test it with debug code.

But the more I read your bug description, the less sure I am that this is
the problem.  Please let us know if you find anything.

Serge Knystautas
Loki Technologies
http://www.lokitech.com/



------------------------------------------------------------
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