Retail Point-of-Service Solutions (MOSC)

MOSC Banner

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:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center