I think the install-plugin command only works for single plugins and for some reason doesn't figure out what repository to look for dependencies in. Try list-plugins where you specify the repo you want to use.

thanks
david jencks

On Jan 23, 2008, at 8:16 PM, Viet Nguyen wrote:

Hi All,

I just checked out the latest trunk and am having trouble using the
install-plugin option. Here is the stack trace

22:27:02,812 ERROR [GBeanInstanceState] Error while starting; GBean is
now in the FAILED state:
abstractName="org.apache.geronimo.configs/openejb/2.1-SNAPSHOT/c
ar?configurationName=org.apache.geronimo.configs/openejb/2.1- SNAPSHOT/car"
org.apache.geronimo.kernel.repository.MissingDependencyException:
Missing dependency:
org.apache.geronimo.configs/system-database/2.1-SNAPSHOT/car
at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve (ConfigurationResolver.java:113) at org.apache.geronimo.kernel.config.Configuration.buildClassPath (Configuration.java:405) at org.apache.geronimo.kernel.config.Configuration.createConfigurationCla sssLoader(Configuration.java:322) at org.apache.geronimo.kernel.config.Configuration.<init> (Configuration.java:267) at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance (Constructor.java:494) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance (GBeanInstance.java:948) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart( GBeanInstanceState.java:268) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start (GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstance.start (GBeanInstance.java:541) at org.apache.geronimo.kernel.basic.BasicKernel.startGBean (BasicKernel.java:361) at org.apache.geronimo.kernel.config.KernelConfigurationManager.load (KernelConfigurationManager.java:160) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi guration(SimpleConfigurationManager.java:312) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi guration(SimpleConfigurationManager.java:280) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi guration(SimpleConfigurationManager.java:255) at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfi guration(KernelConfigurationManager.java:111) at org.apache.geronimo.system.plugin.PluginInstallerGBean.install (PluginInstallerGBean.java:633) at org.apache.geronimo.system.plugin.PluginInstallerGBean.install (PluginInstallerGBean.java:559) at org.apache.geronimo.system.plugin.PluginInstallerGBean.install (PluginInstallerGBean.java:799) at org.apache.geronimo.system.plugin.PluginInstallerGBean $4.run(PluginInstallerGBean.java:730) at org.apache.geronimo.pool.ThreadPool$1.run (ThreadPool.java:214) at org.apache.geronimo.pool.ThreadPool $ContextClassLoaderRunnable.run(ThreadPool.java:344) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
22:27:02,828 ERROR [PluginInstallerGBean] Unable to install plugin.
org.apache.geronimo.kernel.config.LifecycleException: load of
org.apache.geronimo.configs/openejb/2.1-SNAPSHOT/car failed
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi guration(SimpleConfigurationManager.java:327) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi guration(SimpleConfigurationManager.java:280) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi guration(SimpleConfigurationManager.java:255) at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfi guration(KernelConfigurationManager.java:111) at org.apache.geronimo.system.plugin.PluginInstallerGBean.install (PluginInstallerGBean.java:633) at org.apache.geronimo.system.plugin.PluginInstallerGBean.install (PluginInstallerGBean.java:559) at org.apache.geronimo.system.plugin.PluginInstallerGBean.install (PluginInstallerGBean.java:799) at org.apache.geronimo.system.plugin.PluginInstallerGBean $4.run(PluginInstallerGBean.java:730) at org.apache.geronimo.pool.ThreadPool$1.run (ThreadPool.java:214) at org.apache.geronimo.pool.ThreadPool $ContextClassLoaderRunnable.run(ThreadPool.java:344) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
Error starting configuration gbean
org.apache.geronimo.configs/openejb/2.1-SNAPSHOT/car
at org.apache.geronimo.kernel.config.KernelConfigurationManager.load (KernelConfigurationManager.java:180) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi guration(SimpleConfigurationManager.java:312)
        ... 12 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration gbean failed to start
org.apache.geronimo.configs/openejb/2.1-SNAPSHOT/car
reason: Missing dependency:
org.apache.geronimo.configs/system-database/2.1-SNAPSHOT/car
at org.apache.geronimo.kernel.config.KernelConfigurationManager.load (KernelConfigurationManager.java:163)
        ... 13 more

and here is what I get from the terminal

$ java -jar ./deployer.jar -u system -p manager install-plugin
../../plugins/openejb/openejb/target/openejb-2.1-SNAPSHOT.car
Checking for status every 1000ms:
Starting org.apache.geronimo.configs/openejb/2.1-SNAPSHOT/car
Installation FAILED: load of
org.apache.geronimo.configs/openejb/2.1-SNAPSHOT/car failed

Clearly, there is a missing dependency, but that dependency is
supposed to be downloaded and installed before Geronimo tries to
install OpenEJB; however, Geronimo doesn't seem to attempt to
download/install the dependencies. Is anyone else experiencing this
problem?

Thanks,
Viet

Reply via email to