[ http://issues.apache.org/jira/browse/JAMES-507?page=all ]
Joachim Draeger updated JAMES-507:
----------------------------------
Attachment: inboxrep-rooturl-r409153.patch
patch has to tested for side affects. Maybe there are Mailrepositories that
depend on being configured on startup that way
> inboxRepository is initialized at James.initialize() with inboxRootURL
> ----------------------------------------------------------------------
>
> Key: JAMES-507
> URL: http://issues.apache.org/jira/browse/JAMES-507
> Project: James
> Type: Bug
> Components: James Core
> Versions: 2.3.0a1, 2.3.0a2, 2.3.0a3
> Environment: James trunk revision 409153
> Reporter: Joachim Draeger
> Priority: Minor
> Fix For: 2.4.0
> Attachments: inboxrep-rooturl-r409153.patch
>
> this causes the implementation of MailRepository that is used as
> inboxRepository to be called at startup with the inboxRootURL.
> The inboxRootURL is only a prefix for the real repository without a specific
> user.
> The MailRepository could stumble over the incomplete url/path or create files
> at the wrong position.
> Minor, because currently used MailRepositories do not seem to have problems
> with that.
> This is a characteristic log message in mailstore.log at startup:
> (repositoryName = 'null')
> 4/05/06 15:14:56 DEBUG mailstore: obtained repository:
> org.apache.james.mailrepository.JDBCMailRepository to handle: dbfile,MAIL
> 24/05/06 15:14:56 DEBUG mailstore:
> org.apache.james.mailrepository.JDBCMailRepository.compose()
> 24/05/06 15:14:56 DEBUG mailstore:
> org.apache.james.mailrepository.JDBCMailRepository.configure()
> 24/05/06 15:14:56 DEBUG mailstore: Parsed URL: table = 'inbox',
> repositoryName = 'null'
> 24/05/06 15:14:56 DEBUG mailstore: Got filestore for JdbcMailRepository:
> file://var/dbmail
> 24/05/06 15:14:56 DEBUG mailstore:
> org.apache.james.mailrepository.JDBCMailRepository created according to
> dbfile://maildb/inbox/
> 24/05/06 15:14:56 DEBUG mailstore:
> org.apache.james.mailrepository.JDBCMailRepository.initialize()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]