Re: Re : Lucene reindex
Benoit TELLIER <[email protected]> Mon, 19 Jan 2026 16:10:58 +0000
| Newsgroups | gmane.comp.jakarta.james.user |
|---|---|
| Message-ID | <[email protected]> |
---=Part.404.317f0a39959210e5.19bd70615eb.79c7a63b6cff0148=-
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Accept-Language: fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT, de-DE
Content-Language: fr-FR
> 2026-01-16T22:01:20=2E244149762Z main INFO Configuration org=2Eapache=2El=
ogging=2Elog4j=2Ecore=2Econfig=2EDefaultConfiguration@29215f06 stopped=2E20=
26-01-16T22:01:20=2E646022685Z main ERROR An exception occurred processing =
Appender Console org=2Eapache=2Elogging=2Elog4j=2Ecore=2Eappender=2EAppende=
rLoggingException: java=2Elang=2EError: Trampoline must not be defined by t=
he bootstrap classloader
Excuse me I thought that "Trampoline must not be =
defined by the bootstrap classloader" thing was a joke=2E This log4j error =
makes no sense to me=2E
But it is not the core of the issue=2E
The main i=
ssue indeed is=C2=A0
Error class org=2Eapache=2Ejames=2Emailbox=2Eexceptio=
n=2EMailboxException while executing command:Not implementedWhich correspon=
ds to=C2=A0mailbox/tools/indexer/src/main/java/org/apache/mailbox/tools/ind=
exer/ThrowsReIndexer=2Ejava=C2=A0
Cf=C2=A0server/container/spring/src/main/=
java/org/apache/james/container/spring/bean/factorypostprocessor/IndexerCon=
figurationBeanFactoryPostProcessor=2Ejava
Sadly the lucene implen do not w=
ire the reindexer=2E
Let's fix that:=C2=A0https://github=2Ecom/apache/jame=
s-project/pull/2918=C2=A0
--=C2=A0
Best regards,
Benoit TELLIER
General=
manager of Linagora VIETNAM=2E
Product owner for Twake-Mail product=2E
Cha=
irman of the Apache James project=2E
Mail: btellier@linagora=2Ecom
Tel: (0=
033) 6 77 26 04 58 (WhatsApp, Signal)
Le janv=2E 16, 2026 11:04 PM, de Sc=
oopta Via Server-user <server-user@james=2Eapache=2Eorg>Command run:
r=
un0 -u james =2E/james-cli=2Esh -h localhost reindexall &> trace=2Elog=
File is attached
On 1/16/26 12:18 PM, Benoit TELLIER wrote:=
Can you please provide the stacktrace?
=
--=C2=A0
Best regards,
Benoit TELLI=
ER
General manager of Linagora VIETNAM=2E
Product =
owner for Twake-Mail product=2E
Chairman of the Apache James projec=
t=2E
Mail: btellier@linagora=2Ecom
Tel: (0033) 6 7=
7 26 04 58 (WhatsApp, Signal)
Le janv=2E 16, =
2026 8:54 PM, de Scoopta <mlist@scoopta=2Eemail> I'm co=
ming from 3=2E7=2E5 to 3=2E9=2E0 and I saw the mention of reindexi=
ng in the upgrade info (on top of the server not starting until I =
deleted my lucene folder in var)=2E I didn't realize there was a r=
eindexall command, I tried running it but got this error alongside=
a stack trace=2E
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=2Eapache=2Eorg/server/manage-cli=2Ehtml#Re-indexing
=
Can you please provide the version you were using prior and =
afer the upgrade
In practice if adoptiong 3=
=2E9=2Ex from 3=2E8=2Ex the reindex is wise as we went from Luce=
ne 3=2E6=2E2 to 10=2E2=2E1 (!) --=C2=A0
B=
est regards,
Benoit TELLIER
=
General manager of Linagora VIETNAM=2E
Product =
owner for Twake-Mail product=2E
Chairman of the Apac=
he James project=2E
Mail: btellier@li=
nagora=2Ecom
Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal)
=
Le janv=2E 16, 2026 4:5=
2 AM, de Scoopta Via Server-user <server-user@james=2Eapache=2Eorg> =
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
reinde=
x, 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: server-user-unsubscribe@james=2Eapache=2Eorg
=
For additional commands, e-mail: server-user-help@james=2Eapache=2Eor=
g
---------------=
------------------------------------------------------
To unsubscribe, e-ma=
il: server-user-unsubscribe@james=2Eapache=2Eorg
For additional commands, e=
-mail: server-user-help@james=2Eapache=2Eorg
---=Part.404.317f0a39959210e5.19bd70615eb.79c7a63b6cff0148=---