Upon startup of the Plugin Framework, I'm getting the following error.

srinivasp
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.
December 19, 2011

SEVERE: Unable to enable plugin com.atlassian.labs.fastdev-plugin
com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.labs.fastdev-plugin
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:385)
at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:212)
at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:68)
at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:552)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle 48: package; (&(package=com.atlassian.plugins.rest.comon.security)(version>=2.4.0))

at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1725)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1588)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:342)
... 25 more

Please Advice..

5 answers

1 accepted

1 vote
Answer accepted
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2011

JIRA 4.0.2 might be too old for all the advanced features of the latest plugin SDK to work correctly. In your plugin's pom.xml, find the <plugin> that looks like this:

&lt;plugin&gt;
    &lt;groupId&gt;com.atlassian.maven.plugins&lt;/groupId&gt;
    &lt;artifactId&gt;maven-jira-plugin&lt;/artifactId&gt;
    &lt;version&gt;3.7.2&lt;/version&gt;
    &lt;extensions&gt;true&lt;/extensions&gt;
    &lt;configuration&gt;
        &lt;productVersion&gt;${jira.version}&lt;/productVersion&gt;
        &lt;productDataVersion&gt;${jira.data.version}&lt;/productDataVersion&gt;
    &lt;/configuration&gt;
&lt;/plugin&gt;

And add an extra element into the configuration section that looks like this:

&lt;enableFastdev&gt;false&lt;/enableFastdev&gt;

So the whole thing looks like this:

&lt;plugin&gt;
    &lt;groupId&gt;com.atlassian.maven.plugins&lt;/groupId&gt;
    &lt;artifactId&gt;maven-jira-plugin&lt;/artifactId&gt;
    &lt;version&gt;3.7.2&lt;/version&gt;
    &lt;extensions&gt;true&lt;/extensions&gt;
    &lt;configuration&gt;
        &lt;enableFastdev&gt;false&lt;/enableFastdev&gt;
        &lt;productVersion&gt;${jira.version}&lt;/productVersion&gt;
        &lt;productDataVersion&gt;${jira.data.version}&lt;/productDataVersion&gt;
    &lt;/configuration&gt;
&lt;/plugin&gt;

0 votes
Ivar
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.
December 20, 2011

I've had similar problems once. Did they just appear from nowhere, or is this a fresh install? In my case a server boot actually solved the entire problem.... (don't like to write that though)

0 votes
srinivasp
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.
December 20, 2011

Hi, I am running JIRA v4.0.2

0 votes
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2011

What Atlassian product are you running (and what version of it?)

0 votes
srinivasp
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.
December 19, 2011

This is the other exception i am getting as well.

WARNING: Unable to enable plugin 'com.atlassian.devrel.developer-toolbox-plugin'
com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.devrel.developer-toolbox-plugin
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:385)
at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:212)
at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:68)

Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle 47: package; (&(package=com.atlassian.templaterenderer)(version>=1.1.0))

at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1725)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1588)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:342)
... 25 more

Suggest an answer

Log in or Sign up to answer