[jboss-jira] [JBoss JIRA] (WFLY-7356) WELD-001303 error when executing thread-racing quickstart
Tomaz Cerar (JIRA)
issues at jboss.org
Thu Oct 20 08:16:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-7356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar updated WFLY-7356:
------------------------------
Component/s: Quickstarts
> WELD-001303 error when executing thread-racing quickstart
> ---------------------------------------------------------
>
> Key: WFLY-7356
> URL: https://issues.jboss.org/browse/WFLY-7356
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 11.0.0.Alpha1
> Reporter: Sande Gilda
> Assignee: Jeff Mesnil
> Labels: NEED_ASSISTANCE
> Fix For: 11.0.0.Alpha1
>
>
> After pressing the {{INSERT COIN}} button in {{thread-racing}} quickstart, the following error is produced by EAP:
> {code}09:00:25,763 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> 09:00:25,764 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:689)
> 09:00:25,765 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:90)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstanceStrategy$CachingContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:165)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstance.getIfExists(ContextualInstance.java:63)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:83)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:99)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.RequestedJMSContext$Proxy$_$$_WeldClientProxy.getContext(Unknown Source)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.InjectedJMSContext.getDelegate(InjectedJMSContext.java:91)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.JMSContextWrapper.createTemporaryQueue(JMSContextWrapper.java:252)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.stage.jms.JMSRaceStage.run(JMSRaceStage.java:52)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer.runRaceStages(Racer.java:152)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer.access$100(Racer.java:39)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer$1.run(Racer.java:130)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at java.lang.Thread.run(Thread.java:745)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
> {code}
> The application itself then shows the following output:
> {quote}
> Ready... Set... Go!
> Sebastien Throeb completed the Batch 1.0 stage.
> Michael Thrumacher completed the Batch 1.0 stage.
> Valentino Throssi completed the Batch 1.0 stage.
> Jimmie Thronson completed the Batch 1.0 stage.
> Sebastien Throeb completed the EE Concurrency 1.0 stage.
> Michael Thrumacher completed the EE Concurrency 1.0 stage.
> Valentino Throssi completed the EE Concurrency 1.0 stage.
> Jimmie Thronson completed the EE Concurrency 1.0 stage.
> Sebastien Throeb PIT STOP in 96ms
> Jimmie Thronson PIT STOP in 96ms
> Valentino Throssi PIT STOP in 96ms
> Michael Thrumacher PIT STOP in 96ms
> Sebastien Throeb completed the JAX-RS 2.0 stage.
> Jimmie Thronson completed the JAX-RS 2.0 stage.
> Valentino Throssi completed the JAX-RS 2.0 stage.
> Michael Thrumacher completed the JAX-RS 2.0 stage.
> Michael Thrumacher aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Valentino Throssi aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Jimmie Thronson aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Sebastien Throeb aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped{quote}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list