Getting ScopeNotActiveException while scheduling Job in Xstore V25
Hello Team,
Xstore version 25.0.0.0.20250723220418
We are attempting to create a worker that schedules a cron-based job using ThreadPoolTaskScheduler. However, we are encountering the following exception at runtime:
org.springframework.beans.factory.support.ScopeNotActiveException:Error creating bean with name 'scopedTarget.sysConfigManagerProxy':Scope 'workstation' is not active for the current thread;consider defining a scoped proxy for this bean if you intend to refer to it from a singleton
What we have implemented
Worker definition (xyz-workers.xml)
<ref bean="testV25CloseJobsScheduler"/><bean id="testV25CloseJobsScheduler" parent="silentWorker"> <property name="delegate"> <bean class="xyz.pos.startup.scheduler.test.XyzExtendCloseQuestionWorker"/> </property></bean>
Worker implementation (
Tagged:
0