geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WinnieNicklaus <jls...@u.washington.edu>
Subject GBeans fails with missing dependency, but it's shown in the Console
Date Wed, 27 Apr 2011 20:54:30 GMT
I am re-posting this because I originally posted it in the wrong place and
then moved it into the Users forum, and I fear it did not get sent to the
mailing list.  My apologies if you have already received this.
----------------
Hi, 

I am very new to Geronimo.  I have set it up to deploy a particular
application, but when I run deployer.jar, I receive the following error: 

ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED
state:
abstractName="org.apache.geronimo.configs/online-deployer/2.0.1/car?configurationName=org.apache.geronimo.configs/online-deployer/2.0.1/car"

org.apache.geronimo.kernel.repository.MissingDependencyException: Unable to
resolve dependency commons-jexl/commons-jexl/1.1/jar 
        at
org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:114)

        at
org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:404) 
        at
org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:321)

        at
org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:266) 
        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:513) 
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:946) 
        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:539) 
        at
org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:361) 
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:195)

        at
org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:159)

        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBootConfiguration(MainConfigurationBootstrapper.java:84)

        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:57)

        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:38)

        at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) 
        at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) 
java.lang.IllegalStateException: GBean is not running:
org.apache.geronimo.configs/online-deployer/2.0.1/car?configurationName=org.apache.geronimo.configs/online-deployer/2.0.1/car

        at
org.apache.geronimo.kernel.basic.BasicKernel.getGBean(BasicKernel.java:304) 
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:197)

        at
org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:159)

        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBootConfiguration(MainConfigurationBootstrapper.java:84)

        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:57)

        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:38)

        at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) 
        at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) 

At the admin console, there is an entry under Services > Common Libs for
"commons-jexl/commons-jexl/1.1/jar", and I do have a file at
$GERONIMO_HOME/repository/commons-jexl/commons-jexl/1.1/commons-jexl-1.1.jar,
so it doesn't seem to be actually missing. 

I don't know if this has anything to do with the fact that my application
will use PostgreSQL in conjunction with Geronimo, and I haven't installed
that library yet (I don't know where to find the jar file...) This is on
RHEL 4 with Geronimo 2.0 under Tomcat 6.

Any help would be greatly appreciated! 

--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/GBeans-fails-with-missing-dependency-but-it-s-shown-in-the-Console-tp2871955p2871955.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message