Results 1 to 9 of 9

Thread: Gettting Isssues when Integrating Quartz with Spring

Threaded View

  1. #1
    Join Date
    Jan 2008
    Posts
    21

    Default 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.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •