javax.ejb.EJBException: org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped<br/>org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:187)<br/>org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:277)<br/>org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)<br/>org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:79)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.deployment.processors.EjbSuspendInterceptor.processInvocation(EjbSuspendInterceptor.java:44)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:375)<br/>org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:609)<br/>org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:375)<br/>org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)<br/>org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)<br/>org.jboss.as.ejb3.remote.LocalEjbReceiver.processInvocation(LocalEjbReceiver.java:266)<br/>org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:184)<br/>org.jboss.ejb.client.EJBObjectInterceptor.handleInvocation(EJBObjectInterceptor.java:58)<br/>org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)<br/>org.jboss.ejb.client.EJBHomeInterceptor.handleInvocation(EJBHomeInterceptor.java:83)<br/>org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)<br/>org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:42)<br/>org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)<br/>org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:138)<br/>org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)<br/>org.jboss.ejb.client.EJBInvocationHandler.sendRequestWithPossibleRetries(EJBInvocationHandler.java:255)<br/>org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:200)<br/>org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:183)<br/>org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:146)<br/>com.sun.proxy.$Proxy679.getMessage(Unknown Source)<br/>org.jboss.as.test.integration.weld.ejb.requestScope.RequestServlet.doGet(RequestServlet.java:23)<br/>javax.servlet.http.HttpServlet.service(HttpServlet.java:687)<br/>javax.servlet.http.HttpServlet.service(HttpServlet.java:790)<br/>io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)<br/>io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)<br/>io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)<br/>org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)<br/>io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br/>io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)<br/>io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)<br/>io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br/>io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)<br/>io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)<br/>io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)<br/>io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)<br/>io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)<br/>io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)<br/>io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br/>org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<br/>io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br/>io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br/>io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)<br/>io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)<br/>io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)<br/>io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)<br/>io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)<br/>io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)<br/>org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)<br/>org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1677)<br/>org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1677)<br/>org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1677)<br/>org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1677)<br/>io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)<br/>io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)<br/>io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)<br/>io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)<br/>io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)<br/>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)<br/>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)<br/>java.lang.Thread.run(Thread.java:745)<br/></body></html>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by wildfly-ci
, 1 year ago
org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped<br/>org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:187)<br/>org.jboss.as.ejb3
via GitHub by wildfly-ci
, 1 year ago
org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped<br/>org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:187)<br/>org.jboss.as.ejb3
via GitHub by wildfly-ci
, 1 year ago
org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped<br/>org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:187)<br/>org.jboss.as.ejb3
via GitHub by wildfly-ci
, 1 year ago
org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped<br/>org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:187)<br/>org.jboss.as.ejb3
javax.ejb.EJBException: org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped<br/>org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:187)<br/>org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:277)<br/>org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)<br/>org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:79)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.deployment.processors.EjbSuspendInterceptor.processInvocation(EjbSuspendInterceptor.java:44)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:375)<br/>org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:609)<br/>org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:375)<br/>org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)<br/>org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:359)<br/>org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)<br/>org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)<br/>org.jboss.as.ejb3.remote.LocalEjbReceiver.processInvocation(LocalEjbReceiver.java:266)<br/>org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:184)<br/>org.jboss.ejb.client.EJBObjectInterceptor.handleInvocation(EJBObjectInterceptor.java:58)<br/>org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)<br/>org.jboss.ejb.client.EJBHomeInterceptor.handleInvocation(EJBHomeInterceptor.java:83)<br/>org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)<br/>org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:42)<br/>org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)<br/>org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:138)<br/>org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)<br/>org.jboss.ejb.client.EJBInvocationHandler.sendRequestWithPossibleRetries(EJBInvocationHandler.java:255)<br/>org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:200)<br/>org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:183)<br/>org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:146)<br/>com.sun.proxy.$Proxy679.getMessage(Unknown Source)<br/>org.jboss.as.test.integration.weld.ejb.requestScope.RequestServlet.doGet(RequestServlet.java:23)<br/>javax.servlet.http.HttpServlet.service(HttpServlet.java:687)<br/>javax.servlet.http.HttpServlet.service(HttpServlet.java:790)<br/>io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)<br/>io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)<br/>io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)<br/>org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)<br/>io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br/>io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)<br/>io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)<br/>io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br/>io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)<br/>io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)<br/>io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)<br/>io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)<br/>io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)<br/>io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)<br/>io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br/>org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<br/>io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br/>io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br/>io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)<br/>io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)<br/>io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)<br/>io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)<br/>io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)<br/>io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)<br/>org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)<br/>org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1677)<br/>org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1677)<br/>org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1677)<br/>org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1677)<br/>io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)<br/>io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)<br/>io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)<br/>io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)<br/>io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)<br/>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)<br/>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)<br/>java.lang.Thread.run(Thread.java:745)<br/></body></html>
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at org.jboss.as.test.integration.common.HttpRequest.execute(HttpRequest.java:51)
at org.jboss.as.test.integration.weld.ejb.requestScope.RequestScopeActivationTestCase.testRequestContextActiveCDI(RequestScopeActivationTestCase.java:95)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.