[JBoss JIRA] Created: (RFPL-1542) a4j:push Performance problem in CDI sample of push in showcase
by Juraj Huska (JIRA)
a4j:push Performance problem in CDI sample of push in showcase
--------------------------------------------------------------
Key: RFPL-1542
URL: https://issues.jboss.org/browse/RFPL-1542
Project: RichFaces Planning
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
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
12 years, 9 months
[JBoss JIRA] Created: (RFPL-1569) Text exceeds edges of consumer window in CDI sample for aj4:push in showcase
by Juraj Huska (JIRA)
Text exceeds edges of consumer window in CDI sample for aj4:push in showcase
----------------------------------------------------------------------------
Key: RFPL-1569
URL: https://issues.jboss.org/browse/RFPL-1569
Project: RichFaces Planning
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
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
12 years, 9 months
[JBoss JIRA] Created: (RFPL-1568) JMS connection is left opened in showcase JMSMessageProducer.java on JBoss AS 7
by Juraj Huska (JIRA)
JMS connection is left opened in showcase JMSMessageProducer.java on JBoss AS 7
-------------------------------------------------------------------------------
Key: RFPL-1568
URL: https://issues.jboss.org/browse/RFPL-1568
Project: RichFaces Planning
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
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:
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]
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
12 years, 9 months
[JBoss JIRA] Created: (RFPL-1543) a4j:push In CDI Push sample java.lang.IllegalStateException is thrown randomly and also firebug shows error: abordingConnection is not defined
by Juraj Huska (JIRA)
a4j:push In CDI Push sample java.lang.IllegalStateException is thrown randomly and also firebug shows error: abordingConnection is not defined
----------------------------------------------------------------------------------------------------------------------------------------------
Key: RFPL-1543
URL: https://issues.jboss.org/browse/RFPL-1543
Project: RichFaces Planning
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
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.
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
There is also an error showed by firebug when any of the consumer window is closed.
The error is: abordingConnection is not defined
if (abordingConnection) return;
and code line is 182 in jquery-atmosphere.js
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months