[
https://issues.jboss.org/browse/SEAMSECURITY-53?page=com.atlassian.jira.p...
]
Lucas Ventura Carro commented on SEAMSECURITY-53:
-------------------------------------------------
It also fails under tomcat-7.0.21, using seam-3.1.0.Beta4 and weld-1.1.3.Final.
security-openid-rp broken on GlassFish
--------------------------------------
Key: SEAMSECURITY-53
URL:
https://issues.jboss.org/browse/SEAMSECURITY-53
Project: Seam Security
Issue Type: Bug
Affects Versions: 3.0.0.Final
Environment: GlassFish 3.1 + Weld 2011-03-29
Reporter: Jozef Hartinger
Assignee: Shane Bryzak
Fix For: Future
1.) Deploy the application
2.) Open
http://localhost:8080/security-openid-rp
3.) Select any external identity provider (yahoo, google, myopenid)
4.) Click "login"
[#|2011-03-29T14:26:09.786+0200|ERROR|glassfish3.1|org.jboss.seam.security.IdentityImpl|_ThreadID=29;_ThreadName=Thread-1;|Login
failed
java.lang.RuntimeException: org.jboss.weld.context.ContextNotActiveException: WELD-001303
No active contexts for scope type
org.jboss.seam.security.external.dialogues.api.DialogueScoped
at org.jboss.seam.security.IdentityImpl.authenticate(IdentityImpl.java:329)
at org.jboss.seam.security.IdentityImpl.login(IdentityImpl.java:229)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:234)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at
org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)
at
com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
at
org.jboss.seam.security.external.dialogues.DialogueFilter.doFilter(DialogueFilter.java:48)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
at
org.jboss.seam.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:62)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
at
org.jboss.seam.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:72)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active
contexts for scope type org.jboss.seam.security.external.dialogues.api.DialogueScoped
at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:664)
at
org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:77)
at
org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87)
at
org.jboss.seam.security.external.dialogues.org$jboss$weld$bean-WEB-INF$lib$seam-security-external-3$0$0$Final-ManagedBean-class_org$jboss$seam$security$external$dialogues$DialogueBean_$$_WeldClientProxy.getId(org$jboss$weld$bean-WEB-INF$lib$seam-security-external-3$0$0$Final-ManagedBean-class_org$jboss$seam$security$external$dialogues$DialogueBean_$$_WeldClientProxy.java)
at
org.jboss.seam.security.external.openid.OpenIdRpAuthenticationService.sendAuthRequest(OpenIdRpAuthenticationService.java:140)
at
org.jboss.seam.security.external.openid.org$jboss$weld$bean-WEB-INF$lib$seam-security-external-3$0$0$Final-ManagedBean-class_org$jboss$seam$security$external$openid$OpenIdRpAuthenticationService_$$_WeldClientProxy.sendAuthRequest(org$jboss$weld$bean-WEB-INF$lib$seam-security-external-3$0$0$Final-ManagedBean-class_org$jboss$seam$security$external$openid$OpenIdRpAuthenticationService_$$_WeldClientProxy.java)
at
org.jboss.seam.security.external.openid.OpenIdRpBean.login(OpenIdRpBean.java:50)
at
org.jboss.seam.security.external.openid.OpenIdAuthenticator.authenticate(OpenIdAuthenticator.java:77)
at
org.jboss.seam.security.external.openid.org$jboss$weld$bean-WEB-INF$lib$seam-security-external-3$0$0$Final-ManagedBean-class_org$jboss$seam$security$external$openid$OpenIdAuthenticator_$$_WeldClientProxy.authenticate(org$jboss$weld$bean-WEB-INF$lib$seam-security-external-3$0$0$Final-ManagedBean-class_org$jboss$seam$security$external$openid$OpenIdAuthenticator_$$_WeldClientProxy.java)
at org.jboss.seam.security.IdentityImpl.authenticate(IdentityImpl.java:305)
... 55 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira