[jboss-jira] [JBoss JIRA] (WFLY-7356) WELD-001303 error when executing thread-racing quickstart
Sande Gilda (JIRA)
issues at jboss.org
Thu Oct 20 07:09:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-7356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sande Gilda moved JBEAP-6526 to WFLY-7356:
------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7356 (was: JBEAP-6526)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: (was: Quickstarts)
Affects Version/s: 11.0.0.Alpha1
(was: 7.1.0.DR1)
(was: 7.1.0.DR2)
(was: 7.1.0.DR3)
(was: 7.1.0.DR4)
(was: 7.1.0.DR5)
(was: 7.1.0.DR6)
Fix Version/s: (was: 7.1.0.DR7)
> WELD-001303 error when executing thread-racing quickstart
> ---------------------------------------------------------
>
> Key: WFLY-7356
> URL: https://issues.jboss.org/browse/WFLY-7356
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 11.0.0.Alpha1
> Reporter: Sande Gilda
> Assignee: Jeff Mesnil
> Labels: NEED_ASSISTANCE
>
> 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