JIRA Unable to Start "Unable to create a tracker when osgi is not running"

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

問題

JIRA Unable to start and the following stack trace could be found in the "atlassian-jira.log"

2018-09-05 14:00:50,183 JIRA-Bootstrap ERROR      [c.a.plugin.loaders.ScanningPluginLoader] Unable to deploy plugin 'com.atlassian.activeobjects.activeobjects-plugin' from 'Unit: /Users/julianaidilr/Atlassian/JIRA/763/install/atlassian-jira/WEB-INF/atlassian-bundled-plugins/activeobjects-plugin-1.4.0.jar (1516266902000)'.
2018-09-05 14:00:50,183 JIRA-Bootstrap ERROR      [c.a.plugin.loaders.ScanningPluginLoader] Because of the following exception:
java.lang.IllegalStateException: Unable to create a tracker when osgi is not running
	at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:490)
	at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:482)
	at com.atlassian.plugin.osgi.factory.OsgiPluginFactory$1.create(OsgiPluginFactory.java:116)
	at com.atlassian.plugin.osgi.factory.OsgiChainedModuleDescriptorFactoryCreator.create(OsgiChainedModuleDescriptorFactoryCreator.java:58)
	at com.atlassian.plugin.osgi.factory.OsgiPluginFactory.getChainedModuleDescriptorFactory(OsgiPluginFactory.java:321)
	at com.atlassian.plugin.osgi.factory.OsgiPluginFactory.create(OsgiPluginFactory.java:222)
	at com.atlassian.jira.plugin.MasterPluginFactory.create(MasterPluginFactory.java:73)
	at com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:142)
	at com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(ScanningPluginLoader.java:87)
	at com.atlassian.plugin.loaders.PermissionCheckingPluginLoader.loadAllPlugins(PermissionCheckingPluginLoader.java:28)
	at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:548)
	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:160)
	at java.lang.Thread.run(Thread.java:745)
2018-09-05 13:59:42,047 localhost-startStop-1 ERROR      [o.a.c.c.C.[Catalina].[localhost].[/]] Exception starting filter prevent-ie-accept-css-vulnerability
java.lang.ClassNotFoundException: com.atlassian.jira.web.filters.XContentTypeOptionsNoSniffFilter
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1285)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:520)
	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:501)
	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
	... 7 filtered
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)


診断

Check for any custom files or JIRA source files that have been modified.


原因

It appears that some modifications in "<JIRA-INSTALL>/WEB-INF/web.xml" could cause the plugins unable to load making JIRA unable to start at the end.

For the Error above specifically which is "com.atlassian.jira.web.filters.XContentTypeOptionsNoSniffFilter" it is due to the line below added to the "<JIRA-INSTALL>/WEB-INF/web.xml"

    <filter>
        <filter-name>prevent-ie-accept-css-vulnerability</filter-name>
        <filter-class>com.atlassian.jira.web.filters.XContentTypeOptionsNoSniffFilter</filter-class>
    </filter>

ソリューション

Return the web.xml file to original or remove the lines above and restart the instance.


最終更新日: 2021 年 12 月 8 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.