Cannot shutdown JIRA due to NoClassDefFoundError org.apache.lucene.index.CompoundFileWriter
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
JIRA could not be shutdown despite running any of the stop-jira scripts. The following appears in the atlassian-jira.log
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
013-12-12 20:09:34,695 Timer-2 INFO [jira.plugins.monitor.MonitorLauncher] Stopped JIRA monitoring
Dec 12, 2013 8:09:41 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
Dec 12, 2013 8:09:41 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8080"]
...
Exception in thread "QuartzScheduler_Worker-2" java.lang.NoClassDefFoundError: org/apache/lucene/index/CompoundFileWriter
at org.apache.lucene.index.DocumentsWriter.flush(DocumentsWriter.java:600)
at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3543)
at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3508)
at org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1850)
at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1814)
at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1778)
at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.updateIndex(RevisionIndexer.java:303)
at com.atlassian.jira.plugin.ext.subversion.revisions.scheduling.UpdateIndexTask.execute(UpdateIndexTask.java:34)
at com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService.run(JiraPluginSchedulerService.java:94)
at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
Cause
The cause is currently unknown.
Resolution
Perform a reindex before shutting down JIRA.
Was this helpful?