JIRA Timer-0 ERROR (plugins not started)

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

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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

361 views 0 6
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