Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6134

Deployment with @JMSConnectionFactoryDefinitions annotation cannot be deployed

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      Execute following steps to reproduce the issue:

      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      git checkout refactoring_modules
      groovy -DEAP_VERSION=7.0.0.ER5 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=AnnotationsTestCase#testExistenceOfConnectionFactory -DfailIfNoTests=false  -Deap=7x  | tee log
      

      Show
      Execute following steps to reproduce the issue: git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ git checkout refactoring_modules groovy -DEAP_VERSION=7.0.0.ER5 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=AnnotationsTestCase#testExistenceOfConnectionFactory -DfailIfNoTests=false -Deap=7x | tee log

      Description

      There is regression in EAP 7.0.0.ER5 against EAP 7.0.0.ER4 hit by TCK 7.

      Deployment of MDB which contains:

      @JMSConnectionFactoryDefinition(
              name = "java:jboss/exported/MyConnectionFactory",
              resourceAdapter = "activemq-ra",
              properties = {
                  "connectors=http-connector",}
      )
      

      definition of connection factory fails with:

      09:19:10,704 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "mdb.jar")]) - failure description: {
          "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.connector.direct-connection-factory-activator.java:jboss/exported/MyConnectionFactory is missing [jboss.ra.deployer.\"activemq-ra.rar\"]"],
          "WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
              "Services that were unable to start:" => [
                  "jboss.deployment.unit.\"mdb.jar\".component.mdb1.JndiBindingsService",
                  "jboss.deployment.unit.\"mdb.jar\".component.mdb1.START",
                  "jboss.deployment.unit.\"mdb.jar\".deploymentCompleteService",
                  "jboss.deployment.unit.\"mdb.jar\".jndiDependencyService",
                  "jboss.deployment.unit.\"mdb.jar\".moduleDeploymentRuntimeInformationStart",
                  "jboss.naming.context.java.comp.mdb.mdb.mdb1.env.\"org.jboss.qa.hornetq.apps.mdb.LocalMdbFromQueueAnnotated\".cf"
              ],
              "Services that may be the cause:" => [
                  "jboss.connection-factory.reference-factory.jboss.naming.context.java.jboss.exported.MyConnectionFactory",
                  "jboss.ra.deployer.\"activemq-ra.rar\""
              ]
          }
      }
      

      Failed TCK tests:

      com/sun/ts/tests/jms/ee20/resourcedefs/annotations/Client.java#checkClientIDOnDurableConnFactoryTest	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/annotations/Client.java#sendAndRecvQueueTestFromAppClient	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/annotations/Client.java#sendAndRecvQueueTestFromEjbClient	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/annotations/Client.java#sendAndRecvQueueTestFromJspClient	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/annotations/Client.java#sendAndRecvQueueTestFromServletClient	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/annotations/Client.java#sendAndRecvTopicTestFromAppClient	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/annotations/Client.java#sendAndRecvTopicTestFromEjbClient	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/annotations/Client.java#sendAndRecvTopicTestFromJspClient	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/annotations/Client.java#sendAndRecvTopicTestFromServletClient	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/annotations/Client.java#verifyLookupWithRAElementSpecifiedTest
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#checkClientIDOnDurableConnFactoryTest_from_appclient	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#checkClientIDOnDurableConnFactoryTest_from_ejb	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#checkClientIDOnDurableConnFactoryTest_from_jsp	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#checkClientIDOnDurableConnFactoryTest_from_servlet	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#sendAndRecvQueueTest_from_appclient	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#sendAndRecvQueueTest_from_ejb	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#sendAndRecvQueueTest_from_jsp	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#sendAndRecvQueueTest_from_servlet	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#sendAndRecvTopicTest_from_appclient	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#sendAndRecvTopicTest_from_ejb	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#sendAndRecvTopicTest_from_jsp	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#sendAndRecvTopicTest_from_servlet	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#verifyLookupWithRAElementSpecifiedTest_from_appclient	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#verifyLookupWithRAElementSpecifiedTest_from_ejb	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#verifyLookupWithRAElementSpecifiedTest_from_jsp	FAIL	20
      com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/Client.java#verifyLookupWithRAElementSpecifiedTest_from_servlet
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jmesnil Jeff Mesnil
                  Reporter:
                  jmesnil Jeff Mesnil
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: