Unmanaged Threads Spring Quartz Websphere Hibernate

前端 未结 8 2103
囚心锁ツ
囚心锁ツ 2020-12-06 06:54

It appears that our implementation of using Quartz - JDBCJobStore along with Spring, Hibernate and Websphere is throwing unmanaged threads.

I have done some readin

8条回答
  •  盖世英雄少女心
    2020-12-06 07:25

    You will have to use websphere's managed thread pools. You can do this via spring and commonj. CommonJ can has a task executor that will create managed threads. You can even use a reference to a jndi managed thread resource. You can then inject the commonj task executor into the Spring based Quartz SchedulerFactoryBean.

    Please see http://open.bekk.no/boss/spring-scheduling-in-websphere/ and scroll to "Quartz with CommonJ" section for more details.

提交回复
热议问题