Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-14006

EAP 7.2 JMS clients are not able to communicate with EAP 7.[0-1] server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • 7.2.0.GA
    • JMS
    • Hide
      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      
      groovy -DEAP_VERSION=7.0.0 PrepareServers7.groovy
      export WORKSPACE=$PWD
      export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap
      export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap
      export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap
      export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap
      
      cd ../jboss-hornetq-testsuite/
      
      mvn clean test -Dtest=Eap7ClientCompatibilityTestCase#testAckQueue -Deap7.org.jboss.qa.hornetq.apps.clients.version=7.1513266759-SNAPSHOT -Deap=7x | tee log
      
      Show
      git clone git: //git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ groovy -DEAP_VERSION=7.0.0 PrepareServers7.groovy export WORKSPACE=$PWD export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap cd ../jboss-hornetq-testsuite/ mvn clean test -Dtest=Eap7ClientCompatibilityTestCase#testAckQueue -Deap7.org.jboss.qa.hornetq.apps.clients.version=7.1513266759-SNAPSHOT -Deap=7x | tee log

      For more information about origin of this issue see JBEAP-13856.

      Scenario

      • Start EAP 7.0 (or EAP 7.1)
      • Use EAP 7.2 binaries to send and receive message using the JMS API

      Expectation: Using the EAP 7.2 binaries it is possible to connect to EAP 7.0 and EAP 7.1 server and send / receive message.

      Reality: When the standalone client tries to send or receive a message, NullPointerException is thrown.

      Customer impact: Customers cannot use EAP 7.[0-1] with EAP 7.2 artifacts and thus they cannot perform iterative upgrade of EAP.

      Detail description

      Producer fails with an error.

      12:12:13,675 Thread-11 ERROR [org.jboss.qa.hornetq.apps.clients.ProducerTransAck:84] Producer got exception and ended:
      java.lang.NullPointerException
              at org.apache.activemq.artemis.jms.client.ActiveMQDestination$TYPE.isQueue(ActiveMQDestination.java:387)
              at org.apache.activemq.artemis.jms.client.ActiveMQDestination.isQueue(ActiveMQDestination.java:290)
              at org.apache.activemq.artemis.jms.client.ActiveMQMessageProducer.doSendx(ActiveMQMessageProducer.java:497)
              at org.apache.activemq.artemis.jms.client.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:191)
              at org.jboss.qa.hornetq.apps.clients.Producer11.sendMessage(Producer11.java:44)
              at org.jboss.qa.hornetq.apps.clients.ProducerTransAck.run(ProducerTransAck.java:63)
      

      Consumer fails with an error.

      12:12:13,598 Thread-12 ERROR [org.jboss.qa.hornetq.apps.clients.ReceiverTransAck:119] Exception was thrown during receiving messages:
      java.lang.NullPointerException
              at org.apache.activemq.artemis.jms.client.ActiveMQDestination$TYPE.isTemporary(ActiveMQDestination.java:397)
              at org.apache.activemq.artemis.jms.client.ActiveMQDestination.isTemporary(ActiveMQDestination.java:308)
              at org.apache.activemq.artemis.jms.client.ActiveMQSession.createConsumer(ActiveMQSession.java:367)
              at org.apache.activemq.artemis.jms.client.ActiveMQSession.createConsumer(ActiveMQSession.java:344)
              at org.jboss.qa.hornetq.apps.clients.ReceiverTransAck.run(ReceiverTransAck.java:71)
      

              csuconic@redhat.com Clebert Suconic
              eduda_jira Erich Duda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: