JIRA Server failed to start after reboot server Edited

After installation JIRA 7.5.1 i started it successfully then restore from backup file but when i reboot server and attempt to start JIRA again, it failed.  Here is the log:


2017-10-26 20:58:27,456 JIRA-Bootstrap INFO [c.a.plugin.manager.DefaultPluginManager] Plugin system earlyStartup begun
2017-10-26 20:58:27,469 JIRA-Bootstrap ERROR [c.a.j.application.install.WhatWasInstalledInApplicationFactory] Cannot load installed applications information from /var/atlassian/application-data/jira/plugins/install-app-info/jira-software-application.properties. Treating as not installed.
java.nio.channels.ClosedByInterruptException
at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:164)
at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:65)
at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:109)
at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.read1(BufferedReader.java:210)
at java.io.BufferedReader.read(BufferedReader.java:286)
at java.io.Reader.read(Reader.java:140)
at java.util.Properties$LineReader.readLine(Properties.java:434)
at java.util.Properties.load0(Properties.java:353)
at java.util.Properties.load(Properties.java:317)
at com.atlassian.jira.application.install.WhatWasInstalledInApplicationFactory.loadPluginIdentificationsFromFile(WhatWasInstalledInApplicationFactory.java:74)
at com.atlassian.jira.application.install.WhatWasInstalledInApplicationFactory.load(WhatWasInstalledInApplicationFactory.java:37)
at com.atlassian.jira.application.install.WhatWasInstalled.wasApplicationSourceInstalled(WhatWasInstalled.java:39)
at com.atlassian.jira.application.install.ApplicationInstaller.installApplicationFiles(ApplicationInstaller.java:75)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at com.atlassian.jira.application.install.ApplicationInstaller.installApplications(ApplicationInstaller.java:68)
at com.atlassian.jira.application.install.ApplicationInstallListener.onPluginSystemStarting(ApplicationInstallListener.java:35)
... 3 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:40)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:38)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:88)
at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:204)
at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:115)
at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:83)
at com.atlassian.plugin.manager.DefaultPluginManager.broadcastIgnoreError(DefaultPluginManager.java:2129)
at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:538)
at com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:119)
at com.atlassian.jira.ComponentManager$PluginSystem.earlyStartup(ComponentManager.java:641)
at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:196)
at com.atlassian.jira.ComponentManager.start(ComponentManager.java:165)
at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:47)
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postDbLaunch$2(DefaultJiraLauncher.java:154)
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:304)
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:199)
at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:146)
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$0(DefaultJiraLauncher.java:105)
at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:31)
at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:103)
at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(LauncherContextListener.java:157)
at java.lang.Thread.run(Thread.java:745)
2017-10-26 20:58:27,527 JIRA-Bootstrap ERROR [c.a.j.application.install.ApplicationInstallListener] Failed to install applications
java.lang.RuntimeException: java.nio.channels.ClosedByInterruptException
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at com.atlassian.jira.application.install.ApplicationInstaller.installApplicationFiles(ApplicationInstaller.java:92)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at com.atlassian.jira.application.install.ApplicationInstaller.installApplications(ApplicationInstaller.java:68)
at com.atlassian.jira.application.install.ApplicationInstallListener.onPluginSystemStarting(ApplicationInstallListener.java:35)
... 3 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:40)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:38)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:88)
at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:204)
at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:115)
at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:83)
at com.atlassian.plugin.manager.DefaultPluginManager.broadcastIgnoreError(DefaultPluginManager.java:2129)
at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:538)
at com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:119)
at com.atlassian.jira.ComponentManager$PluginSystem.earlyStartup(ComponentManager.java:641)
at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:196)
at com.atlassian.jira.ComponentManager.start(ComponentManager.java:165)
at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:47)
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postDbLaunch$2(DefaultJiraLauncher.java:154)
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:304)
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:199)
at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:146)
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$0(DefaultJiraLauncher.java:105)
at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:31)
at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:103)
at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(LauncherContextListener.java:157)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.nio.channels.ClosedByInterruptException
at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:216)
at java.nio.channels.Channels.writeFullyImpl(Channels.java:78)
at java.nio.channels.Channels.writeFully(Channels.java:101)
at java.nio.channels.Channels.access$000(Channels.java:61)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
at java.io.BufferedWriter.flush(BufferedWriter.java:254)
at java.util.Properties.store0(Properties.java:844)
at java.util.Properties.store(Properties.java:771)
at com.atlassian.jira.application.install.WhatWasInstalledInApplicationFactory.store(WhatWasInstalledInApplicationFactory.java:66)
at com.atlassian.jira.application.install.WhatWasInstalled.storeInstalledApplicationSource(WhatWasInstalled.java:50)
at com.atlassian.jira.application.install.ApplicationInstaller.installApplicationFiles(ApplicationInstaller.java:85)
... 39 more
2017-10-26 20:58:28,507 JIRA-Bootstrap ERROR [c.a.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event [com.atlassian.plugin.event.events.PluginFrameworkStartingEvent@569eb21d] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.onStart(com.atlassian.plugin.event.events.PluginFrameworkStartingEvent), listener=com.atlassian.jira.plugin.JiraOsgiContainerManager@f2ad15c}]
java.lang.RuntimeException: Unable to start OSGi container. Listener: com.atlassian.jira.plugin.JiraOsgiContainerManager event: com.atlassian.plugin.event.events.PluginFrameworkStartingEvent

2 answers

0 vote

Looks like your jira-software-application.properties file is unreadable or corrup.

So is there any way to solve this ? 

Fix the file.  Check its permissions and content.

I checked jira-application.properties file, i can not find where jira-software-application.properties file. It only contains jira home location and the content is right. I only wonder about permissions: -rwx------, is it right ?

That file is fine.

If you haven't got the other file, that's where the problem is.  Your installation is missing files.

You said you "restored from backup" - what exactly does that mean?  A full backup?  Or did you take data only from another system into an empty system?

Oh sorry i found jira-software-application.properties file, it containts

#-- application installation info --
#Wed Oct 25 19:33:23 ICT 2017
tac.jira\ software.languages.da_DK=7.6.0.int-0189-v2r109-2017-08-30
com.atlassian.jira.software-application=7.5.1
com.pyxis.greenhopper.jira=7.5.0.DAILY20170902071651
tac.jira\ software.languages.pl_PL=7.6.0.int-0189-v2r834-2017-08-29
tac.jira\ software.languages.en_US=7.6.0.int-0189-v2r126-2017-08-22
tac.jira\ software.languages.ru_RU=7.6.0.int-0189-v2r217-2017-08-30
com.atlassian.jira.plugins.jira-fisheye-plugin=7.1.5
tac.jira\ software.languages.zh_CN=7.6.0.int-0189-v2r653-2017-08-29
com.atlassian.jira.plugins.jira-software-monitor-plugin=0.1.0.D20150923T085539
tac.jira\ software.languages.is_IS=7.6.0.int-0189-v2r121-2017-09-01
com.atlassian.jira.plugins.jira-dvcs-connector-plugin=4.1.10
tac.jira\ software.languages.fr_FR=7.6.0.int-0189-v2r163-2017-08-31
tac.jira\ software.languages.cs_CZ=7.6.0.int-0189-v2r352-2017-08-28
tac.jira\ software.languages.pt_BR=7.6.0.int-0189-v2r977-2017-08-29
tac.jira\ software.languages.ro_RO=7.6.0.int-0189-v2r138-2017-08-29
tac.jira\ software.languages.es_ES=7.6.0.int-0189-v2r124-2017-08-29
com.atlassian.jira.plugins.jira-software-plugin=2.2.0
com.atlassian.jira.plugins.jira-transition-triggers-plugin=4.0.10
tac.jira\ software.languages.no_NO=7.6.0.int-0189-v2r102-2017-08-30
tac.jira\ software.languages.hu_HU=7.6.0.int-0189-v2r382-2017-08-29
tac.jira\ software.languages.sv_SE=7.6.0.int-0189-v2r312-2017-08-30
tac.jira\ software.languages.ja_JP=7.6.0.int-0189-v2r179-2017-08-30
tac.jira\ software.languages.ko_KR=7.6.0.int-0189-v2r118-2017-08-29
com.atlassian.jira.plugins.jira-development-integration-plugin=4.2.3
tac.jira\ software.languages.de_DE=7.6.0.int-0189-v2r174-2017-08-28
tac.jira\ software.languages.sk_SK=7.6.0.int-0189-v2r223-2017-08-30
com.atlassian.jira.plugins.jira-bamboo-plugin=7.4.5
tac.jira\ software.languages.et_EE=7.6.0.int-0189-v2r237-2017-08-29

I restore from zip file where locate at /var/atlassian/application-data/jira/export. Is that only data restore??

Ok.  Is that file fully owned by and accessible to the user running Jira?

Yes, i changed to Jira user whenever i start jira service.

Ok, so is the file in the place Jira is looking for it?

And, you said you "restored from backup" - what exactly does that mean?  A full backup?  Or did you take data only from another system into an empty system?

Were you restoring the installation as well as data?

Yes it is.

I just restore from a zip file locate at

/var/atlassian/application-data/jira/export

I'm currently facing the same issue after upgrading to Jira Server 7.6.0, i.e., a ClosedByInterruptException on "jira-software-application.properties" after which all plug-ins fail with a NullPointerException. @Quang Huynh how did you resolve this?

Turn out that my plugin folder still in where it was, I only got failed to start when i reboot the server.

Solution is after server came up, i turn jira service by command then start it again. Now it works fine.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 47m ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

40 views 3 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you