Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-11965

showcase - a4j:push - error thrown after creating topic for pushCdi

    Details

      Description

      When deploying showcase 4.2.0.CR1 then after pushCdi topic created an error is thrown:

      18:13:42,211 INFO  [org.richfaces.demo.push.JMSInitializer] (MSC service thread 1-2) initializing
      18:13:42,219 INFO  [org.richfaces.demo.push.JMSInitializer] (MSC service thread 1-2) AS7MessagingProviderManagement initialized
      18:13:42,219 INFO  [org.richfaces.demo.push.JMSInitializer] (MSC service thread 1-2) creating topic pushJms
      18:13:42,761 INFO  [org.richfaces.demo.push.JMSInitializer] (MSC service thread 1-2) creating topic pushTopicsContext
      18:13:42,802 INFO  [org.richfaces.demo.push.JMSInitializer] (MSC service thread 1-2) creating topic pushCdi
      18:13:42,972 SEVERE [org.richfaces.demo.push.MessageProducerRunnable] (MessageProducerThread) javax.faces.FacesException: topic/pushTopicsContext -- service jboss.naming.context.java.topic.$
              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.CR1.jar:]
              at org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48) [richfaces-core-api-4.2.0.CR1.jar:]
              at org.richfaces.application.push.TopicsContext.publish(TopicsContext.java:69) [richfaces-core-api-4.2.0.CR1.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: topic/pushTopicsContext -- service jboss.naming.context.java.topic.pushTopicsContext
              at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207) [richfaces-core-impl-4.2.0.CR1.jar:]
              at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195) [richfaces-core-impl-4.2.0.CR1.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: topic/pushTopicsContext -- service jboss.naming.context.java.topic.pushTopicsContext
      	at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:92)
      	at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:177)
      	at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:87)
      	at javax.naming.InitialContext.lookup(InitialContext.java:396) [:1.6.0_22]
      	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.lookupTopic(JMSTopicsContextImpl.java:94) [richfaces-core-impl-4.2.0-20120130.140419-26.jar:]
      	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:125) [richfaces-core-impl-4.2.0-20120130.140419-26.jar:]
      	at org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199) [richfaces-core-impl-4.2.0-20120130.140419-26.jar:]
      	... 12 more
      
      

      The functionality of push demos is fine, just the tests are not passing on Hudson, which I have to investigate whether it is caused by this one.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lfryc Lukáš Fryč
                Reporter:
                jhuska Juraj Húska
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: