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 begun2017-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.ClosedByInterruptExceptionat 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 filteredat 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 applicationsjava.lang.RuntimeException: java.nio.channels.ClosedByInterruptExceptionat 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 filteredat 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.ClosedByInterruptExceptionat 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 more2017-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
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 ?
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.
It looks like you're new here. Sign in or register to get started.