[JBoss JIRA] Created: (RF-10585) Action Listener can't be invoked from composite component in MyFaces
by Lukas Fryc (JIRA)
Action Listener can't be invoked from composite component in MyFaces
--------------------------------------------------------------------
Key: RF-10585
URL: https://issues.jboss.org/browse/RF-10585
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.0.0.CR1
Environment: * RichFaces 4.0.0-SNAPSHOT r.21803
* Metamer 4.0.0-SNAPSHOT r.21859
* Apache MyFaces JSF-2.0 Core Impl 2.0.4
* JBoss AS 6.0.0.Final
* OpenJDK Runtime Environment 1.6.0_20-b20 @Linux
* Firefox 3.6.13 @ Linux x86_64
Reporter: Lukas Fryc
<demo:actionComposite id="invokeFromCCButton" render="messages" value="Invoke listener method in composite component">
<a4j:actionListener for="button" listener="#{a4jActionListenerBean.handleActionMethodComposite}" />
</demo:actionComposite>
<composite:implementation>
<h:commandButton id="button" value="#{cc.attrs.value}">
<composite:insertChildren />
<a4j:ajax render="#{cc.attrs.render}" execute="#{cc.attrs.execute}" />
</h:commandButton>
</composite:implementation>
public void handleActionMethodComposite(ActionEvent event) throws AbortProcessingException {
addFacesMessage("Method expression listener called from composite component");
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] Moved: (RF-11156) a4j:push Performance problem in CDI sample of push in showcase
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11156?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč moved RFPL-1542 to RF-11156:
---------------------------------------
Project: RichFaces (was: RichFaces Planning)
Key: RF-11156 (was: RFPL-1542)
Workflow: GIT Pull Request workflow (was: jira)
Affects Version/s: 4.1.0.Milestone1
(was: 4.1.0.Milestone1)
Component/s: examples
(was: examples)
Fix Version/s: 4.1.0.Milestone1
(was: 4.1.0.Milestone1)
> a4j:push Performance problem in CDI sample of push in showcase
> --------------------------------------------------------------
>
> Key: RF-11156
> URL: https://issues.jboss.org/browse/RF-11156
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Affects Versions: 4.1.0.Milestone1
> Environment: richfaces-showcase 4.1.0-Snapshot, containers - JBoss AS 6 and 7
> Reporter: Juraj Huska
> Assignee: Lukáš Fryč
> Fix For: 4.1.0.Milestone1
>
>
> When there is more than 5 consumers windows, it causes performance problems(take up to 20 seconds to render message on consumer), at least from the beginning, after some messsages like 3-4 the performance is improved on AS 7.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] Moved: (RF-11155) a4j:push In CDI Push sample java.lang.IllegalStateException is thrown randomly and also firebug shows error: abordingConnection is not defined
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11155?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč moved RFPL-1543 to RF-11155:
---------------------------------------
Project: RichFaces (was: RichFaces Planning)
Key: RF-11155 (was: RFPL-1543)
Workflow: GIT Pull Request workflow (was: jira)
Affects Version/s: 4.1.0.Milestone1
(was: 4.1.0.Milestone1)
Component/s: examples
(was: examples)
Fix Version/s: 4.1.0.Milestone1
(was: 4.1.0.Milestone1)
> a4j:push In CDI Push sample java.lang.IllegalStateException is thrown randomly and also firebug shows error: abordingConnection is not defined
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-11155
> URL: https://issues.jboss.org/browse/RF-11155
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Affects Versions: 4.1.0.Milestone1
> Environment: richfaces-showcase 4.1.0-Snapshot, containers JBoss AS 6, 7, browsers firefox 3.6, Chrome 12
> Reporter: Juraj Huska
> Assignee: Lukáš Fryč
> Fix For: 4.1.0.Milestone1
>
>
> After while an exception is thrown, it is generated randomly, I notice this exception after some time spent with invoking new consumers, closing some of them, and sending messages to them.
> {code}
> The exception is:
> 13:19:10,997 SEVERE [org.atmosphere.handler.ReflectorServletProcessor] (http-localhost.localdomain-127.0.0.1-8080-2) onRequest(): java.lang.RuntimeException: java.lang.IllegalStateException: Broadcaster ID already assigned to SCOPE.REQUEST. Cannot change the id
> at org.atmosphere.cpr.Meteor.build(Meteor.java:158) [atmosphere-runtime-0.7.1.jar:]
> at org.richfaces.webapp.PushHandlerFilter.doFilter(PushHandlerFilter.java:76) [richfaces-core-impl-4.1.0-20110713.100430-59.jar:]
> at org.atmosphere.util.AtmosphereFilterChain.doFilter(AtmosphereFilterChain.java:139) [atmosphere-runtime-0.7.1.jar:]
> at org.atmosphere.util.AtmosphereFilterChain.invokeFilterChain(AtmosphereFilterChain.java:116) [atmosphere-runtime-0.7.1.jar:]
> at org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWrapper.service(ReflectorServletProcessor.java:294) [atmosphere-runtime-0.7.1.jar:]
> at org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServletProcessor.java:152) [atmosphere-runtime-0.7.1.jar:]
> at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:191) [atmosphere-runtime-0.7.1.jar:]
> at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:142) [atmosphere-runtime-0.7.1.jar:]
> at org.atmosphere.container.BlockingIOCometSupport.service(BlockingIOCometSupport.java:91) [atmosphere-runtime-0.7.1.jar:]
> at org.atmosphere.cpr.AtmosphereServlet.doCometSupport(AtmosphereServlet.java:1185) [atmosphere-runtime-0.7.1.jar:]
> at org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:1167) [atmosphere-runtime-0.7.1.jar:]
> at org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:1153) [atmosphere-runtime-0.7.1.jar:]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
> at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.0.Final.jar:7.0.0.Final]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49) [jboss-as-jpa-7.0.0.Final.jar:7.0.0.Final]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]
> at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
> Caused by: java.lang.IllegalStateException: Broadcaster ID already assigned to SCOPE.REQUEST. Cannot change the id
> at org.atmosphere.cpr.DefaultBroadcaster.setID(DefaultBroadcaster.java:198) [atmosphere-runtime-0.7.1.jar:]
> at org.atmosphere.cpr.DefaultBroadcaster.<init>(DefaultBroadcaster.java:109) [atmosphere-runtime-0.7.1.jar:]
> at org.atmosphere.cpr.DefaultBroadcaster.<init>(DefaultBroadcaster.java:102) [atmosphere-runtime-0.7.1.jar:]
> at sun.reflect.GeneratedConstructorAccessor50.newInstance(Unknown Source) [:1.6.0_22]
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_22]
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_22]
> at java.lang.Class.newInstance0(Class.java:355) [:1.6.0_22]
> at java.lang.Class.newInstance(Class.java:308) [:1.6.0_22]
> at org.atmosphere.cpr.DefaultBroadcasterFactory.get(DefaultBroadcasterFactory.java:125) [atmosphere-runtime-0.7.1.jar:]
> at org.atmosphere.cpr.Meteor.build(Meteor.java:156) [atmosphere-runtime-0.7.1.jar:]
> ... 30 more
> {code}
> There is also an error showed by firebug when any of the consumer window is closed.
> The error is: abordingConnection is not defined
> {code}
> if (abordingConnection) return;
> and code line is 182 in jquery-atmosphere.js
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] Moved: (RF-11153) Text exceeds edges of consumer window in CDI sample for aj4:push in showcase
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11153?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč moved RFPL-1569 to RF-11153:
---------------------------------------
Project: RichFaces (was: RichFaces Planning)
Key: RF-11153 (was: RFPL-1569)
Workflow: GIT Pull Request workflow (was: jira)
Affects Version/s: 4.1.0.Milestone1
(was: 4.1.0.Milestone1)
Component/s: examples
(was: examples)
Fix Version/s: 4.1.0.Milestone1
(was: 4.1.0.Milestone1)
> Text exceeds edges of consumer window in CDI sample for aj4:push in showcase
> ----------------------------------------------------------------------------
>
> Key: RF-11153
> URL: https://issues.jboss.org/browse/RF-11153
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Affects Versions: 4.1.0.Milestone1
> Environment: richfaces-showcase-4.1.0-SNAPSHOT
> Reporter: Juraj Huska
> Assignee: Lukáš Fryč
> Fix For: 4.1.0.Milestone1
>
> Attachments: firstWrong.png, secondWrong.png
>
>
> When the message which is pushed to consumers is too long, like 50 characters and more, than the output on consumers window looks quite ugly, since the message exceeds the white part of the page. The solution would be either to enlarge the white part, or to make a restriction about size of message to for example 40 chars.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] Moved: (RF-11154) JMS connection is left opened in showcase JMSMessageProducer.java on JBoss AS 7
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11154?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč moved RFPL-1568 to RF-11154:
---------------------------------------
Project: RichFaces (was: RichFaces Planning)
Key: RF-11154 (was: RFPL-1568)
Workflow: GIT Pull Request workflow (was: jira)
Affects Version/s: 4.1.0.Milestone1
(was: 4.1.0.Milestone1)
Component/s: examples
(was: examples)
Fix Version/s: 4.1.0.Milestone1
(was: 4.1.0.Milestone1)
> JMS connection is left opened in showcase JMSMessageProducer.java on JBoss AS 7
> -------------------------------------------------------------------------------
>
> Key: RF-11154
> URL: https://issues.jboss.org/browse/RF-11154
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Affects Versions: 4.1.0.Milestone1
> Environment: richfaces-showcase 4.1.0.-SNAPSHOT, container JBoss AS 7.0.0.Final
> Reporter: Juraj Huska
> Assignee: Lukáš Fryč
> Fix For: 4.1.0.Milestone1
>
>
> When I am deploying showcase multiple times during running test suite(this multiple deployment is needed in Arquillian, since for every test class is application deployed again), I am encountering with java.lang.OutOfMemoryError: PermGen space error which in my opinion caused by this:
> {code}
> WARN [org.hornetq.jms.client.HornetQConnection] (Finalizer) I'm closing a JMS connection you left open. Please make sure you close all JMS connections explicitly before letting them go out of scope!
> 13:03:33,712 WARN [org.hornetq.jms.client.HornetQConnection] (Finalizer) The JMS connection you didn't close was created here:: java.lang.Exception
> at org.hornetq.jms.client.HornetQConnection.<init>(HornetQConnection.java:152)
> at org.hornetq.jms.client.HornetQTopicConnection.<init>(HornetQTopicConnection.java:35)
> at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:682)
> at org.hornetq.jms.client.HornetQConnectionFactory.createTopicConnection(HornetQConnectionFactory.java:145)
> at org.hornetq.jms.client.HornetQConnectionFactory.createTopicConnection(HornetQConnectionFactory.java:140)
> at org.richfaces.demo.push.JMSMessageProducer.initializeMessaging(JMSMessageProducer.java:86)
> at org.richfaces.demo.push.JMSMessageProducer.sendMessage(JMSMessageProducer.java:66)
> at org.richfaces.demo.push.MessageProducerRunnable.run(MessageProducerRunnable.java:57)
> at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
> {code}
> When I am deploying showcase.war which is without Push example(4.0.0.Final), so no JMS communication is opened, no Perm Gen error is thrown.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months