2 Replies Latest reply on Sep 18, 2012 10:42 AM by Hushen Savani

    Quartz issues with JBoss 5.1.0 upgrade

    jnovotny Newbie

      Hi,

       

      After switching our application from Jboss 4.2.3GA to 5.1.0GA I am seeing some stacktraces upon startup like the following:

       

      14:30:58,238 INFO  [EJBContainer] STARTED EJB: com.machenergy.session.scheduled.AutoAlertingWatcherJob ejbName: AutoAlertingWatcherJob

       

      14:30:58,246 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:jar=mach_EJB.jar,name=AutoAlertingWatcherJob,service=EJB3 state=Create

       

      org.jboss.deployers.spi.DeploymentException: MessagingType 'org.quartz.Job' not found in resource deployment jboss.jca:service=RARDeployment,name='jms-ra.rar'

          at org.jboss.resource.deployers.RARDeployment.createActivationSpec(RARDeployment.java:311)

          at org.jboss.resource.deployers.RARDeployment.internalInvoke(RARDeployment.java:276)

          at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156)

          at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

      ....

       

      The AutoAlertingWatcherJob is  MDB that looks like:

       

      import org.quartz.Job;

      ...

       

      */
      @MessageDriven(activationConfig = {
          @ActivationConfigProperty(propertyName = "cronTrigger", propertyValue = "0 0 6,10,14 * * ?")
      })
      @ResourceAdapter("quartz-ra.rar")
      public class AutoAlertingWatcherJob implements Job {

       

      What must I configure so that it can identify the MessagingType 'org.quartz.Job'?

       

      Thanks, Jason