com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: pl.atena.jira.plugins.test.plugin

Atlassian JIRA | Adam A | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The GreenHopper 4.3 includes possibility to import GreenHopper component to use it in 3rd party plugins (http://jira.atlassian.com/browse/GHS-1917). Actually, this does not work. Even an empty plugin with just component import fails to start. The plugin descriptor {code} <atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.artifactId}" plugins-version="2"> <plugin-info> <description>${project.description}</description> <version>${project.version}</version> <vendor name="${project.organization.name}" url="${project.organization.url}" /> </plugin-info> <component-import key="greenhopper-service"> <interface>com.pyxis.greenhopper.GreenHopper</interface> </component-import> </atlassian-plugin> {code} The project pom.xml {code} <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>pl.atena.jira.plugins</groupId> <artifactId>test.plugin</artifactId> <version>1.0-SNAPSHOT</version> <organization> <name>Example Company</name> <url>http://www.example.com/</url> </organization> <name>test.plugin</name> <description>This is the pl.atena.jira.plugins:test.plugin plugin for Atlassian JIRA.</description> <packaging>atlassian-plugin</packaging> <dependencies> <dependency> <groupId>com.atlassian.jira</groupId> <artifactId>atlassian-jira</artifactId> <version>${jira.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>greenhopper</groupId> <artifactId>jira-greenhopper-plugin</artifactId> <version>4.3</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>com.atlassian.maven.plugins</groupId> <artifactId>maven-jira-plugin</artifactId> <version>3.0.4</version> <extensions>true</extensions> <configuration> <productVersion>${jira.version}</productVersion> <productDataVersion>${jira.data.version}</productDataVersion> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> </plugins> </build> <properties> <jira.version>4.0.1</jira.version> <jira.data.version>4.0</jira.data.version> </properties> </project> {code} No classes, or any other files, just the descriptor and the pom in the project. At startup this produces error like this {code} 2010-03-02 15:28:29,773 main INFO [atlassian.plugin.loaders.ScanningPluginLo ader] Plugin Unit: D:\JIRA4.0.1\home\plugins\installed-plugins\jira-greenhopper- plugin-4.3.jar (1267426406056) created (... other installed plugins...) 2010-03-02 15:28:30,335 main WARN [plugin.osgi.factory.OsgiPlugin] Unable to enable plugin 'pl.atena.jira.plugins.test.plugin' com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: pl.atena.jira.plugins.test.plugin at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugi n.java:385) at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:2 12) at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java: 66) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultP luginManager.java:545) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginM anager.java:152) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.j ava:49) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManag er.java:1275) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java: 224) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:210) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyCheck er(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(Con sistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContex t.java:3795) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 252) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.core.StandardService.start(StandardService.java:4 48) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle 5 0: package; (package=com.pyxis.greenhopper) 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(OsgiPlugi n.java:342) ... 25 more 2010-03-02 15:28:30,413 main ERROR [atlassian.plugin.manager.PluginEnabler] Unable to enable plugin pl.atena.jira.plugins.test.plugin com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: pl.atena.jira.plugins.test.plugin at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugi n.java:385) at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:2 12) at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java: 66) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultP luginManager.java:545) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginM anager.java:152) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.j ava:49) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManag er.java:1275) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java: 224) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:210) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyCheck er(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(Con sistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContex t.java:3795) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 252) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443 ) at org.apache.catalina.core.StandardService.start(StandardService.java:4 48) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle 5 0: package; (package=com.pyxis.greenhopper) 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(OsgiPlugi n.java:342) ... 25 more 2010-03-02 15:28:30,601 main INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.jira.ext.charting, pl.atena.jira.plu gin.timesheet, com.atlassian.jira.plugin.labels, pl.atena.jira.plugin.JiraReport sPlugin, com.pyxis.greenhopper.jira, pl.atena.jira.plugin.JiraPortletsPlugin, co m.pyxis.jira.links.hierarchy.reports], 60 seconds remaining 2010-03-02 15:28:34,382 main INFO [atlassian.plugin.manager.DefaultPluginMan ager] Plugin system started in 0:00:51.452 {code} I could not find any documentation, GreenHopper API or HOW-TO for this feature too.

    Atlassian JIRA | 7 years ago | Adam A
    com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: pl.atena.jira.plugins.test.plugin
  2. 0

    Since the m6 update the JSR-305 [was removed|http://studio.atlassian.com/source/changelog/AG?cs=35043]. This causes the Gadget plugin to fail to load: {noformat} 2009-05-11 19:05:49,547 WARN [main] [AbstractPlugin:207] Unable to enable plugin 'com.atlassian.gadgets.atlassian-gadgets-api-1.0.0.m6' com.atlassian.plugin.PluginException: org.osgi.framework.BundleException: Unresolved constraint in bundle 11: package; (package=javax.annotation) at com.atlassian.plugin.osgi.factory.OsgiBundlePlugin.enableInternal(OsgiBundlePlugin.java:253) at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:199) at com.atlassian.plugin.impl.AbstractDelegatingPlugin.enable(AbstractDelegatingPlugin.java:212) at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:64) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:513) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:166) at com.atlassian.bamboo.container.BambooContainer.init(BambooContainer.java:161) at com.atlassian.bamboo.container.BambooContainer.initialise(BambooContainer.java:128) at com.atlassian.bamboo.upgrade.UpgradeLauncher.initialiseBambooContainer(UpgradeLauncher.java:148) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:94) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:37) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at com.atlassian.bamboo.server.Server.main(Server.java:60) Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle 11: package; (package=javax.annotation) 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.OsgiBundlePlugin.enableInternal(OsgiBundlePlugin.java:248) ... 20 more {noformat}

    Ecosystem JIRA | 8 years ago | Mark Chaimungkalanont
    com.atlassian.plugin.PluginException: org.osgi.framework.BundleException: Unresolved constraint in bundle 11: package; (package=javax.annotation)
  3. 0

    2009-11-04 12:09:04,200 main WARN [plugin.osgi.factory.OsgiPlugin] Unable to enable plugin 'com.atlassian.jirafisheyeplugin' com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.jirafisheyeplugin 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.impl.AbstractDelegatingPlugin.enable(AbstractDelegatingPlugin.java:213) at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:66) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:544) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:151) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:49) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1275) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:224) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:210) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle 35: package; (package=com.atlassian.studio.core.user) 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) ... 26 more

    Atlassian JIRA | 7 years ago | Alex Wei [Atlassian]
    com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.jirafisheyeplugin
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    2009-11-04 12:09:04,200 main WARN [plugin.osgi.factory.OsgiPlugin] Unable to enable plugin 'com.atlassian.jirafisheyeplugin' com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.jirafisheyeplugin 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.impl.AbstractDelegatingPlugin.enable(AbstractDelegatingPlugin.java:213) at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:66) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:544) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:151) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:49) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1275) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:224) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:210) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle 35: package; (package=com.atlassian.studio.core.user) 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) ... 26 more

    Atlassian JIRA | 7 years ago | Alex Wei [Atlassian]
    com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.jirafisheyeplugin
  6. 0

    how to enable the web GUI of administration of virutal server, http listener?

    Oracle Community | 8 years ago | 392 Guest
    com.sun.enterprise.module.ResolveError: Failed to start org.glassfish.l10n.admin-util-l10n(Admin Utilities classes localization):3.0.0.Prelude-SNAPSHOT

  1. davidvanlaatum 28 times, last 5 months ago
15 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.osgi.framework.BundleException

    Unresolved constraint in bundle 5 0: package; (package=com.pyxis.greenhopper)

    at org.apache.felix.framework.Felix._resolveBundle()
  2. Apache Felix Framework
    BundleImpl.start
    1. org.apache.felix.framework.Felix._resolveBundle(Felix.java:1725)
    2. org.apache.felix.framework.Felix._startBundle(Felix.java:1588)
    3. org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
    4. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
    4 frames