DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8839>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8839 File repositories number themselves [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [EMAIL PROTECTED] 2002-12-24 04:29 ------- I've created a patch that will correct this bug AND migrates file repositories that have been numbered. Extract the attached (4263) zip into a new directory called src/java/org/apache/james/mailrepository/filepair. Then change the james-config.xml as follows (this will tell James to use this new file repository implementation): Index: james-config.xml =================================================================== RCS file: /home/cvs/jakarta-james/src/conf/james-config.xml,v retrieving revision 1.38 diff -w -b -r1.38 james-config.xml 666c667 < <repository class="org.apache.avalon.cornerstone.blocks.masterstore.File_Persistent_Object_Repository"> --- > <repository class="org.apache.james.mailrepository.filepair.File_Persistent_Object_Repository"> 680c681 < <repository class="org.apache.avalon.cornerstone.blocks.masterstore.File_Persistent_Stream_Repository"> --- > <repository class="org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository"> This implementation does not number repositories, so you can add and create users, and restart the server without anyone losing messages. During initialization, the file repository will look in its directory for any messages that match this repository but were numbered. It will then rename these files to not have the number. Then when the file repository is accessed, those once-numbered files will be accessible. During initialization it logs any successful and unsuccessful attempts to rename these numbered-files. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
