All I am getting is:
org.osgi.framework.BundleException: Unresolved constraint in bundle com.tuncaysenturk.jira.plugins.jira-enhancer-plugin [106]: Unable to resolve 106.0: missing requirement [1 06.0] package; (&(package=org.slf4j)(version>=1.6.0))
anyone else expirencing this?
Hi,
From Jira 5.1 on when building the plugin OSGI automatically adds org.slf4j 1.6 version to the bundle. Although it works with my local Jira, it does not with several plugin users.
I changed pom.xml and override instructions to force osgi bundle slf4j version 1.5 as below
<Import-Package>org.slf4j;version="1.5",*;resolution:=optional</Import-Package>
Now, it works. I generated new Jira Enhancer Plugin 3.2.0 version and deployed it.
You may download and try it.
Tuncay
Hi Thomas,
From the look of your error, I believe that you need to purge your JIRA plugin caches. This is very easy, all you need to do is:
plugins/.osgi-plugins/felix
This will then clear the caches and repopulate them on startup, after which this error should disappear.
All the best,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, but having to restart Jira for updating a plugin makes no sense to me as the UPM and the Plugin System Two are IMHO there to prevent exacty that...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You don't need to restart JIRA for updating plugins, but occassionally your plugin caches become corrupted and you start getting errors in your logs like the one you have posted above. In these cases it is necessary to purge the plugin caches, which requires a restart but you don't need to purge your plugin caches everytime you update a plugin.
All the best,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm facing the same problem. When I google it, I've run into many issues about OSGI bundling.
Can that be related to Jira 5.1 or something? Because these problems haven't exceeded before Jira 5.1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I am on 5.0.6 this is not 5.1 related...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.