com.atlassian.plugin.osgi.container.OsgiContainerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Upon Stash restart, the following is logged: {noformat} 2013-07-30 12:16:18,997 INFO [localhost-startStop-1] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /usr/local/Stash for 4773@NLAMSQBSC01 2013-07-30 12:16:47,558 INFO [localhost-startStop-1] c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:46182 2013-07-30 12:16:47,881 INFO [localhost-startStop-1] c.a.s.i.server.ApplicationInfoLogger Starting Stash 2.3.0 (72a2042b28 built on Mon Mar 25 23:16:03 CET 2013) 2013-07-30 12:16:47,881 INFO [localhost-startStop-1] c.a.s.i.server.ApplicationInfoLogger JVM: Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM 1.6.0_45-b06 2013-07-30 12:16:57,878 WARN [localhost-startStop-1] c.a.plugin.osgi.factory.OsgiPlugin Unable to install plugin 'com.atlassian.plugins.rest.atlassian-rest-module' com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:473) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPluginUninstalledHelper.install(OsgiPluginUninstalledHelper.java:68) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPlugin.installInternal(OsgiPlugin.java:381) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.impl.AbstractPlugin.install(AbstractPlugin.java:329) ~[atlassian-plugins-core-2.13.4.jar:na] at com.atlassian.plugin.impl.AbstractDelegatingPlugin.install(AbstractDelegatingPlugin.java:205) [atlassian-plugins-core-2.13.4.jar:na] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:706) [atlassian-plugins-core-2.13.4.jar:na] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:178) [atlassian-plugins-core-2.13.4.jar:na] Caused by: org.osgi.framework.BundleException: Invalid bundle format at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:624) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:469) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 26 common frames omitted Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) ~[na:1.6.0_45] at java.util.zip.ZipFile.<init>(ZipFile.java:127) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:136) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:100) ~[na:1.6.0_45] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:602) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 27 common frames omitted {noformat} {noformat} 2013-07-30 12:16:57,890 ERROR [localhost-startStop-1] o.s.web.context.ContextLoader Context initialization failed com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:473) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPluginUninstalledHelper.install(OsgiPluginUninstalledHelper.java:68) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPlugin.installInternal(OsgiPlugin.java:381) ~[atlassian-plugins-osgi-2.13.4.jar:na] [...] Caused by: org.osgi.framework.BundleException: Invalid bundle format at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:624) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:469) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 26 common frames omitted Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) ~[na:1.6.0_45] at java.util.zip.ZipFile.<init>(ZipFile.java:127) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:136) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:100) ~[na:1.6.0_45] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:602) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 27 common frames omitted {noformat} {noformat} 2013-07-30 12:16:57,893 ERROR [localhost-startStop-1] c.a.j.s.w.c.JohnsonContextLoaderListener The Spring WebApplicationContext could not be started com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:473) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPluginUninstalledHelper.install(OsgiPluginUninstalledHelper.java:68) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPlugin.installInternal(OsgiPlugin.java:381) ~[atlassian-plugins-osgi-2.13.4.jar:na] [...] Caused by: org.osgi.framework.BundleException: Invalid bundle format at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:624) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:469) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 26 common frames omitted Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) ~[na:1.6.0_45] at java.util.zip.ZipFile.<init>(ZipFile.java:127) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:136) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:100) ~[na:1.6.0_45] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:602) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 27 common frames omitted {noformat} {noformat} 2013-07-30 12:16:58,131 ERROR [localhost-startStop-1] c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [fileServerServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,131 ERROR [localhost-startStop-1] c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [scmServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,131 ERROR [localhost-startStop-1] c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [streamsEmptyActivityServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,163 ERROR [localhost-startStop-1] c.a.j.s.w.s.JohnsonDispatcherServlet Bypassing SpringMVC dispatcher [spring-mvc] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,623 WARN [http-bio-7990-exec-1] c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available 2013-07-30 12:16:58,892 WARN [http-bio-7990-exec-2] c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available {noformat} Problem was unsufficient rights to subdirectory of <STASH_HOME>/plugins. Removed directories and restarted stash. It seems like the access rights for the plugin directory were messed up. It might be a good idea to implement a 'directory access sanity check' upon starting stash/jira/etc. That way, such small errors can be located and solved more quickly.
    via by Malik Mangier,
  • Upon Stash restart, the following is logged: {noformat} 2013-07-30 12:16:18,997 INFO [localhost-startStop-1] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /usr/local/Stash for 4773@NLAMSQBSC01 2013-07-30 12:16:47,558 INFO [localhost-startStop-1] c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:46182 2013-07-30 12:16:47,881 INFO [localhost-startStop-1] c.a.s.i.server.ApplicationInfoLogger Starting Stash 2.3.0 (72a2042b28 built on Mon Mar 25 23:16:03 CET 2013) 2013-07-30 12:16:47,881 INFO [localhost-startStop-1] c.a.s.i.server.ApplicationInfoLogger JVM: Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM 1.6.0_45-b06 2013-07-30 12:16:57,878 WARN [localhost-startStop-1] c.a.plugin.osgi.factory.OsgiPlugin Unable to install plugin 'com.atlassian.plugins.rest.atlassian-rest-module' com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:473) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPluginUninstalledHelper.install(OsgiPluginUninstalledHelper.java:68) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPlugin.installInternal(OsgiPlugin.java:381) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.impl.AbstractPlugin.install(AbstractPlugin.java:329) ~[atlassian-plugins-core-2.13.4.jar:na] at com.atlassian.plugin.impl.AbstractDelegatingPlugin.install(AbstractDelegatingPlugin.java:205) [atlassian-plugins-core-2.13.4.jar:na] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:706) [atlassian-plugins-core-2.13.4.jar:na] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:178) [atlassian-plugins-core-2.13.4.jar:na] Caused by: org.osgi.framework.BundleException: Invalid bundle format at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:624) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:469) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 26 common frames omitted Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) ~[na:1.6.0_45] at java.util.zip.ZipFile.<init>(ZipFile.java:127) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:136) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:100) ~[na:1.6.0_45] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:602) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 27 common frames omitted {noformat} {noformat} 2013-07-30 12:16:57,890 ERROR [localhost-startStop-1] o.s.web.context.ContextLoader Context initialization failed com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:473) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPluginUninstalledHelper.install(OsgiPluginUninstalledHelper.java:68) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPlugin.installInternal(OsgiPlugin.java:381) ~[atlassian-plugins-osgi-2.13.4.jar:na] [...] Caused by: org.osgi.framework.BundleException: Invalid bundle format at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:624) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:469) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 26 common frames omitted Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) ~[na:1.6.0_45] at java.util.zip.ZipFile.<init>(ZipFile.java:127) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:136) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:100) ~[na:1.6.0_45] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:602) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 27 common frames omitted {noformat} {noformat} 2013-07-30 12:16:57,893 ERROR [localhost-startStop-1] c.a.j.s.w.c.JohnsonContextLoaderListener The Spring WebApplicationContext could not be started com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:473) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPluginUninstalledHelper.install(OsgiPluginUninstalledHelper.java:68) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPlugin.installInternal(OsgiPlugin.java:381) ~[atlassian-plugins-osgi-2.13.4.jar:na] [...] Caused by: org.osgi.framework.BundleException: Invalid bundle format at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:624) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:469) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 26 common frames omitted Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) ~[na:1.6.0_45] at java.util.zip.ZipFile.<init>(ZipFile.java:127) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:136) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:100) ~[na:1.6.0_45] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:602) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 27 common frames omitted {noformat} {noformat} 2013-07-30 12:16:58,131 ERROR [localhost-startStop-1] c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [fileServerServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,131 ERROR [localhost-startStop-1] c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [scmServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,131 ERROR [localhost-startStop-1] c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [streamsEmptyActivityServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,163 ERROR [localhost-startStop-1] c.a.j.s.w.s.JohnsonDispatcherServlet Bypassing SpringMVC dispatcher [spring-mvc] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,623 WARN [http-bio-7990-exec-1] c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available 2013-07-30 12:16:58,892 WARN [http-bio-7990-exec-2] c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available {noformat} Problem was unsufficient rights to subdirectory of <STASH_HOME>/plugins. Removed directories and restarted stash. It seems like the access rights for the plugin directory were messed up. It might be a good idea to implement a 'directory access sanity check' upon starting stash/jira/etc. That way, such small errors can be located and solved more quickly.
    via by Malik Mangier | DevTools PA,
  • Moving From Mac To Windows Error
    via by Deerman,
  • Moving From Mac To Windows Error
    via by Deerman,
    • com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:454) at com.atlassian.plugin.osgi.factory.OsgiPluginUninstalledHelper.install(OsgiPluginUninstalledHelper.java:68) at com.atlassian.plugin.osgi.factory.OsgiPlugin.installInternal(OsgiPlugin.java:381) at com.atlassian.plugin.impl.AbstractPlugin.install(AbstractPlugin.java:329) at com.atlassian.plugin.impl.AbstractDelegatingPlugin.install(AbstractDelegatingPlugin.java:205) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:695) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:167) at com.atlassian.confluence.plugin.ConfluencePluginManager.init(ConfluencePluginManager.java:192) at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:52) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: org.osgi.framework.BundleException: Invalid bundle format at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:592) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:450) ... 23 more Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:570) ... 24 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    marcbouvierdav
    2 times, last one,
    Unknown visitor1 times, last one,
    52 more bugmates