I'm running JIRA 7.2.1 on an Ubuntu Server VM. Every time I need to restart the VM, or even just restart JIRA I find that JIRA will not restart the first time. I need to stop and start JIRA several times before it will actually come up. Looking through the atlassian-jira.log file I find hte first error encountered with the plugins is:
2017-08-24 08:44:03,378 JIRA-Bootstrap ERROR [c.a.p.osgi.factory.OsgiPluginInstalledHelper] Cannot determine required plugins, cannot resolve bundle 'com.atlassian.jira.plugins.workinghours'
2017-08-24 08:44:08,151 JIRA-Bootstrap ERROR [c.a.p.osgi.factory.OsgiPlugin] Detected an error (BundleException) enabling the plugin 'com.atlassian.jira.plugins.workinghours' : Unresolved constraint in bundle com.atlassian.jira.plugins.workinghours : Unable to resolve 107.0: missing requirement [107.0] osgi.wiring.package; (&(osgi.wiring.package=com.atlassian.crowd.embedded.api)(version>=5.0.0)(!(version>=7.0.0))). This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see https://developer.atlassian.com/x/mQAN
I can see roughly what this means, but I have no idea how to fix it. Could someone provide guidance on this please?
Has this always been the case or did this start after an upgrade?
See if this helps:
Sorry for the delayed response. I've been having trouble finding a good time to experiement with shutting down again.
I had performed the steps as you suggested without luck. It still took many tries to restart. This problem has been happening for a while. I can't pin it down to a particular upgrade.
I did notice that the 'working hours' plugin was disabled, so I removed it as well. This doesn't seem to have helped much - start-up is still spotty at best. But now when I look through the logs I see:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'licenseReceiptValidator' defined in URL [bundle://168.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied depe$
If I follow that to the end of the exception I see:
Caused by: java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.of([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
It looks like a library may be out of date? All of my plugins are up-to-date.
Any ideas? Thank you!
A small update:
The exact proceedure that starts the system now is:
This appears to work every time (3 times in a row). Any other sequence seems to fail.
Atlassian ranks project attributes as the third most important factor impacting performance in the category of data. It’s not surprising, since project attributes are precisely the rules used to ma...
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!
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