Hi,

I am trying to deploy a JAR file as on geronimo which has different GBean
which I want to access through JMX. When I am deploying this Jar file , I am
getting this error:

19:42:47,732 ERROR [Deployer] Deployment failed due to 
java.lang.NoClassDefFoundError: org/quartz/Trigger
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
        at java.lang.Class.getDeclaredMethods(Class.java:1791)
        at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:162)
        at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:144)
        at
org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:428)
        at
org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:330)
        at
org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:152)
        at
org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:118)
        at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:332)
        at
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:614)
        at
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbJarInfo(EjbModuleBuilder.java:551)
        at
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:473)
        at
org.apache.geronimo.openejb.deployment.EjbModuleBuilder$$FastClassByCGLIB$$cd80af20.invoke(<generated>)


I have deployed this quartz.jar as dependency and I am adding this in my
META-INF/geronimo-service.xml too. Any idea?

Other question is where I can deploy the Shared Jar file which I want to use
in all applications in Geronimo (Like Tomcat Shared lib folder)?

Please help.

Qaiser Mehmood

-- 
View this message in context: 
http://www.nabble.com/java.lang.NoClassDefFoundError%3A-org-quartz-Trigger-tp14904364s134p14904364.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Reply via email to