Since RequestScope is not available as part of the worker thread we are trying to use Deltaspike API to start the RequestScope context, WAS throws exception - Caused by: java.lang.NoClassDefFoundError: org.apache.webbeans.config.WebBeansContext at org.apache.deltaspike.cdise.owb.OpenWebBeansContextControl.getContextsService(OpenWebBeansContextControl.java:225) at org.apache.deltaspike.cdise.owb.OpenWebBeansContextControl.startRequestScope(OpenWebBeansContextControl.java:157) at org.apache.deltaspike.cdise.owb.OpenWebBeansContextControl.startContext(OpenWebBeansContextControl.java:75) at com.ford.doesbatch.inbound.scheduler.TimerListener.timerExpired(TimerListener.java:41) at com.ibm.ws.asynchbeans.timer.TimerImpl.callListenerMethod(TimerImpl.java:361) at com.ibm.ws.asynchbeans.timer.GenericTimer.run(GenericTimer.java:228) at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:265) at java.security.AccessController.doPrivileged(AccessController.java:298) at javax.security.auth.Subject.doAs(Subject.java:495) at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:132)
-- View this message in context: http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/Start-Request-scope-manually-fro-a-worker-thread-asynchronous-thread-in-WAS8-tp4661026.html Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at Nabble.com.