Error setting up Jira

lance_lyons
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 24, 2012

we are setting up another instance of Jira and have tried the standalone zip, the msi and the 4.4.3.exe. We are getting the following errors in the atlassian-jira.log during startup.

Any ideas why this is happening? I used to have Jira 3.3.6 installed on this box and i have the Plugin SDK's installed on this box.

Its like all of the OSGI plugins are failing. I followed one solution that said delete the bundled and osgi folders under the Application Data\JIRA\plugins folder and we still get the errors.

2012-01-25 13:58:57,329 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: C:\Program Files\Atlassian\Application Data\JIRA\plugins\.bundled-plugins\streams-jira-plugin-4.1.2.jar (1318889784000) created
2012-01-25 13:58:57,470 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: C:\Program Files\Atlassian\Application Data\JIRA\plugins\.bundled-plugins\streams-spi-4.1.2.jar (1318889786000) created
2012-01-25 13:58:57,485 main INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: C:\Program Files\Atlassian\Application Data\JIRA\plugins\.bundled-plugins\workflow-designer-plugin-2.0.0.jar (1318889786000) created
2012-01-25 14:00:16,770 Timer-0 WARN [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.oauth.serviceprovider, config=osgibundle:/META-INF/spring/*.xml)]
2012-01-25 14:00:16,770 Timer-0 ERROR [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.gadgets.oauth.serviceprovider], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)] (from bean [&gadgetSpecFactory]), Dependency on [(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)] (from bean [&gadgetRequestContextFactory])
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.oauth.serviceprovider' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2012-01-25 14:00:16,770 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&gadgetSpecFactory' for plugin 'com.atlassian.gadgets.oauth.serviceprovider' with filter (objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)
2012-01-25 14:00:16,770 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&gadgetRequestContextFactory' for plugin 'com.atlassian.gadgets.oauth.serviceprovider' with filter (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)
2012-01-25 14:00:16,770 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.atlassian.gadgets.oauth.serviceprovider
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.oauth.serviceprovider' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2012-01-25 14:00:16,770 Timer-0 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.oauth.serviceprovider, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.oauth.serviceprovider' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2012-01-25 14:00:16,879 Timer-0 WARN [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.dashboard, config=osgibundle:/META-INF/spring/*.xml)]
2012-01-25 14:00:16,879 Timer-0 ERROR [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.gadgets.dashboard], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)] (from bean [&gadgetSpecFactory]), Dependency on [(objectClass=com.atlassian.gadgets.view.GadgetViewFactory)] (from bean [&gadgetViewFactory]), Dependency on [(objectClass=com.atlassian.gadgets.view.RenderedGadgetUriBuilder)] (from bean [&renderedGadgetUriBuilder]), Dependency on [(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)] (from bean [&gadgetRequestContextFactory])
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.dashboard' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2012-01-25 14:00:16,879 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&gadgetSpecFactory' for plugin 'com.atlassian.gadgets.dashboard' with filter (objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)
2012-01-25 14:00:16,879 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&gadgetViewFactory' for plugin 'com.atlassian.gadgets.dashboard' with filter (objectClass=com.atlassian.gadgets.view.GadgetViewFactory)
2012-01-25 14:00:16,879 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&renderedGadgetUriBuilder' for plugin 'com.atlassian.gadgets.dashboard' with filter (objectClass=com.atlassian.gadgets.view.RenderedGadgetUriBuilder)
2012-01-25 14:00:16,879 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&gadgetRequestContextFactory' for plugin 'com.atlassian.gadgets.dashboard' with filter (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)
2012-01-25 14:00:16,879 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.atlassian.gadgets.dashboard
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.dashboard' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2012-01-25 14:00:16,879 Timer-0 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.dashboard, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.dashboard' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2012-01-25 14:00:16,911 Timer-0 WARN [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.embedded, config=osgibundle:/META-INF/spring/*.xml)]
2012-01-25 14:00:16,911 Timer-0 ERROR [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.gadgets.embedded], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.gadgets.view.SecurityTokenFactory)] (from bean [&securityTokenFactory]), Dependency on [(objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)] (from bean [&gadgetSpecFactory])
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.embedded' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2012-01-25 14:00:16,911 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&securityTokenFactory' for plugin 'com.atlassian.gadgets.embedded' with filter (objectClass=com.atlassian.gadgets.view.SecurityTokenFactory)
2012-01-25 14:00:16,911 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&gadgetSpecFactory' for plugin 'com.atlassian.gadgets.embedded' with filter (objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)
2012-01-25 14:00:16,911 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.atlassian.gadgets.embedded
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.embedded' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2012-01-25 14:00:16,911 Timer-0 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.embedded, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.embedded' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2012-01-25 14:00:34,849 main INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [crowd-rest-plugin, com.atlassian.streams.actions, com.atlassian.jira.plugins.jira-importers-plugin, com.atlassian.streams.streams-jira-plugin, com.atlassian.jira.gadgets], 60 seconds remaining
2012-01-25 14:00:35,474 Timer-0 WARN [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.jira.gadgets-plugin, config=osgibundle:/META-INF/spring/*.xml)]
2012-01-25 14:00:35,474 Timer-0 ERROR [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.jira.gadgets-plugin], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.gadgets.view.GadgetViewFactory)] (from bean [&gadgetViewFactory]), Dependency on [(objectClass=com.atlassian.gadgets.dashboard.DashboardService)] (from bean [&dashboardService])
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.jira.gadgets-plugin' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2012-01-25 14:00:35,474 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&gadgetViewFactory' for plugin 'com.atlassian.jira.gadgets' with filter (objectClass=com.atlassian.gadgets.view.GadgetViewFactory)
2012-01-25 14:00:35,474 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&dashboardService' for plugin 'com.atlassian.jira.gadgets' with filter (objectClass=com.atlassian.gadgets.dashboard.DashboardService)
2012-01-25 14:00:35,474 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.atlassian.jira.gadgets
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.jira.gadgets-plugin' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2012-01-25 14:00:35,474 Timer-0 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.jira.gadgets-plugin, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.jira.gadgets-plugin' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

3 answers

1 accepted

0 votes
Answer accepted
lance_lyons
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 25, 2012

This is caused by virus scanning software. Disabling the virus scan or excluding the atlassian folder does the trick.

0 votes
lance_lyons
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 1, 2012

WWells perhaps you have another application that is getting in the way of writing to the disk. The Virus scanning software was doing that for me.

0 votes
William Wells
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 1, 2012

Why am I getting this on CentOS without having a virus scanning application running then?

Asmaa Gad January 27, 2020

yes, I am new in Jira developing and having the same issue, any update, please?

Suggest an answer

Log in or Sign up to answer