Unable to create a tracker when osgi is not running.

I see a number of following entry into a Confluence 6.0.2 atlassian-confluence.log file. Does anybody know what is the significance of it? Will it impact installing any 3rd party add-on successfully if OSGI is not running?

ERROR [localhost-startStop-3] [atlassian.confluence.setup.ConfluenceListableBeanFactory] destroyBean Destroy method on bean with name 'boostingQueryFactory' threw an exception
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Unable to create a tracker when osgi is not running
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)

4 answers

I have the same error message in combination with a problem to install the Gliffy Plugin. It wont install.

Neither Gliffy Support or Atlassian Support could help me yet.

I will keep you informed when I get some news.

After moving to another server I had the same issue "Unable to create a tracker when osgi is not running" which was lead by this error:

2017-02-08 12:16:23,190 JIRA-Bootstrap ERROR      [c.a.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event [com.atlassian.plugin.event.events.PluginFrameworkStartingEvent@64123502] 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@450634f8}]

java.lang.RuntimeException: Unable to start OSGi container


After few hours of investigation, I reinstalled the same version of JIRA and restored data from my backup. It worked!

Afterwords, I found, that some files were absent in JIRA Installation directory (/opt/atlassian/jira is default). Directory  "/atlassian-jira/WEB-INF/classes/com/atlassian/jira/web/filters/accesslog/" was absent by unknown reason.

So, issue could be fixed by restoring JIRA Installation directory.

0 votes

This error means that the OSGi container hasn't been started and usually happens due to errors earlier at startup. As OSGi is the base of P2 plugin framework, Confluence will not work properly without it

I ran into this issue recently.  It seems a bit unreasonable to have to reinstall the product to get around this issue.  I will do that if I have to.  @Renat Sabitov Are there instructions on how to start up the plugin?  Are there any other suggestions on how to resolve the issue since this first appeared?  Thanks for any feedback.

Got it working, Thanks!

How did you get it working?  Did you get the errors to go away or does it just keep working with the errors?



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,114 views 17 14
Join discussion

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