Announcement Announcement Module
Collapse
No announcement yet.
exceptions on upgrade from Spring 2.5.6 to Spring 3.2.4RELEASE in scheduled job Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • exceptions on upgrade from Spring 2.5.6 to Spring 3.2.4RELEASE in scheduled job

    Hi,
    We are upgrading from Spring 2.5.6 to Spring 3.2.4 RELEASE.we have a quartz Scheduling mechanism which fails on upgrade with below erroe:
    Cannot convert value of type [org.springframework.scheduling.commonj.WorkManager TaskExecutor] to required type [java.util.concurrent.Executor] for property 'taskExecutor': no matching editors or conversion strategy found.

    our Factory class extends org.springframework.scheduling.quartz.SchedulerFac toryBean. One of the properties set for this bean

    <property name="taskExecutor" ref="workManagerTaskExecutor" />


    Our bean Context xml has following tags for initialing the WorkManagerTaskExecutor


    <bean id="workManagerTaskExecutor" class="org.springframework.scheduling.commonj.Work ManagerTaskExecutor">
    <property name="workManagerName" value="wm/workManagerRef"/>
    <property name="resourceRef" value="true"/>
    </bean>

    There have been some changes in spring-context and spring-context-support software in the new release. Can you please suggest the right way of usage of the Task Executor in the new release?

    Appreciate your response.

    Thanks,
    Bindu
Working...
X