geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan D. Cabrera" <...@toolazydogs.com>
Subject RE: java.lang.ClassNotFoundException: org.apache.geronimo.timer.ThreadPooledTimer
Date Sat, 31 Jul 2004 13:46:32 GMT
It looks like that it cannot find
org.apache.geronimo.timer.ThreadPooledTimer.

Make sure that 

    <dependency>
        <uri>geronimo/jars/geronimo-timer-1.0-SNAPSHOT.jar</uri>
    </dependency>

Is in your deployment file.

> -----Original Message-----
> From: Jacek Laskowski [mailto:jlaskowski@apache.org]
> Sent: Friday, July 30, 2004 8:16 PM
> To: dev@geronimo.apache.org
> Subject: java.lang.ClassNotFoundException:
> org.apache.geronimo.timer.ThreadPooledTimer
> 
> Hi,
> 
> 'Deploying PetStore' story has ended up with the following exception.
> Does anyone know why the exception is being thrown?
> 
> $ java -jar bin/deployer.jar --install --module `cygpath --windows
> /petstore/petstore.ear`
> org.apache.geronimo.deployment.DeploymentException: Unable to
initialize
> EJBContainer GBean: ejbNameCatalogEJB
>          at
>
org.openejb.deployment.OpenEJBModuleBuilder.createSessionBean(OpenEJBMod
ul
> eBuilder.java:698)
>          at
>
org.openejb.deployment.OpenEJBModuleBuilder.addGBeans(OpenEJBModuleBuild
er
> .java:510)
>          at
>
org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20.
in
> voke(<generated>)
>          at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
>          at
>
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker
.j
> ava:38)
>          at
>
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOpera
ti
> on.java:142)
>          at
> org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:744)
>          at
> org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89)
>          at
>
org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationInv
ok
> er.java:34)
>          at
>
org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMeth
od
> Interceptor.java:111)
>          at
>
org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$9e45
a2
> 80.addGBeans(<generated>)
>          at
>
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(
EA
> RConfigBuilder.java:407)
>          at
>
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(
EA
> RConfigBuilder.java:312)
>          at
>
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(
EA
> RConfigBuilder.java:236)
>          at
>
org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$
38
> e56ec6.invoke(<generated>)
>          at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
>          at
>
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker
.j
> ava:38)
>          at
>
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOpera
ti
> on.java:142)
>          at
> org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:744)
>          at
> org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89)
>          at
>
org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationInv
ok
> er.java:34)
>          at
>
org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMeth
od
> Interceptor.java:111)
>          at
>
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$7a
1c
> a0ae.buildConfiguration(<generated>
> )
>          at
> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:198)
>          at
>
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invo
ke
> (<generated>)
>          at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
>          at
>
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker
.j
> ava:38)
>          at
>
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOpera
ti
> on.java:142)
>          at
> org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:765)
>          at
>
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBea
nS
> erverInterceptor.java:218)
>          at
>
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBea
nS
> erverInterceptor.java:121)
>          at
>
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMB
ea
> nServerInterceptor.java:86)
>          at
>
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBea
nS
> erverInterceptor.java:121)
>          at
>
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBea
nS
> erverInterceptor.java:121)
>          at
>
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(
Co
> ntextClassLoaderMBeanServerIntercep
> tor.java:205)
>          at
mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079)
>          at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:231)
>          at
> org.apache.geronimo.system.main.CommandLine.main(CommandLine.java:82)
> Caused by: java.lang.NoClassDefFoundError
>          at
> org.openejb.GenericEJBContainer.class$(GenericEJBContainer.java:97)
>          at
> org.openejb.GenericEJBContainer.<clinit>(GenericEJBContainer.java:418)
>          at
>
org.openejb.AbstractContainerBuilder.createConfiguration(AbstractContain
er
> Builder.java:416)
>          at
>
org.openejb.slsb.StatelessContainerBuilder.buildIt(StatelessContainerBui
ld
> er.java:107)
>          at
>
org.openejb.AbstractContainerBuilder.createConfiguration(AbstractContain
er
> Builder.java:335)
>          at
>
org.openejb.deployment.OpenEJBModuleBuilder.createSessionBean(OpenEJBMod
ul
> eBuilder.java:693)
>          ... 37 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.geronimo.timer.ThreadPooledTimer
>          at java.net.URLClassLoader$1.run(Unknown Source)
>          at java.security.AccessController.doPrivileged(Native Method)
>          at java.net.URLClassLoader.findClass(Unknown Source)
>          at java.lang.ClassLoader.loadClass(Unknown Source)
>          at java.lang.ClassLoader.loadClass(Unknown Source)
>          at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>          at java.lang.Class.forName0(Native Method)
>          at java.lang.Class.forName(Unknown Source)
>          ... 43 more
> 
> Best,
> Jacek



Mime
View raw message