[JBoss JIRA] (RF-12502) rich:Calendar fix VDL-doc of @value, @currentDate, @testPreloadDateRangeBegin and @testPreloadDateRangeEnd
by Jiří Štefek (JIRA)
Jiří Štefek created RF-12502:
--------------------------------
Summary: rich:Calendar fix VDL-doc of @value, @currentDate, @testPreloadDateRangeBegin and @testPreloadDateRangeEnd
Key: RF-12502
URL: https://issues.jboss.org/browse/RF-12502
Project: RichFaces
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Jiří Štefek
Priority: Trivial
* @currentDate: Defines the current date --> Defines the current month and year to be focused on. Must be formatted as calendar @datePattern.
* @testPreloadDateRangeBegin and @testPreloadDateRangeEnd : shouldn't it be vice versa? + Must be formatted as calendar @datePattern.
* @value: + Must be formatted as calendar @datePattern.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (RF-11983) Showcase: CDI push sample doesn't work
by Jan Papousek (JIRA)
Jan Papousek created RF-11983:
---------------------------------
Summary: Showcase: CDI push sample doesn't work
Key: RF-11983
URL: https://issues.jboss.org/browse/RF-11983
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.0.Final
Environment: JBoos AS 7.0.2.Final / JBoss AS 7.1.0.Final and Firefox 8.0
Reporter: Jan Papousek
{code:title=JBoss AS 7.1.0.Final}
13:13:03,702 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/showcase].[Faces Servlet]] (http--127.0.0.1-8080-1) Servlet.service() for servlet Faces Servlet threw exception: com.google.common.collect.ComputationException: javax.faces.FacesException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:397) [guava-10.0.1.jar:]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl.createTopic(JMSTopicsContextImpl.java:281) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48) [richfaces-core-api-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.application.push.impl.SessionImpl.createSubscriptions(SessionImpl.java:182) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.application.push.impl.SessionImpl.subscribe(SessionImpl.java:177) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.resource.PushResource.encode(PushResource.java:88) [richfaces-components-ui-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.resource.UserResourceWrapperImpl.encode(UserResourceWrapperImpl.java:188) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:222) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:591) [jboss-jsf-api_2.1_spec-2.0.0.Final.jar:2.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:]
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.10.Final.jar:]
at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.0.Final.jar:7.1.0.Final]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.10.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.10.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.10.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.10.Final.jar:]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_22]
Caused by: javax.faces.FacesException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393) [guava-10.0.1.jar:]
... 25 more
Caused by: javax.naming.NameNotFoundException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:177)
at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:113)
at javax.naming.InitialContext.lookup(InitialContext.java:396) [rt.jar:1.6.0_22]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.createConnection(JMSTopicsContextImpl.java:98) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:123) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
... 31 more
13:13:04,263 SEVERE [org.richfaces.demo.push.MessageProducerRunnable] (MessageProducerThread) javax.faces.FacesException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory: com.google.common.collect.ComputationException: javax.faces.FacesException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:397) [guava-10.0.1.jar:]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl.createTopic(JMSTopicsContextImpl.java:281) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48) [richfaces-core-api-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.application.push.TopicsContext.publish(TopicsContext.java:69) [richfaces-core-api-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.demo.push.TopicsContextMessageProducer.sendMessage(TopicsContextMessageProducer.java:46) [classes:]
at org.richfaces.demo.push.MessageProducerRunnable.run(MessageProducerRunnable.java:57) [classes:]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_22]
Caused by: javax.faces.FacesException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393) [guava-10.0.1.jar:]
... 6 more
Caused by: javax.naming.NameNotFoundException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:177)
at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:113)
at javax.naming.InitialContext.lookup(InitialContext.java:396) [rt.jar:1.6.0_22]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.createConnection(JMSTopicsContextImpl.java:98) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:123) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
... 12 more
{code}
{code:title=JBoss AS 7.0.2.Final}
13:16:26,372 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http--0%3A0%3A0%3A0%3A0%3A0%3A0%3A0-8080-5) #{pushBean.sendMessage}: com.google.common.collect.ComputationException: javax.faces.FacesException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory: javax.faces.FacesException: #{pushBean.sendMessage}: com.google.common.collect.ComputationException: javax.faces.FacesException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at javax.faces.component.UICommand.broadcast(UICommand.java:315) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.execute(PersistenceLifecycle.java:58) [classes:]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49) [jboss-as-jpa-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
Caused by: javax.faces.el.EvaluationException: com.google.common.collect.ComputationException: javax.faces.FacesException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
... 26 more
Caused by: com.google.common.collect.ComputationException: javax.faces.FacesException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:397) [guava-10.0.1.jar:]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl.createTopic(JMSTopicsContextImpl.java:281) [richfaces-core-impl-4.2.0.Final.jar:]
at org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48) [richfaces-core-api-4.2.0.Final.jar:]
at org.richfaces.application.push.TopicsContext.publish(TopicsContext.java:69) [richfaces-core-api-4.2.0.Final.jar:]
at org.richfaces.application.push.TopicsContext$Proxy$_$$_WeldClientProxy.publish(TopicsContext$Proxy$_$$_WeldClientProxy.java) [richfaces-core-api-4.2.0.Final.jar:]
at org.richfaces.cdi.push.PushCDIExtension$PushObserverMethod.notify(PushCDIExtension.java:144) [richfaces-core-impl-4.2.0.Final.jar:]
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:628) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.richfaces.demo.push.PushBean.sendMessage(PushBean.java:65) [classes:]
at org.richfaces.demo.push.PushBean$Proxy$_$$_WeldClientProxy.sendMessage(PushBean$Proxy$_$$_WeldClientProxy.java) [classes:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]
at org.apache.el.parser.AstValue.invoke(AstValue.java:196) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
... 27 more
Caused by: javax.faces.FacesException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207) [richfaces-core-impl-4.2.0.Final.jar:]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195) [richfaces-core-impl-4.2.0.Final.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393) [guava-10.0.1.jar:]
... 47 more
Caused by: javax.naming.NameNotFoundException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:87)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:173)
at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:47)
at javax.naming.InitialContext.lookup(InitialContext.java:396) [:1.6.0_22]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.createConnection(JMSTopicsContextImpl.java:98) [richfaces-core-impl-4.2.0.Final.jar:]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:123) [richfaces-core-impl-4.2.0.Final.jar:]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199) [richfaces-core-impl-4.2.0.Final.jar:]
... 53 more
13:16:28,949 SEVERE [org.richfaces.demo.push.MessageProducerRunnable] (MessageProducerThread) javax.faces.FacesException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory: com.google.common.collect.ComputationException: javax.faces.FacesException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:397) [guava-10.0.1.jar:]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl.createTopic(JMSTopicsContextImpl.java:281) [richfaces-core-impl-4.2.0.Final.jar:]
at org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48) [richfaces-core-api-4.2.0.Final.jar:]
at org.richfaces.application.push.TopicsContext.publish(TopicsContext.java:69) [richfaces-core-api-4.2.0.Final.jar:]
at org.richfaces.demo.push.TopicsContextMessageProducer.sendMessage(TopicsContextMessageProducer.java:46) [classes:]
at org.richfaces.demo.push.MessageProducerRunnable.run(MessageProducerRunnable.java:57) [classes:]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
Caused by: javax.faces.FacesException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207) [richfaces-core-impl-4.2.0.Final.jar:]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195) [richfaces-core-impl-4.2.0.Final.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69) [guava-10.0.1.jar:]
at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393) [guava-10.0.1.jar:]
... 6 more
Caused by: javax.naming.NameNotFoundException: ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:87)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:173)
at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:47)
at javax.naming.InitialContext.lookup(InitialContext.java:396) [:1.6.0_22]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.createConnection(JMSTopicsContextImpl.java:98) [richfaces-core-impl-4.2.0.Final.jar:]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:123) [richfaces-core-impl-4.2.0.Final.jar:]
at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199) [richfaces-core-impl-4.2.0.Final.jar:]
... 12 more
{code}
--
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
12 years
[JBoss JIRA] (RF-12496) Popup decreasing
by Artur Mioduszewski (JIRA)
Artur Mioduszewski created RF-12496:
---------------------------------------
Summary: Popup decreasing
Key: RF-12496
URL: https://issues.jboss.org/browse/RF-12496
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: component-panels-layout-themes
Affects Versions: 4.2.2.Final
Environment: JDK1.7,
JBoss 7.1.1.Final,
richfaces 4.2.2.Final
Chrome : 21.0.1180.89 m
Reporter: Artur Mioduszewski
Attachments: popupDisappears.jpg
Problem depens of window quantity. ( CTRL + mouse Scroll up or down -this shortcup increase or decrease a window)
Problem appears with decreasing in every second position:
position 0 - bug does not exist
position -1 - bug exists
position -2 - bug does not exist
position -3 - bug exists
In above described conditions, if we keep popup with mouse cursor and start moving it (left-right or arround), popups decreases and decrease until almost disappears.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (RF-12523) a4j:commandButton generates duplicated context path using a resource value expression within image attribute
by Andreas Owczarek (JIRA)
Andreas Owczarek created RF-12523:
-------------------------------------
Summary: a4j:commandButton generates duplicated context path using a resource value expression within image attribute
Key: RF-12523
URL: https://issues.jboss.org/browse/RF-12523
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: base functionality , component, component-a4j-core
Affects Versions: 4.3.0.Milestone1, 4.2.2.Final
Environment: JBoss AS 6.1.0.Final, Mojarra 2.1.7
Reporter: Andreas Owczarek
a4j:commandButton produces an extra context path prefix for the image resource path, when it is used with the value expression {code}#{resource['library:file']}{code} for the image attribute.
{code:xml|title=Example code}
<a4j:commandButton image="#{resource['icons:icon.gif']}" value="#{resource['icons:icon.gif']}"/>
{code}
{code:xml|title=Generated Result code}
<input type="image" alt="/com.example.my.context.path/faces/javax.faces.resource/icon.gif?ln=icons" src="/com.example.my.context.path/com.example.my.context.path/faces/javax.faces.resource/icon.gif?ln=icons" value="/com.example.my.context.path/faces/javax.faces.resource/icon.gif?ln=icons" onclick="RichFaces.ajax("j_idt76",event,{"incId":"1"} );return false;" name="j_idt76" id="j_idt76">
{code}
The generated code show the correct value for the expression within the generated button label, but the image could not be located correctly because of the wrong generated image resource path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (RF-12579) a4:status - out of memory with Jsf ui:debug tag under IE and time to time FireFox
by Jean ANDRE (JIRA)
Jean ANDRE created RF-12579:
-------------------------------
Summary: a4:status - out of memory with Jsf ui:debug tag under IE and time to time FireFox
Key: RF-12579
URL: https://issues.jboss.org/browse/RF-12579
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.3.Final
Environment: aspectjrt-1.6.12 - bcprov-jdk14-127 - cglib-nodep-2.2.2 - cssparser-0.9.6 - guava-11.0.2 - hibernate-validator-4.2.0 - javax.faces-2.1.13 - junit-4.10 - log4j-1.2.16 - org.springframework.* -3.0.6.RELEASE - sac-1.3.jar - slf4j-api-1.6.4 - slf4j-log4j12-1.6.4 - WAS8 - RAD
Reporter: Jean ANDRE
We have a form which triggers an ajax request - We also use the tag a4j:status to report status to the end-user on ajax request.
We also use the tag ui:debug to help us in debugging.
As so long the a4j:status is not called, everything is going well. However, when an ajax request is asked, we display a waiting message. When we return back to the form, any key triggers a popup panel displaying the message "out-of memory".
Removing the jsf tag ui:debug, solve the problem.
Then, it seems that the a4j:status is conflicting with the jsf tag ui:debug.
Under IE, the error is reported as following at the function faceletsDebug, line 317.
{code}
function faceletsDebug(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=600,left = 240,top = 212');"); };var faceletsOrigKeyup = document.onkeyup; document.onkeyup = function(e) { if (window.event) e = window.event; if (String.fromCharCode(e.keyCode) == 'D' & e.shiftKey & e.ctrlKey) faceletsDebug('/NestedWeb/pages/index.jsf?facelets.ui.DebugOutput=1351537421561'); else if (faceletsOrigKeyup) faceletsOrigKeyup(e); };
//]]>
</script>
{code}
The page we use as template is as following
{code}
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
<f:view locale="#{currentUser.locale}">
<h:head>
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="private" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="en, fr" />
<title><ui:insert name="title"><h:outputText value="#{msg['common.label.application.title']}"/></ui:insert></title>
<link type="text/css" rel="stylesheet" href="#{webApplicationUtil.baseURL}css/nested.css" />
<script type="text/javascript">//<![CDATA[
function isWindows() {
var ua = navigator.userAgent;
var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
return (re.exec(ua) != null);
}
function stopPropagation(event) {
if (isWindows()) {
window.event.cancelBubble = true;
} else {
event.stopPropagation();
}
}
//]]></script>
</h:head>
<h:body>
<!-- -->
<!-- RF 11694 workaround -->
<!-- JSF JAVASERVERFACES-2016 -->
<!-- -->
<h:outputStylesheet id="datatableEcss" library="org.richfaces" name="datatable.ecss" />
<h:outputScript id="datatableJs" library="org.richfaces" name="datatable.js" />
<h:outputStylesheet library="org.richfaces" name="accordion.ecss" />
<h:outputScript library="org.richfaces" name="accordion.js" />
<h:outputScript library="org.richfaces" name="accordionItem.js" />
<div id="body" class="body-container">
<!-- -->
<!-- H E A D E R -->
<!-- -->
<div id="header" class="header-container">
<ui:insert name="header" />
</div>
<!-- -->
<!-- B O D Y -->
<!-- -->
<div id="content" class="content">
<!-- -->
<!-- STATUS -->
<!-- -->
<a4j:status id="ajax-status"
name="ajaxStatus"
onstart="#{rich:component('messageWaiter')}.show()"
onstop="#{rich:component('messageWaiter')}.hide()"
onerror="#{rich:component('errorReporter')}.show()" />
<!-- -->
<!-- WAITER MESSAGE -->
<!-- -->
<rich:popupPanel id="messageWaiter"
modal="false"
autosized="true"
resizeable="false"
shadowDepth="3"
shadowOpacity="2"
top="250">
Please wait...
</rich:popupPanel>
<!-- -->
<!-- ERROR REPORTER -->
<!-- -->
<rich:popupPanel id="errorReporter"
modal="true"
autosized="true"
resizeable="false"
shadowDepth="3"
shadowOpacity="2"
top="250">
<f:facet name="header">
<h:outputText value="#{msg['error.application.title']}" />
</f:facet>
<a4j:outputPanel layout="block">
<p>
<h:outputText value="#{msg['error.application.message']}" />
</p>
<a4j:outputPanel styleClass="right-align" layout="block">
<!-- -->
<!-- CLOSE CMD -->
<!-- -->
<h:outputLink id="errorCloseCmd" value="#{request.contextPath}/">
<h:outputText value="#{msg['common.command.close']}" />
</h:outputLink>
</a4j:outputPanel>
</a4j:outputPanel>
</rich:popupPanel>
<!-- -->
<!-- APPLICATION CONTENT -->
<!-- -->
<ui:insert name="content" />
</div>
<!-- -->
<!-- F O O T E R -->
<!-- -->
<ui:insert name="footer" />
<p>Debug is activated...SHIFT+CTRL+d</p>
<ui:debug />
</div>
</h:body>
</f:view>
</html>
{code}
The caller is "petty standard":
{code}
<!-- -->
<!-- NEW LIST -->
<!-- -->
<a4j:commandButton id="newListCmd"
value="#{msg['common.command.new.list']}"
action="#{panelOneController.doNewList}"
render="desktopTabs,menuOpenedTabs"
status="ajaxStatus" />
{code}
Note also that the ui:debug has an issue:
ui:debug markup update causes JS infinite recursive loop
- http://java.net/jira/browse/JAVASERVERFACES-1855
- http://java.net/jira/browse/JAVASERVERFACES-2426
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (RF-12358) I have calendar component in my jsf page , when i am moving to another page and revisiting iam getting javafaces.ui.calendar is null or undefined Error
by Mahendher M (JIRA)
Mahendher M created RF-12358:
--------------------------------
Summary: I have calendar component in my jsf page , when i am moving to another page and revisiting iam getting javafaces.ui.calendar is null or undefined Error
Key: RF-12358
URL: https://issues.jboss.org/browse/RF-12358
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: component
Affects Versions: 4.2.2.Final
Reporter: Mahendher M
This is working fine at first time but if i click any button in the page and coming back to this page the calendar button is diabling and im able to see the error richfaces.ui.calender is null or undefined
<f:facet name="footer">
<rich:calendar id="activ_date" popup="#{true}" mode="ajax"
value="#{listBean.activDate}" datePattern="dd/MM/yyyy hh:mm a"
>
</rich:calendar>
</f:facet>
root cause of the problem is when the page is revisited
<script type="text/javascript" src="/myproject/javax.faces.resource/richfaces-base-component.js.jsf"></script>
<script type="text/javascript" src="/myproject/javax.faces.resource/jquery.position.js.jsf"></script>
<script type="text/javascript" src="/myproject/javax.faces.resource/richfaces-event.js.jsf"></script>
<script type="text/javascript" src="/myproject/javax.faces.resource/json-dom.js.jsf?ln=org.richfaces"></script>
<script type="text/javascript" src="/myproject/javax.faces.resource/jquery.effects.core.js.jsf?ln=org.richfaces"></script>
<script type="text/javascript" src="/myproject/javax.faces.resource/jquery.effects.highlight.js.jsf?ln=org.richfaces"></script>
<script type="text/javascript" src="/myproject/javax.faces.resource/JQuerySpinBtn.js.jsf?ln=org.richfaces"></script>
<script type="text/javascript" src="/myproject/javax.faces.resource/calendar-utils.js.jsf?ln=org.richfaces"></script>
<script type="text/javascript" src="/myproject/javax.faces.resource/calendar.js.jsf?ln=org.richfaces"></script>
<link type="text/css" rel="stylesheet" href="/myproject/rfRes/calendar.ecss.jsf?db=eAG7mShzEgAFjAIg&ln=org.richfaces" />
these javascripts are not loading
--
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
12 years
[JBoss JIRA] (RF-12460) RF-11138 Tree does not invoke selectionChangeListener in popupPanel with 4.2.0 final also
by venkat kavali (JIRA)
venkat kavali created RF-12460:
----------------------------------
Summary: RF-11138 Tree does not invoke selectionChangeListener in popupPanel with 4.2.0 final also
Key: RF-12460
URL: https://issues.jboss.org/browse/RF-12460
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: examples
Affects Versions: 4.2.0.Final
Reporter: venkat kavali
Rich Tree working fine below source code. But same code applied in Popup panel, unable to get selected Item. Popup div also within same form.
Working Fine below code
<rich:tree value="#{typeList.root}" var="node" render="label2 label3"
selection="#{typeList.selectedNodes}" id="treeMul"
ajaxSubmitSelection="true" selectionType="ajax">
<rich:treeNode>
<h:outputText value="#{node}" />
</rich:treeNode>
</rich:tree>
Problem Here
<rich:popupPanel id="popup" modal="true" autosized="true"
resizeable="false" overlapEmbedObjects="true">
<f:facet name="header">
<h:outputText value="Tree View" />
</f:facet>
<f:facet name="controls">
<h:outputLink value="#"
onclick="#{rich:component('popup')}.hide(); return false;">X</h:outputLink>
</f:facet>
<rich:tree value="#{typeList.root}" var="node" render="label2 label3"
selection="#{typeList.selectedNodes}" id="treeMul"
ajaxSubmitSelection="true" selectionType="ajax">
<rich:treeNode>
<h:outputText value="#{node}" />
</rich:treeNode>
</rich:tree>
<rich:popupPanel
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (RF-12322) JQuery plugins can't be used properly with richfaces - even with resource mapping.
by Dev S (JIRA)
Dev S created RF-12322:
--------------------------
Summary: JQuery plugins can't be used properly with richfaces - even with resource mapping.
Key: RF-12322
URL: https://issues.jboss.org/browse/RF-12322
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: resource handling
Affects Versions: 4.2.2.Final
Environment: JBoss 7.1.0, Firefox
Reporter: Dev S
Attachments: rf-conflict.xhtml
I'm loading my own verison of JQuery in a template file. So it's available in all the pages of my website.
In addition, JQuery plugins are also registered in the same template file. These plugins work fine when none of richfaces components are used, but with any richfaces component, none of these loaded plugins work. Reason being, richfaces loads Jquery again and it wipes all the earlier plugins.
I tried by using resource mapping and was able to successfully load same version of Jquery from same URL. But it still overrides my plugins.
Work around does exist. See below. But this workaround depend on internal logic of richfaces which can be changed in future.
So richfaces should provide a configuration file or some other method by which resource loading can be blocked for some resources.
--
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
12 years