You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bu...@apache.org on 2002/08/26 11:43:06 UTC

DO NOT REPLY [Bug 12031] New: - Using a DestinationURL of dbfile does not work, everything is still written to the database

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=12031>.
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=12031

Using a DestinationURL of dbfile does not work, everything is still written to the database

           Summary: Using a DestinationURL of dbfile does not work,
                    everything is still written to the database
           Product: James
           Version: 2.0a3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: MailStore & MailRepository
        AssignedTo: james-dev@jakarta.apache.org
        ReportedBy: serge@globalbeach.com


>From what I can see in JDBCMailRepository.java a value for filestore is being
set in Configuration() and the ComponentManager is testing filestore against a 
null value. Since the ComponentManager is always called before the
configuration, filestore will always be null! In the context of dbfile://,
Store store = (Store)componentManager.
      lookup("org.apache.avalon.cornerstone.services.store.Store");

will never be called.

Serge

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>