Iwaza-san,

Your contribution is appreciated, but it might be best if you raised this
issue (and your proposed patch) directly to the Avalon developers on
avalon-dev@ mailing list.  We get the code from that project.

        --- Noel

-----Original Message-----
From: Iwasa Kazmi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 6:53
To: [EMAIL PROTECTED]
Subject: About fix of cornerstone, FileRepository


 Hello,

 I cannot use the latest James because of Bug#8839.  My PC have
less resources to run the database software, and it is shutdown
at every night.
 I have tried two methods to solve Bug#8839.

  (a)  add wrapper classes of File_Persistent_Object_Repository
      and File_Persistent_Stream_Repository. (These classes are
      part of cornerstone)  See my sample.
       These classes replace AbstractFileRepository#initialize().

  (b)  replace cornerstone.jar with modified version.
      I downloaded a snapshot of 2002-06-04 with cvs, changed
      AbstractFileRepository#initialize(), and built all.
      The patch is cornerstone-kzmi.diff.

 (a) seems to work about mail repository with editing config.xml,
but I couldn't find how to replace class for users repository.
(After restarting of James, user listing/counting failed because of
file-repository bug)
 Also, these classes depend on the implementations of cornerstone
which is referred.

 (b) seems to work well in any repository.  Now I'm using James-cvs
with modified cornerstone.jar.

 In my changes, repository-id part is removed from filename and
search-pattern.   It violates the compatibility of the filename.
But I think such replacement of the cornerstone would be better
for the quality of James, and I would propose to include such improvement in
the next measure release.


 Regards,

---
Iwasa Kazmi


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

Reply via email to