[JBoss JIRA] Moved: (SOLDER-58) ELResolver assumes flat deployment structure
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/SOLDER-58?page=com.atlassian.jira.plugin.... ]
Pete Muir moved CDI-22 to SOLDER-58:
------------------------------------
Project: Seam Solder (was: CDI Specification Issues)
Key: SOLDER-58 (was: CDI-22)
> ELResolver assumes flat deployment structure
> --------------------------------------------
>
> Key: SOLDER-58
> URL: https://issues.jboss.org/browse/SOLDER-58
> Project: Seam Solder
> Issue Type: Bug
> Reporter: Pete Muir
> Labels: el, scoping
>
> It adds the ELResolver belonging to the BeanManager of the seam-solder.jar module, when in fact the user will want the ELResolver for the bean manager from their module/app.
> public class ELResolverProducer
> {
> @Produces
> @Composite
> public ELResolver getELResolver(@Resolver Instance<ELResolver> resolvers, BeanManager beanManager)
> {
> // Create the default el resolvers
> CompositeELResolver compositeResolver = new CompositeELResolver();
> compositeResolver.add(beanManager.getELResolver());
> ...
> }
> }
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBSEAM-4752) A chatroom example works only in Firefox Browser
by Martin Gencur (JIRA)
A chatroom example works only in Firefox Browser
-------------------------------------------------
Key: JBSEAM-4752
URL: https://issues.jboss.org/browse/JBSEAM-4752
Project: Seam
Issue Type: Bug
Components: Examples
Affects Versions: 2.2.1.CR3
Environment: JBossAS 4
Reporter: Martin Gencur
Fix For: The future
When playing with the application, nothing shows in the main area for messages if the web browser is different from Firefox. I tried both Opera 10.00 and Chromium web browser 5.0.342.9.
JBossAS console log throws the following:
12:42:19,486 ERROR [Remoting] Error
javax.servlet.ServletException: java.lang.IllegalArgumentException: Invalid token argument - token not found in Session Context.
at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:96)
at org.jboss.seam.remoting.PollHandler.handle(PollHandler.java:65)
at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:111)
at org.jboss.seam.servlet.SeamResourceServlet.service(SeamResourceServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: Invalid token argument - token not found in Session Context.
at org.jboss.seam.remoting.messaging.SubscriptionRegistry.getSubscription(SubscriptionRegistry.java:169)
at org.jboss.seam.remoting.messaging.PollRequest.poll(PollRequest.java:43)
at org.jboss.seam.remoting.PollHandler$1.process(PollHandler.java:72)
at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:65)
... 36 more
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Closed: (SOLDER-53) Seam Solder incontainer tests fail
by Dan Allen (JIRA)
[ https://issues.jboss.org/browse/SOLDER-53?page=com.atlassian.jira.plugin.... ]
Dan Allen closed SOLDER-53.
---------------------------
> Seam Solder incontainer tests fail
> ----------------------------------
>
> Key: SOLDER-53
> URL: https://issues.jboss.org/browse/SOLDER-53
> Project: Seam Solder
> Issue Type: Bug
> Components: Test Suite
> Reporter: Stuart Douglas
> Assignee: Dan Allen
> Fix For: 3.0.0.Beta1
>
>
> CoreTest fails with:
> testFullyQualifiedBeanNames(org.jboss.seam.solder.test.core.CoreTest) Time elapsed: 0 sec <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<0>
> ServiceHandlerTest fails with:
> org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [EchoDecorator] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.seam.solder.test.servicehandler.DecoratedEchoServiceHandler.decorator]
> DefaultBeanTest fails with:
> Deployment "vfs:///Users/stuart/nworkspace/solder-parent/impl/test.war_WeldBootstrapBean" is in error due to the following reason(s): org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [MagneticDrive] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.solder.test.defaultbean.DefaultBeanTest.magneticDrive], **ERROR**
> ElTest fails with:
> java.util.EmptyStackException
> at java.util.Stack.peek(Stack.java:85)
> at org.jboss.weld.el.AbstractWeldELResolver.lookup(AbstractWeldELResolver.java:147)
> at org.jboss.weld.el.AbstractWeldELResolver.getValue(AbstractWeldELResolver.java:113)
> at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
> at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:67)
> at org.apache.el.parser.AstValue.getValue(AstValue.java:115)
> at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187)
> at org.jboss.seam.solder.el.Expressions.evaluateValueExpression(Expressions.java:143)
> at org.jboss.seam.solder.el.Expressions.evaluateValueExpression(Expressions.java:185)
> at org.jboss.seam.solder.test.el.ElTest.testElResolver(ElTest.java:46)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Resolved: (SOLDER-53) Seam Solder incontainer tests fail
by Dan Allen (JIRA)
[ https://issues.jboss.org/browse/SOLDER-53?page=com.atlassian.jira.plugin.... ]
Dan Allen resolved SOLDER-53.
-----------------------------
Resolution: Done
> Seam Solder incontainer tests fail
> ----------------------------------
>
> Key: SOLDER-53
> URL: https://issues.jboss.org/browse/SOLDER-53
> Project: Seam Solder
> Issue Type: Bug
> Components: Test Suite
> Reporter: Stuart Douglas
> Assignee: Dan Allen
> Fix For: 3.0.0.Beta1
>
>
> CoreTest fails with:
> testFullyQualifiedBeanNames(org.jboss.seam.solder.test.core.CoreTest) Time elapsed: 0 sec <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<0>
> ServiceHandlerTest fails with:
> org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [EchoDecorator] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.seam.solder.test.servicehandler.DecoratedEchoServiceHandler.decorator]
> DefaultBeanTest fails with:
> Deployment "vfs:///Users/stuart/nworkspace/solder-parent/impl/test.war_WeldBootstrapBean" is in error due to the following reason(s): org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [MagneticDrive] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.solder.test.defaultbean.DefaultBeanTest.magneticDrive], **ERROR**
> ElTest fails with:
> java.util.EmptyStackException
> at java.util.Stack.peek(Stack.java:85)
> at org.jboss.weld.el.AbstractWeldELResolver.lookup(AbstractWeldELResolver.java:147)
> at org.jboss.weld.el.AbstractWeldELResolver.getValue(AbstractWeldELResolver.java:113)
> at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
> at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:67)
> at org.apache.el.parser.AstValue.getValue(AstValue.java:115)
> at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187)
> at org.jboss.seam.solder.el.Expressions.evaluateValueExpression(Expressions.java:143)
> at org.jboss.seam.solder.el.Expressions.evaluateValueExpression(Expressions.java:185)
> at org.jboss.seam.solder.test.el.ElTest.testElResolver(ElTest.java:46)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Commented: (SOLDER-53) Seam Solder incontainer tests fail
by Dan Allen (JIRA)
[ https://issues.jboss.org/browse/SOLDER-53?page=com.atlassian.jira.plugin.... ]
Dan Allen commented on SOLDER-53:
---------------------------------
All tests pass on JBoss AS 6 snapshot! Yeah!
> Seam Solder incontainer tests fail
> ----------------------------------
>
> Key: SOLDER-53
> URL: https://issues.jboss.org/browse/SOLDER-53
> Project: Seam Solder
> Issue Type: Bug
> Components: Test Suite
> Reporter: Stuart Douglas
> Assignee: Dan Allen
> Fix For: 3.0.0.Beta1
>
>
> CoreTest fails with:
> testFullyQualifiedBeanNames(org.jboss.seam.solder.test.core.CoreTest) Time elapsed: 0 sec <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<0>
> ServiceHandlerTest fails with:
> org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [EchoDecorator] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.seam.solder.test.servicehandler.DecoratedEchoServiceHandler.decorator]
> DefaultBeanTest fails with:
> Deployment "vfs:///Users/stuart/nworkspace/solder-parent/impl/test.war_WeldBootstrapBean" is in error due to the following reason(s): org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [MagneticDrive] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.solder.test.defaultbean.DefaultBeanTest.magneticDrive], **ERROR**
> ElTest fails with:
> java.util.EmptyStackException
> at java.util.Stack.peek(Stack.java:85)
> at org.jboss.weld.el.AbstractWeldELResolver.lookup(AbstractWeldELResolver.java:147)
> at org.jboss.weld.el.AbstractWeldELResolver.getValue(AbstractWeldELResolver.java:113)
> at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
> at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:67)
> at org.apache.el.parser.AstValue.getValue(AstValue.java:115)
> at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187)
> at org.jboss.seam.solder.el.Expressions.evaluateValueExpression(Expressions.java:143)
> at org.jboss.seam.solder.el.Expressions.evaluateValueExpression(Expressions.java:185)
> at org.jboss.seam.solder.test.el.ElTest.testElResolver(ElTest.java:46)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Commented: (SOLDER-53) Seam Solder incontainer tests fail
by Dan Allen (JIRA)
[ https://issues.jboss.org/browse/SOLDER-53?page=com.atlassian.jira.plugin.... ]
Dan Allen commented on SOLDER-53:
---------------------------------
It appears that this capture no longer works in Weld 1.1.0.CR1
void detectProducers(@Observes ProcessProducerMethod<LoggerProducers, Object> event) {
...
}
for Solder 3.0.0.Beta1, I put in a rather low impact workaround...
// FIXME cannot use optimal ProcessProducerMethod<LoggerProducers, Object> because of a bug in Weld 1.1.0.CR1
void detectProducers(@Observes ProcessProducerMethod<Object, Object> event) {
if (event.getBean().getBeanClass().equals(LoggerProducers.class)) {
...
}
}
The next chance I get, I'll report this in Weld.
> Seam Solder incontainer tests fail
> ----------------------------------
>
> Key: SOLDER-53
> URL: https://issues.jboss.org/browse/SOLDER-53
> Project: Seam Solder
> Issue Type: Bug
> Components: Test Suite
> Reporter: Stuart Douglas
> Assignee: Dan Allen
> Fix For: 3.0.0.Beta1
>
>
> CoreTest fails with:
> testFullyQualifiedBeanNames(org.jboss.seam.solder.test.core.CoreTest) Time elapsed: 0 sec <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<0>
> ServiceHandlerTest fails with:
> org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [EchoDecorator] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.seam.solder.test.servicehandler.DecoratedEchoServiceHandler.decorator]
> DefaultBeanTest fails with:
> Deployment "vfs:///Users/stuart/nworkspace/solder-parent/impl/test.war_WeldBootstrapBean" is in error due to the following reason(s): org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [MagneticDrive] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.solder.test.defaultbean.DefaultBeanTest.magneticDrive], **ERROR**
> ElTest fails with:
> java.util.EmptyStackException
> at java.util.Stack.peek(Stack.java:85)
> at org.jboss.weld.el.AbstractWeldELResolver.lookup(AbstractWeldELResolver.java:147)
> at org.jboss.weld.el.AbstractWeldELResolver.getValue(AbstractWeldELResolver.java:113)
> at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
> at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:67)
> at org.apache.el.parser.AstValue.getValue(AstValue.java:115)
> at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187)
> at org.jboss.seam.solder.el.Expressions.evaluateValueExpression(Expressions.java:143)
> at org.jboss.seam.solder.el.Expressions.evaluateValueExpression(Expressions.java:185)
> at org.jboss.seam.solder.test.el.ElTest.testElResolver(ElTest.java:46)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Commented: (SOLDER-53) Seam Solder incontainer tests fail
by Dan Allen (JIRA)
[ https://issues.jboss.org/browse/SOLDER-53?page=com.atlassian.jira.plugin.... ]
Dan Allen commented on SOLDER-53:
---------------------------------
I'm still need to fix one other broken test, LoggerInjectionTest.
> Seam Solder incontainer tests fail
> ----------------------------------
>
> Key: SOLDER-53
> URL: https://issues.jboss.org/browse/SOLDER-53
> Project: Seam Solder
> Issue Type: Bug
> Components: Test Suite
> Reporter: Stuart Douglas
> Assignee: Dan Allen
> Fix For: 3.0.0.Beta1
>
>
> CoreTest fails with:
> testFullyQualifiedBeanNames(org.jboss.seam.solder.test.core.CoreTest) Time elapsed: 0 sec <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<0>
> ServiceHandlerTest fails with:
> org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [EchoDecorator] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.seam.solder.test.servicehandler.DecoratedEchoServiceHandler.decorator]
> DefaultBeanTest fails with:
> Deployment "vfs:///Users/stuart/nworkspace/solder-parent/impl/test.war_WeldBootstrapBean" is in error due to the following reason(s): org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [MagneticDrive] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.solder.test.defaultbean.DefaultBeanTest.magneticDrive], **ERROR**
> ElTest fails with:
> java.util.EmptyStackException
> at java.util.Stack.peek(Stack.java:85)
> at org.jboss.weld.el.AbstractWeldELResolver.lookup(AbstractWeldELResolver.java:147)
> at org.jboss.weld.el.AbstractWeldELResolver.getValue(AbstractWeldELResolver.java:113)
> at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
> at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:67)
> at org.apache.el.parser.AstValue.getValue(AstValue.java:115)
> at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187)
> at org.jboss.seam.solder.el.Expressions.evaluateValueExpression(Expressions.java:143)
> at org.jboss.seam.solder.el.Expressions.evaluateValueExpression(Expressions.java:185)
> at org.jboss.seam.solder.test.el.ElTest.testElResolver(ElTest.java:46)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Commented: (SOLDER-53) Seam Solder incontainer tests fail
by Dan Allen (JIRA)
[ https://issues.jboss.org/browse/SOLDER-53?page=com.atlassian.jira.plugin.... ]
Dan Allen commented on SOLDER-53:
---------------------------------
Applied fix.
> Seam Solder incontainer tests fail
> ----------------------------------
>
> Key: SOLDER-53
> URL: https://issues.jboss.org/browse/SOLDER-53
> Project: Seam Solder
> Issue Type: Bug
> Components: Test Suite
> Reporter: Stuart Douglas
> Assignee: Dan Allen
> Fix For: 3.0.0.Beta1
>
>
> CoreTest fails with:
> testFullyQualifiedBeanNames(org.jboss.seam.solder.test.core.CoreTest) Time elapsed: 0 sec <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<0>
> ServiceHandlerTest fails with:
> org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [EchoDecorator] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.seam.solder.test.servicehandler.DecoratedEchoServiceHandler.decorator]
> DefaultBeanTest fails with:
> Deployment "vfs:///Users/stuart/nworkspace/solder-parent/impl/test.war_WeldBootstrapBean" is in error due to the following reason(s): org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [MagneticDrive] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.solder.test.defaultbean.DefaultBeanTest.magneticDrive], **ERROR**
> ElTest fails with:
> java.util.EmptyStackException
> at java.util.Stack.peek(Stack.java:85)
> at org.jboss.weld.el.AbstractWeldELResolver.lookup(AbstractWeldELResolver.java:147)
> at org.jboss.weld.el.AbstractWeldELResolver.getValue(AbstractWeldELResolver.java:113)
> at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
> at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:67)
> at org.apache.el.parser.AstValue.getValue(AstValue.java:115)
> at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187)
> at org.jboss.seam.solder.el.Expressions.evaluateValueExpression(Expressions.java:143)
> at org.jboss.seam.solder.el.Expressions.evaluateValueExpression(Expressions.java:185)
> at org.jboss.seam.solder.test.el.ElTest.testElResolver(ElTest.java:46)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBSEAM-4749) Custom DeploymentHandler in Seam 3
by Daniel Zwicker (JIRA)
Custom DeploymentHandler in Seam 3
----------------------------------
Key: JBSEAM-4749
URL: https://issues.jboss.org/browse/JBSEAM-4749
Project: Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 3.0.0.BETA1
Environment: none
Reporter: Daniel Zwicker
Port the DeployHandler feature from seam 2.2 to seam 3.0 so it is possible again to scan the war root for a file pattern (e.g. *.template.xsl) a process these files by the handler.
To configure a new DeployHandler the JAR Service Provider facility can be used to replace seam-deployment.properties file used in seam 2.2.
A hotdeployment would be a nice add-on
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months