Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5611

Problem with "deploy:install-plugin" command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • commands
    • Security Level: public (Regular issues)
    • None
    • Windows platform

    Description

      On the karaf shell for the geronimo-tomcat7-javaee6-3.0-SNAPSHOT server:
      I ran the "install-plugin d:/HelloWorld.car "command to install a plugin. The following error information was reported:

      geronimo> install-plugin d:/HelloWorld.car
      Checking for status every 1000ms:
      2010-09-15 15:37:48,527 ERROR [PluginInstallerGBean] Invalid Configuration Archive D:\software\Geronimo\geronimo-tomcat7-javaee6-3.0-SNAPSHOT-bin\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\bin no plugin metadata found
      Installation FAILED: Invalid Configuration Archive D:\software\Geronimo\geronimo-tomcat7-javaee6-3.0-SNAPSHOT-bin\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\bin no plugin metadata found

      I also tried to use the command line "deploy install-plugin d:/HelloWorld.car" under the GERONIMO_HOME>/bin directory. The following error information was reported:

      Using GERONIMO_HOME: D:\software\Geronimo\geronimo-tomcat7-javaee6-3.0-SNAPSHO
      T-bin\geronimo-tomcat7-javaee6-3.0-SNAPSHOT
      Using GERONIMO_TMPDIR: var\temp
      Using JRE_HOME: C:\Program Files\IBM\Java60\jre
      org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronim
      o.framework/jsr88-cli/3.0-SNAPSHOT/car failed
      at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
      iguration(SimpleConfigurationManager.java:307)
      at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
      iguration(SimpleConfigurationManager.java:281)
      at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConf
      iguration(KernelConfigurationManager.java:124)
      at org.apache.geronimo.system.main.MainBridge.loadPersistentConfiguratio
      ns(MainBridge.java:82)
      at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:57
      )
      at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
      at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
      at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31
      )
      Caused by: org.osgi.framework.BundleException: URL [mvn:org.apache.geronimo.fram
      ework/jsr88-cli/3.0-SNAPSHOT/car] could not be resolved.
      at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivi
      leged(Framework.java:975)
      at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.ja
      va:838)
      at java.security.AccessController.doPrivileged(AccessController.java:251
      )
      at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Fram
      ework.java:889)
      at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Fram
      ework.java:833)
      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBun
      dle(BundleContextImpl.java:167)
      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBun
      dle(BundleContextImpl.java:161)
      at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
      iguration(SimpleConfigurationManager.java:300)
      ... 7 more
      Caused by: java.lang.RuntimeException: URL [mvn:org.apache.geronimo.framework/js
      r88-cli/3.0-SNAPSHOT/car] could not be resolved.
      at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.j
      ava:195)
      at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInsta
      ll.java:56)
      at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivi
      leged(Framework.java:922)
      ... 14 more

      Attachments

        Activity

          People

            xuhaihong Haihong Xu
            mao maojia
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: