Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-83

[Artemis 2.x upgrade] javax.jms.InvalidClientIDException: clientID=cts was already set into another connection

    Details

    • Steps to Reproduce:
      Hide

      Following steps will start TCK 7 on your local machine:

      export ROOT=$PWD
      git clone http://git.app.eng.bos.redhat.com/git/messaging-thirdparty-testsuite.git
      cd messaging-thirdparty-testsuite
      export WORKSPACE=$PWD
      export MODULE=core20
      echo "Run MODULE = ${MODULE}"
      cd $WORKSPACE/tck7-configuration/amq7/
      export BUILD_ZIP_URL=https://mw-messaging-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP-tooling/job/early-testing-messaging-prepare/155/artifact/jboss-eap.zip
      export BUILD_NAME=jboss-eap
      export AMQ_DOWNLOAD_URL=http://download.eng.brq.redhat.com/devel/candidates/amq/AMQ-Broker-7.2.0/amq-broker-7.2.0-bin.zip
      export BUILD_ZIP_ROOT_DIR=jboss-eap
      bash -x setup_tck7-eap7_env2.sh jms tck7 ignorethisparameter
      

      Once tests starts running kill it and start EAP/WF server manually by:
      sh standalone.sh -c standalone-full-tck7.xml

      Then move to directory with test and run command like:
      ant -Dtest=verifyLookupWithRAElementSpecifiedTest -Dtest.client=Client.java all

      Show
      Following steps will start TCK 7 on your local machine: export ROOT=$PWD git clone http: //git.app.eng.bos.redhat.com/git/messaging-thirdparty-testsuite.git cd messaging-thirdparty-testsuite export WORKSPACE=$PWD export MODULE=core20 echo "Run MODULE = ${MODULE}" cd $WORKSPACE/tck7-configuration/amq7/ export BUILD_ZIP_URL=https: //mw-messaging-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP-tooling/job/early-testing-messaging-prepare/155/artifact/jboss-eap.zip export BUILD_NAME=jboss-eap export AMQ_DOWNLOAD_URL=http: //download.eng.brq.redhat.com/devel/candidates/amq/AMQ-Broker-7.2.0/amq-broker-7.2.0-bin.zip export BUILD_ZIP_ROOT_DIR=jboss-eap bash -x setup_tck7-eap7_env2.sh jms tck7 ignorethisparameter Once tests starts running kill it and start EAP/WF server manually by: sh standalone.sh -c standalone-full-tck7.xml Then move to directory with test and run command like: ant -Dtest=verifyLookupWithRAElementSpecifiedTest -Dtest.client=Client.java all

      Description

      There is regression TCK 7 when running WF/EAP with Artemis 2.x resource adapter against AMQ 7.2.0.GA. WF/EAP with Artemis 2.x is last build from [2018-08-06]:
      https://mw-messaging-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP-tooling/job/early-testing-messaging-prepare/155/

      There are approximately 200 failures with exception:

      [javatest.batch] ESC[0mESC[0m09:55:10,602 INFO  [stdout] (Thread-68) 08-03-2018 09:55:10:  SVR-ERROR: javax.jms.InvalidClientIDException: clientID=cts was already set into another connection
      [javatest.batch] ESC[0mESC[0m09:55:10,602 INFO  [stdout] (Thread-68)    at org.apache.activemq.artemis.jms.client.ActiveMQConnection.validateClientID(ActiveMQConnection.java:266)
      [javatest.batch] ESC[0mESC[0m09:55:10,602 INFO  [stdout] (Thread-68)    at org.apache.activemq.artemis.jms.client.ActiveMQConnection.authorize(ActiveMQConnection.java:681)
      [javatest.batch] ESC[0mESC[0m09:55:10,603 INFO  [stdout] (Thread-68)    at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:849)
      [javatest.batch] ESC[0mESC[0m09:55:10,603 INFO  [stdout] (Thread-68)    at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createXATopicConnection(ActiveMQConnectionFactory.java:387)
      [javatest.batch] ESC[0mESC[0m09:55:10,603 INFO  [stdout] (Thread-68)    at org.apache.activemq.artemis.ra.ActiveMQRAManagedConnection.setup(ActiveMQRAManagedConnection.java:745)
      [javatest.batch] ESC[0mESC[0m09:55:10,604 INFO  [stdout] (Thread-68)    at org.apache.activemq.artemis.ra.ActiveMQRAManagedConnection.<init>(ActiveMQRAManagedConnection.java:161)
      [javatest.batch] ESC[0mESC[0m09:55:10,604 INFO  [stdout] (Thread-68)    at org.apache.activemq.artemis.ra.ActiveMQRAManagedConnectionFactory.createManagedConnection(ActiveMQRAManagedConnectionFactory.java:151)
      [javatest.batch] ESC[0mESC[0m09:55:10,604 INFO  [stdout] (Thread-68)    at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.createConnectionEventListener(Semaphor
      eConcurrentLinkedDequeManagedConnectionPool.java:1326)
      [javatest.batch] ESC[0mESC[0m09:55:10,605 INFO  [stdout] (Thread-68)    at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.getConnection(SemaphoreConcurrentLinke
      dDequeManagedConnectionPool.java:499)
      [javatest.batch] ESC[0mESC[0m09:55:10,605 INFO  [stdout] (Thread-68)    at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:632)
      [javatest.batch] ESC[0mESC[0m09:55:10,605 INFO  [stdout] (Thread-68)    at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:604)
      [javatest.batch] ESC[0mESC[0m09:55:10,606 INFO  [stdout] (Thread-68)    at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:624)
      [javatest.batch] ESC[0mESC[0m09:55:10,610 INFO  [stdout] (Thread-68)    at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:430)
      [javatest.batch] ESC[0mESC[0m09:55:10,610 INFO  [stdout] (Thread-68)    at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:789)
      [javatest.batch] ESC[0mESC[0m09:55:10,610 INFO  [stdout] (Thread-68)    at org.apache.activemq.artemis.ra.ActiveMQRASessionFactoryImpl.allocateConnection(ActiveMQRASessionFactoryImpl.java:872)
      [javatest.batch] ESC[0mESC[0m09:55:10,611 INFO  [stdout] (Thread-68)    at org.apache.activemq.artemis.ra.ActiveMQRASessionFactoryImpl.createSession(ActiveMQRASessionFactoryImpl.java:531)
      [javatest.batch] ESC[0mESC[0m09:55:10,611 INFO  [stdout] (Thread-68)    at org.apache.activemq.artemis.ra.ActiveMQRASessionFactoryImpl.createSession(ActiveMQRASessionFactoryImpl.java:746)
      [javatest.batch] ESC[0mESC[0m09:55:10,611 INFO  [stdout] (Thread-68)    at org.apache.activemq.artemis.ra.ActiveMQRASessionFactoryImpl.createSession(ActiveMQRASessionFactoryImpl.java:751)
      [javatest.batch] ESC[0mESC[0m09:55:10,612 INFO  [stdout] (Thread-68)    at org.apache.activemq.artemis.ra.ActiveMQRAConnectionFactoryImpl.validateUser(ActiveMQRAConnectionFactoryImpl.java:475)
      [javatest.batch] ESC[0mESC[0m09:55:10,612 INFO  [stdout] (Thread-68)    at org.apache.activemq.artemis.ra.ActiveMQRAConnectionFactoryImpl.createTopicConnection(ActiveMQRAConnectionFactoryImpl.java:217)
      [javatest.batch] ESC[0mESC[0m09:55:10,612 INFO  [stdout] (Thread-68)    at com.sun.ts.tests.jms.ee.ejbweb.xa.TransactionTests.testInitForT(TransactionTests.java:354)
      [javatest.batch] ESC[0mESC[0m09:55:10,613 INFO  [stdout] (Thread-68)    at com.sun.ts.tests.jms.ee.ejbweb.xa.TransactionTests.Test06(TransactionTests.java:634)
      [javatest.batch] ESC[0mESC[0m09:55:10,613 INFO  [stdout] (Thread-68)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [javatest.batch] ESC[0mESC[0m09:55:10,613 INFO  [stdout] (Thread-68)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [javatest.batch] ESC[0mESC[0m09:55:10,613 INFO  [stdout] (Thread-68)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [javatest.batch] ESC[0mESC[0m09:55:10,614 INFO  [stdout] (Thread-68)    at java.lang.reflect.Method.invoke(Method.java:498)
      [javatest.batch] ESC[0mESC[0m09:55:10,614 INFO  [stdout] (Thread-68)    at com.sun.ts.lib.harness.EETest.run(EETest.java:550)
      [javatest.batch] ESC[0mESC[0m09:55:10,614 INFO  [stdout] (Thread-68)    at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:113)
      [javatest.batch] ESC[0mESC[0m09:55:10,614 INFO  [stdout] (Thread-68)    at com.sun.ts.tests.common.vehicle.ejb.EJBVehicle.runTest(EJBVehicle.java:70)
      

      Note that TCK 7 is passing when trying with current Wildfly master (Artemis 1.5.5.012).

      Link to TCK 7 job:
      https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-third-party-messaging-amq7-tck7-matrix/18/

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  martyn-taylor Martyn Taylor
                  Reporter:
                  mnovak Miroslav Novak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: