org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active > contexts for scope type javax.enterprise.context.RequestScoped > at > org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:679) > at > org.jboss.weld.bean.proxy.ClientProxyMethodHandler.getProxiedInstance(ClientProxyMethodHandler.java:138) > at > org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:100) > at > org.jboss.weld.util.CleanableMethodHandler.invoke(CleanableMethodHandler.java:43) > at > org.jboss.weld.servlet.HttpSessionManager_$$_javassist_38.setSession(HttpSessionManager_$$_javassist_38.java) > at > org.jboss.weld.servlet.ServletLifecycle.restoreSessionContext(ServletLifecycle.java:148) > at > org.jboss.weld.servlet.ServletLifecycle.beginSession(ServletLifecycle.java:71) > at > org.jboss.weld.servlet.WeldListener.sessionCreated(WeldListener.java:126) > at > org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:411) > at > org.apache.catalina.session.StandardSession.setId(StandardSession.java:391) > at > org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:803) > at > org.apache.catalina.session.StandardManager.createSession(StandardManager.java:326) > at > org.apache.catalina.connector.Request.doGetSession(Request.java:2868) > at > org.apache.catalina.connector.Request.getSession(Request.java:2566) > at > org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:919) > at > org.apache.catalina.authenticator.AuthenticatorBase.getSession(AuthenticatorBase.java:859) > at > org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:233) > at > com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1187) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:619) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:615) >

Oracle Community | 392 Guest | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.RequestScoped

    Oracle Community | 7 years ago | 392 Guest
    org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active > contexts for scope type javax.enterprise.context.RequestScoped > at > org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:679) > at > org.jboss.weld.bean.proxy.ClientProxyMethodHandler.getProxiedInstance(ClientProxyMethodHandler.java:138) > at > org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:100) > at > org.jboss.weld.util.CleanableMethodHandler.invoke(CleanableMethodHandler.java:43) > at > org.jboss.weld.servlet.HttpSessionManager_$$_javassist_38.setSession(HttpSessionManager_$$_javassist_38.java) > at > org.jboss.weld.servlet.ServletLifecycle.restoreSessionContext(ServletLifecycle.java:148) > at > org.jboss.weld.servlet.ServletLifecycle.beginSession(ServletLifecycle.java:71) > at > org.jboss.weld.servlet.WeldListener.sessionCreated(WeldListener.java:126) > at > org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:411) > at > org.apache.catalina.session.StandardSession.setId(StandardSession.java:391) > at > org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:803) > at > org.apache.catalina.session.StandardManager.createSession(StandardManager.java:326) > at > org.apache.catalina.connector.Request.doGetSession(Request.java:2868) > at > org.apache.catalina.connector.Request.getSession(Request.java:2566) > at > org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:919) > at > org.apache.catalina.authenticator.AuthenticatorBase.getSession(AuthenticatorBase.java:859) > at > org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:233) > at > com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1187) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:619) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:615) >
  2. 0

    ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.RequestScoped - Theodor Richard - net.java.dev.glassfish.users - MarkMail

    markmail.org | 9 months ago
    org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.RequestScoped at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:679) at org.jboss.weld.bean.proxy.ClientProxyMethodHandler.getProxiedInstance(ClientProxyMethodHandler.java:138) at org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:100) at org.jboss.weld.util.CleanableMethodHandler.invoke(CleanableMethodHandler.java:43) at org.jboss.weld.servlet.HttpSessionManager_$$_javassist_38.setSession(HttpSessionManager_$$_javassist_38.java) at org.jboss.weld.servlet.ServletLifecycle.restoreSessionContext(ServletLifecycle.java:148) at org.jboss.weld.servlet.ServletLifecycle.beginSession(ServletLifecycle.java:71) at org.jboss.weld.servlet.WeldListener.sessionCreated(WeldListener.java:126) at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:411) at org.apache.catalina.session.StandardSession.setId(StandardSession.java:391) at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:803) at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:326) at org.apache.catalina.connector.Request.doGetSession(Request.java:2868) at org.apache.catalina.connector.Request.getSession(Request.java:2566) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:919) at org.apache.catalina.authenticator.AuthenticatorBase.getSession(AuthenticatorBase.java:859) at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:233) at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1187) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:619) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:615)

    Root Cause Analysis

    1. org.jboss.weld.context.ContextNotActiveException

      WELD-001303 No active > contexts for scope type javax.enterprise.context.RequestScoped > at > org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:679) > at > org.jboss.weld.bean.proxy.ClientProxyMethodHandler.getProxiedInstance(ClientProxyMethodHandler.java:138) > at > org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:100) > at > org.jboss.weld.util.CleanableMethodHandler.invoke(CleanableMethodHandler.java:43) > at > org.jboss.weld.servlet.HttpSessionManager_$$_javassist_38.setSession(HttpSessionManager_$$_javassist_38.java) > at > org.jboss.weld.servlet.ServletLifecycle.restoreSessionContext(ServletLifecycle.java:148) > at > org.jboss.weld.servlet.ServletLifecycle.beginSession(ServletLifecycle.java:71) > at > org.jboss.weld.servlet.WeldListener.sessionCreated(WeldListener.java:126) > at > org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:411) > at > org.apache.catalina.session.StandardSession.setId(StandardSession.java:391) > at > org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:803) > at > org.apache.catalina.session.StandardManager.createSession(StandardManager.java:326) > at > org.apache.catalina.connector.Request.doGetSession(Request.java:2868) > at > org.apache.catalina.connector.Request.getSession(Request.java:2566) > at > org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:919) > at > org.apache.catalina.authenticator.AuthenticatorBase.getSession(AuthenticatorBase.java:859) > at > org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:233) > at > com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1187) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:619) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:615) >

      at com.sun.enterprise.web.WebPipeline.invoke()
    2. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
      1 frame