-
Jan 25th, 2008, 10:13 AM
#1
Gettting Isssues when Integrating Quartz with Spring
I have added the following bean definitions to my applicationContext xml.
<bean id="batchJob" class="org.springframework.scheduling.quartz.Metho dInvokingJobDetailFactoryBean">
<property name="targetObject" ref="test"/>
<property name="targetMethod" value="execute"/>
<property name="concurrent" value="false" />
</bean>
<bean id="test" class="gov.ed.app.ats.batch.test.Test"/>
<bean id="cronTrigger" class="org.springframework.scheduling.quartz.CronT riggerBean">
<property name="jobDetail" ref="batchJob" />
<property name="cronExpression" value="0 * 10 * * ?" />
</bean>
<bean class="org.springframework.scheduling.quartz.Sched ulerFactoryBean">
<property name="triggers">
<list>
<ref bean="cronTrigger" />
</list>
</property>
</bean>
But when I am restarting the server to kick off the job.I am getting some errors.
I am hereby enclosing my errors.
Can anyone please help me why I am getting this issue ASAP.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules