4 Replies Latest reply on Nov 9, 2017 7:00 AM by sarangsalvekar

    java.lang.NoClassDefFoundError: org/quartz/SchedulerExceptio

    kristof_taveirne

      Hi,

      I installed JBoss 4.0.4GA and I used the "all" configuration.
      I afterwards downloaded the EJB3-RC8-FD distribution and installed it according to the INSTALL howto included.

      When I run the server I get the following error upon starting:


      16:55:30,203 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/quartz-ra.rar
      16:55:30,203 WARN [ServiceController] Problem starting service jboss.jca:servic
      e=RARDeployment,name='quartz-ra.rar'
      java.lang.NoClassDefFoundError: org/quartz/SchedulerException
       at java.lang.Class.getDeclaredConstructors0(Native Method)
       at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
       at java.lang.Class.getConstructor0(Class.java:2640)
       at java.lang.Class.newInstance0(Class.java:321)
       at java.lang.Class.newInstance(Class.java:303)
       at org.jboss.resource.deployment.ResourceAdapterFactory.createResourceAd
      apter(ResourceAdapterFactory.java:69)
       at org.jboss.resource.deployment.RARDeployment.startService(RARDeploymen
      t.java:108)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
      upport.java:289)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
      eanSupport.java:245)
       at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBea
      nSupport.java:124)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
      64)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:978)
       at $Proxy0.start(Unknown Source)
      ...
      
      
      16:55:31,984 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      
      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.jca:service=RARDeployment,name='quartz-ra.rar'
       State: FAILED
       Reason: java.lang.NoClassDefFoundError: org/quartz/SchedulerException
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.jca:service=RARDeployment,name='quartz-ra.rar'
       State: FAILED
       Reason: java.lang.NoClassDefFoundError: org/quartz/SchedulerException
      


      The schedulerException class is included in the quartz-all-1.5.2.jar file which is placed in the C:\jboss-4.0.4.GA\lib directory.

      Somehow this file doesn't get loaded before the quartz-ra.rar file is being deployed.

      Is there anyone who has any idea why this is, and how I can fix it?
      Thanks alot!

      Kristof Taveirne.