Hello,

  I'm a user of jakarta-james.
  The latest james uses avalon-cornerstone for storing mail objects,
but it is of no use.   The problem appears after the james restart.
Sometimes james cannot obtain list of mail objects stored before.
(This bug has already been reported in
 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8839 )

  It is a problem caused by a behavior of avalon-cornerstone.

  The file stored by 
File_Persistent_Stream_Repository or File_Persistent_Object_Repository
have a name like:

   <key>.<RepositoryName>.<ObjectTypeName>

<RepositoryName> is given by RepositoryManager.getName(), and have
a serial number.

  After James restarts, <RepositoryName> which is bound to a directory
may differ because new serial number may be given.
(It seems that James creates FileRepository objects when it is needed.)

  Also, AbstractFileRepository use a filter string for listing the directory.
Currently, AbstractFileRepository.m_extension which contains <RepositoryName>
is used as a filter string.   Thus, it may drop files which already exist.

  Is numbering in RepositoryManager.getName() needed ?  If the numbering
is needed, the filter string should not contain the serial number part.
Otherwise, the number should be decided relating to the directory's path.

 Regards,
-- 
Iwasa Kazmi

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to