[richfaces-issues] [JBoss JIRA] (RF-11560) Showcase on OpenShift Express: Push stops to work after first long-polling request

Jan Papousek (Commented) (JIRA) jira-events at lists.jboss.org
Wed Oct 19 08:36:45 EDT 2011


    [ https://issues.jboss.org/browse/RF-11560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635756#comment-12635756 ] 

Jan Papousek commented on RF-11560:
-----------------------------------

After deploying Showcase on OpenShift Express, I have the following stack trace in log:

{code}
08:25:37,399 ERROR [stderr] (RegisterTopicThread) Exception in thread "RegisterTopicThread" com.google.common.collect.ComputationException: javax.faces.FacesException: Name 'ConnectionFactory' not found in context ''
08:25:37,401 ERROR [stderr] (RegisterTopicThread) Exception in thread "RegisterTopicThread" Exception in thread "RegisterTopicThread" 	at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:167)
08:25:37,402 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)
08:25:37,402 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)
08:25:37,402 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)
08:25:37,403 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl.createTopic(JMSTopicsContextImpl.java:281)
08:25:37,403 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48)
08:25:37,403 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.demo.push.TopicsInitializer$RegisterTopicThread$1.run(TopicsInitializer.java:73)
08:25:37,404 ERROR [stderr] (RegisterTopicThread) 	at java.lang.Thread.run(Thread.java:636)
08:25:37,404 ERROR [stderr] (RegisterTopicThread) Caused by: javax.faces.FacesException: Name 'ConnectionFactory' not found in context ''
08:25:37,404 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207)
08:25:37,405 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195)
08:25:37,405 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:155)
08:25:37,405 ERROR [stderr] (RegisterTopicThread) 	... 7 more
08:25:37,406 ERROR [stderr] (RegisterTopicThread) Caused by: javax.naming.NameNotFoundException: Name 'ConnectionFactory' not found in context ''
08:25:37,406 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.util.NamingUtils.nameNotFoundException(NamingUtils.java:109)
08:25:37,406 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.InMemoryNamingStore$NodeTraversingVisitor.visit(InMemoryNamingStore.java:368)
08:25:37,407 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.InMemoryNamingStore$ContextNode.accept(InMemoryNamingStore.java:307)
08:25:37,407 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.InMemoryNamingStore.lookup(InMemoryNamingStore.java:162)
08:25:37,407 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:173)
08:25:37,407 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:47)
08:25:37,408 ERROR [stderr] (RegisterTopicThread) 	at javax.naming.InitialContext.lookup(InitialContext.java:413)
08:25:37,408 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.createConnection(JMSTopicsContextImpl.java:98)
08:25:37,408 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:123)
08:25:37,409 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199)
08:25:37,409 ERROR [stderr] (RegisterTopicThread) 	... 9 more
08:25:37,409 ERROR [stderr] (RegisterTopicThread) com.google.common.collect.ComputationException: javax.faces.FacesException: Name 'ConnectionFactory' not found in context ''
08:25:37,410 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:167)
08:25:37,410 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)
08:25:37,410 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)
08:25:37,410 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)
08:25:37,411 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl.createTopic(JMSTopicsContextImpl.java:281)
08:25:37,411 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48)
08:25:37,411 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.demo.push.TopicsInitializer$RegisterTopicThread$1.run(TopicsInitializer.java:73)
08:25:37,411 ERROR [stderr] (RegisterTopicThread) 	at java.lang.Thread.run(Thread.java:636)
08:25:37,411 ERROR [stderr] (RegisterTopicThread) Caused by: javax.faces.FacesException: Name 'ConnectionFactory' not found in context ''
08:25:37,412 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207)
08:25:37,412 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195)
08:25:37,412 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:155)
08:25:37,412 ERROR [stderr] (RegisterTopicThread) 	... 7 more
08:25:37,413 ERROR [stderr] (RegisterTopicThread) Caused by: javax.naming.NameNotFoundException: Name 'ConnectionFactory' not found in context ''
08:25:37,413 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.util.NamingUtils.nameNotFoundException(NamingUtils.java:109)
08:25:37,413 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.InMemoryNamingStore$NodeTraversingVisitor.visit(InMemoryNamingStore.java:368)
08:25:37,414 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.InMemoryNamingStore$ContextNode.accept(InMemoryNamingStore.java:307)
08:25:37,414 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.InMemoryNamingStore.lookup(InMemoryNamingStore.java:162)
08:25:37,414 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:173)
08:25:37,414 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:47)
08:25:37,415 ERROR [stderr] (RegisterTopicThread) 	at javax.naming.InitialContext.lookup(InitialContext.java:413)
08:25:37,420 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.createConnection(JMSTopicsContextImpl.java:98)
08:25:37,420 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:123)
08:25:37,421 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199)
08:25:37,423 ERROR [stderr] (RegisterTopicThread) 	... 9 more
08:25:37,423 ERROR [stderr] (RegisterTopicThread) com.google.common.collect.ComputationException: javax.faces.FacesException: Name 'ConnectionFactory' not found in context ''
08:25:37,424 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:167)
08:25:37,424 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)
08:25:37,424 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)
08:25:37,425 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)
08:25:37,425 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl.createTopic(JMSTopicsContextImpl.java:281)
08:25:37,425 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48)
08:25:37,426 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.demo.push.TopicsInitializer$RegisterTopicThread$1.run(TopicsInitializer.java:73)
08:25:37,426 ERROR [stderr] (RegisterTopicThread) 	at java.lang.Thread.run(Thread.java:636)
08:25:37,426 ERROR [stderr] (RegisterTopicThread) Caused by: javax.faces.FacesException: Name 'ConnectionFactory' not found in context ''
08:25:37,426 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207)
08:25:37,426 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195)
08:25:37,427 ERROR [stderr] (RegisterTopicThread) 	at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:155)
08:25:37,427 ERROR [stderr] (RegisterTopicThread) 	... 7 more
08:25:37,427 ERROR [stderr] (RegisterTopicThread) Caused by: javax.naming.NameNotFoundException: Name 'ConnectionFactory' not found in context ''
08:25:37,427 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.util.NamingUtils.nameNotFoundException(NamingUtils.java:109)
08:25:37,428 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.InMemoryNamingStore$NodeTraversingVisitor.visit(InMemoryNamingStore.java:368)
08:25:37,428 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.InMemoryNamingStore$ContextNode.accept(InMemoryNamingStore.java:307)
08:25:37,428 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.InMemoryNamingStore.lookup(InMemoryNamingStore.java:162)
08:25:37,428 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:173)
08:25:37,428 ERROR [stderr] (RegisterTopicThread) 	at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:47)
08:25:37,429 ERROR [stderr] (RegisterTopicThread) 	at javax.naming.InitialContext.lookup(InitialContext.java:413)
08:25:37,429 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.createConnection(JMSTopicsContextImpl.java:98)
08:25:37,429 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:123)
08:25:37,429 ERROR [stderr] (RegisterTopicThread) 	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199)
08:25:37,429 ERROR [stderr] (RegisterTopicThread) 	... 9 more
{code}
                
> Showcase on OpenShift Express: Push stops to work after first long-polling request
> ----------------------------------------------------------------------------------
>
>                 Key: RF-11560
>                 URL: https://issues.jboss.org/browse/RF-11560
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: showcase
>    Affects Versions: 4.1.0.Milestone3
>            Reporter: Lukáš Fryč
>            Assignee: Lukáš Fryč
>            Priority: Critical
>             Fix For: 4.1.0.Milestone4
>
>
> Both demos affected: TopicsContext and Push CDI. 

--
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

       



More information about the richfaces-issues mailing list