Re: Re : Lucene reindex
"Scoopta via server-user" <[email protected]> Mon, 19 Jan 2026 21:18:50 -0800
| Newsgroups | gmane.comp.jakarta.james.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks, I might build this from source if I have time, that being said what are the problems that arise if I just don't reindex Lucene? On 1/19/26 8:10 AM, Benoit TELLIER wrote: >> 2026-01-16T22:01:20.244149762Z main INFO Configuration org.apache.logging.log4j.core.config.DefaultConfiguration@29215f06 stopped.2026-01-16T22:01:20.646022685Z main ERROR An exception occurred processing Appender Console org.apache.logging.log4j.core.appender.AppenderLoggingException: java.lang.Error: Trampoline must not be defined by the bootstrap classloader > Excuse me I thought that "Trampoline must not be defined by the bootstrap classloader" thing was a joke. This log4j error makes no sense to me. > > But it is not the core of the issue. > > The main issue indeed is > > Error class org.apache.james.mailbox.exception.MailboxException while executing command:Not implementedWhich corresponds to mailbox/tools/indexer/src/main/java/org/apache/mailbox/tools/indexer/ThrowsReIndexer.java > Cf server/container/spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/IndexerConfigurationBeanFactoryPostProcessor.java > > Sadly the lucene implen do not wire the reindexer. > > Let's fix that: https://github.com/apache/james-project/pull/2918 > > -- > > Best regards, > > Benoit TELLIER > > General manager of Linagora VIETNAM. > Product owner for Twake-Mail product. > Chairman of the Apache James project. > > Mail: [email protected] > Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) > > > Le janv. 16, 2026 11:04 PM, de Scoopta Via Server-user <[email protected]>Command run: > > run0 -u james ./james-cli.sh -h localhost reindexall &> trace.log > > File is attached > > On 1/16/26 12:18 PM, Benoit TELLIER wrote: > Can you please provide the stacktrace? > > -- > > Best regards, > > Benoit TELLIER > > General manager of Linagora VIETNAM. > Product owner for Twake-Mail product. > Chairman of the Apache James project. > > Mail: [email protected] > Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) > > > Le janv. 16, 2026 8:54 PM, de Scoopta <[email protected]> I'm coming from 3.7.5 to 3.9.0 and I saw the mention of reindexing in the upgrade info (on top of the server not starting until I deleted my lucene folder in var). I didn't realize there was a reindexall command, I tried running it but got this error alongside a stack trace. > > Trampoline must not be defined by the bootstrap classloader > > On 1/16/26 12:49 AM, Benoit TELLIER wrote: > Please check the CLI > > https://james.apache.org/server/manage-cli.html#Re-indexing > > Can you please provide the version you were using prior and afer the upgrade > > In practice if adoptiong 3.9.x from 3.8.x the reindex is wise as we went from Lucene 3.6.2 to 10.2.1 (!) -- > > Best regards, > > Benoit TELLIER > > General manager of Linagora VIETNAM. > Product owner for Twake-Mail product. > Chairman of the Apache James project. > > Mail: [email protected] > Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) > > > Le janv. 16, 2026 4:52 AM, de Scoopta Via Server-user <[email protected]> I recently upgraded to the latest version of james and needed to delete > and reindex lucene, I'm using the spring wiring which from reading the > documentation doesn't appear to support the REST API to trigger a > reindex, is reindexing lucene necessary or is deleting it enough? > Additionally if reindexing it is important is there any way to do this > with spring? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]