JIRA Timer-0 ERROR (plugins not started)

Blazej Chabierski June 30, 2013

Hello,

I get Timer-0 ERROR while starting JIRA:

2013-07-01 08:37:33,512 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)]

2013-07-01 08:37:33,527 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.sal.api.ApplicationProperties)] (from bean [&applicationProperties]), 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:555)

at java.util.TimerThread.run(Timer.java:505)

2013-07-01 08:37:33,559 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)

... etc

Basicly most of the crucial plugins don't start up.

In the end I get message:

2013-07-01 08:39:49,022 localhost-startStop-1 FATAL [atlassian.jira.startup.JiraStartupLogger]

********************************************************************************************************************************************************************************************************

The following plugins are required by JIRA, but have not been started: Atlassian JIRA - Plugins - Project Config Plugin (com.atlassian.jira.jira-project-config-plugin), Embedded Gadgets Plugin (com.atlassian.gadgets.embedded), Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard), Atlassian JIRA - Plugins - Look And Feel Logo Upload Plugin (com.atlassian.jira.lookandfeel), Gadget Spec Publisher Plugin (com.atlassian.gadgets.publisher), Atlassian JIRA - Plugins - REST Plugin (com.atlassian.jira.rest), Opensocial Plugin (com.atlassian.gadgets.opensocial), Gadget Directory Plugin (com.atlassian.gadgets.directory), Atlassian JIRA - Plugins - Gadgets Plugin (com.atlassian.jira.gadgets)

********************************************************************************************************************************************************************************************************

2013-07-01 08:39:49,037 localhost-startStop-1 FATAL [atlassian.jira.upgrade.UpgradeLauncher] Skipping, JIRA is locked.

2013-07-01 08:39:49,053 localhost-startStop-1 INFO [atlassian.jira.scheduler.JiraSchedulerLauncher] JIRA Scheduler not started: JIRA startup checklist failed.

2013-07-01 08:39:49,695 localhost-startStop-1 ERROR [jira.web.dispatcher.JiraWebworkActionDispatcher]

******************************************

JIRA startup failed, JIRA has been locked.

I've did googling and found some rocomendations to delete

JIRA_HOME/plugins/.bundled-plugins
JIRA_HOME/plugins/.osgi-plugins
folders... which I did, but that didn't change anything
I also have PERMGEN MEMORY set to:

JVM_MINIMUM_MEMORY="1024m"

JVM_MAXIMUM_MEMORY="1024m"


Any ideas ?


Thanks

 

1 answer

1 accepted

0 votes
Answer accepted
Tom Moors
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.
June 30, 2013

Hi Blazej,

Could you try adding the parameter "-Datlassian.plugins.enable.wait=300"

More information can be found over here: https://confluence.atlassian.com/display/JIRAKB/JIRA+System+Plugin+Timeout+While+Waiting+for+Plugins+to+Enable

Kind regards,

Tom

Blazej Chabierski June 30, 2013

Hi,

Thanks for the suggestion, while I was sure I tried it already, I found out what was wrong while checking it.

I've been editing wrong file... setenv.sh instead of .bat :(

It starts up ok now with this parameter.

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events