quartz annotations + MDB integration not working in JBoss 5.1.10,
------------------------------------------------------------------
Key: JBAS-8592
URL:
https://jira.jboss.org/browse/JBAS-8592
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Scheduling/Timers
Affects Versions: JBossAS-5.1.0.GA
Environment: JBossAS-5.1.10, Mac OS X, Java 6
Reporter: Jason Novotny
Assignee: Dimitris Andreadis
This used to work with JBoss 4.2.3GA
@MessageDriven(activationConfig = {
@ActivationConfigProperty(propertyName = "cronTrigger", propertyValue =
"0 0 6,10,14 * * ?")
})
@ResourceAdapter("quartz-ra.rar")
public class AutoAlertingWatcherJob implements Job {
....
In Jboss 5.1.10GA it reports an error:
14:31:01,531 ERROR [AbstractKernelController] Error installing to Start:
name=jboss.j2ee:jar=mach_EJB.jar,name=AutoAlertingWatcherJobMDB,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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira