[JBoss JIRA] Created: (SEAMSECURITY-53) security-openid-rp broken on GlassFish
by Jozef Hartinger (JIRA)
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
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] Created: (SOLDER-103) Annotation redefinition not executed for type-level annotations
by Jozef Hartinger (JIRA)
Annotation redefinition not executed for type-level annotations
---------------------------------------------------------------
Key: SOLDER-103
URL: https://issues.jboss.org/browse/SOLDER-103
Project: Seam Solder
Issue Type: Bug
Components: Builders
Affects Versions: 3.0.0.Final
Reporter: Jozef Hartinger
Assignee: Jozef Hartinger
Javadoc for AnnotationBuilder.redefine() says:
{quote}
Redefine any annotations of the specified type. The redefinition callback will be invoked for any annotation on the type definition or any of it's members.
{quote}
However, the callback is only invoked for annotations on type's members, not on the type itself.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] Created: (SEAMSECURITY-75) security-openid-rp/op examples fail on AS7 with 0x704: I/O transport error
by Marek Schmidt (JIRA)
security-openid-rp/op examples fail on AS7 with 0x704: I/O transport error
--------------------------------------------------------------------------
Key: SEAMSECURITY-75
URL: https://issues.jboss.org/browse/SEAMSECURITY-75
Project: Seam Security
Issue Type: Bug
Environment: jboss-7.0.0.Beta4-SNAPSHOT, build 1199
Reporter: Marek Schmidt
Fix For: Future
Attachments: server.log
The openid examples fail on AS7 with the following HTTP 400 error. Note that the steps to reproduce are the same SEAMSECURITY-67, but this is a different issue, as this is a different error message and also occurs with OpenID4Java 0.9.5
{quote}
HTTP Status 400 - 0x704: I/O transport error:
type Status report
message 0x704: I/O transport error:
description The request sent by the client was syntactically incorrect (0x704: I/O transport error: ).
{quote}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] Created: (SEAMFACES-169) Seam Faces does not work with OWB
by Thomas Andraschko (JIRA)
Seam Faces does not work with OWB
---------------------------------
Key: SEAMFACES-169
URL: https://issues.jboss.org/browse/SEAMFACES-169
Project: Seam Faces
Issue Type: Bug
Components: Build & Distribution, CDI Integration
Affects Versions: 3.0.1
Environment: Tomcat 7, OWB 1.1.0, MyFaces 2.0.5 or 2.1.0, SeamFaces 3.0.1, SeamPersistence 3.0.0, SeamXmlConfig 3.0.0
Reporter: Thomas Andraschko
SeamFaces does not work with OWB.
Following exception occurs:
07.06.2011 13:25:17 org.apache.myfaces.webapp.AbstractFacesInitializer initFaces
SCHWERWIEGEND: An error occured while initializing MyFaces: null
java.util.NoSuchElementException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:796)
at java.util.HashMap$KeyIterator.next(HashMap.java:828)
at org.jboss.seam.faces.event.AbstractListener.getListeners(AbstractListener.java:25)
at org.jboss.seam.faces.event.DelegatingSystemEventListener.getEventListeners(DelegatingSystemEventListener.java:43)
at org.jboss.seam.faces.event.DelegatingSystemEventListener.processEvent(DelegatingSystemEventListener.java:34)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:43)
at org.apache.myfaces.application.ApplicationImpl._traverseListenerList(ApplicationImpl.java:2105)
at org.apache.myfaces.application.ApplicationImpl.access$000(ApplicationImpl.java:118)
at org.apache.myfaces.application.ApplicationImpl$SystemListenerEntry.publish(ApplicationImpl.java:2292)
at org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:537)
at javax.faces.application.ApplicationWrapper.publishEvent(ApplicationWrapper.java:329)
at org.apache.myfaces.webapp.AbstractFacesInitializer._dispatchApplicationEvent(AbstractFacesInitializer.java:248)
at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:140)
at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:111)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4521)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5004)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:4999)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
07.06.2011 13:25:17 org.apache.catalina.core.StandardContext startInternal
SCHWERWIEGEND: Error listenerStart
07.06.2011 13:25:17 org.apache.catalina.core.StandardContext startInternal
SCHWERWIEGEND: Context [/my-webapp] startup failed due to previous errors
07.06.2011 13:25:17 org.apache.webbeans.web.lifecycle.WebContainerLifecycle afterStopApplication
INFO: OpenWebBeans Container was stopped for context path, [/my-webapp]
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] Created: (SEAMFACES-28) ObjectConverter and EntityConverter
by Pete Muir (JIRA)
ObjectConverter and EntityConverter
-----------------------------------
Key: SEAMFACES-28
URL: https://jira.jboss.org/browse/SEAMFACES-28
Project: Seam Faces
Issue Type: Feature Request
Components: Transactions & Persistence, Validation & Conversion
Reporter: Pete Muir
Priority: Critical
Given
class Foo {
Bar bar;
// Getters and setters
List<Bar> bars;
// Getters and setters
}
<h:selectOneMenu value="#{foo.bar}" >
<f:selectItems value="#{foo.bars}" var="bar" itemLabel="#{bar.label}" itemValue="#{bar}" />
<s:convertEntity /> || <s:convertObject />
</h:selectOneMenu>
I want to be able to have my setter/getter reference an object and not write the boilerplate for converting to/from a string.
I also want to reference a managed entity, and have that managed entity set back into the setter so I can see the changes updated in the database with no boilerplate, and avoid LIEs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month