I looked at the openejb pom. It is still using o.a.g.configs for
system-database and transactions cars. The new build generates
o.a.g.plugins/.../car for these. IIUC, the automated build will break
if
all old 2.1-SNAPSHOTs in o.a.g.configs and o.a.g.modules were removed
from m2-snapshot-repository.
Also, we have changed groupId for core geronimo jars. These jars are
used by openejb. This change must be reflected in openejb. I do not
know if it will be sufficient to exclude o.a.g.modules jars from
openejb-core jar. The current exclusion lists only o.a.g.frameworks
jars. this is not likely to work.
Thanks
Anita
--- Viet Nguyen <[EMAIL PROTECTED]> 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.createConfigurationClasssLoader(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.loadConfiguration(SimpleConfigurationManager.java:312)
> at
>
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280)
> at
>
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:255)
> at
>
org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(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.loadConfiguration(SimpleConfigurationManager.java:327)
> at
>
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280)
> at
>
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:255)
> at
>
org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(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.loadConfiguration(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
>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ