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

Deploying of malformed MDB should be allowed, but infractions should be reported as warnings

    Details

    • Steps to Reproduce:
      Hide

      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      groovy -DEAP_ZIP_URL=file:///path/to/eap.zip 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=DeployMalformedMDBTestCase -DfailIfNoTests=false -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_ZIP_URL=file:///path/to/eap.zip 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=DeployMalformedMDBTestCase -DfailIfNoTests=false -Deap=7x | tee log

      Description

      When a deployment containing malformed MDB is deployed to EAP server, the deploy operation passes. There should be a check at deploy time that MDBs meet all requirements and if there are some issues, the deploy operation should fail.

      Examples of malformed MDBs:

      class is marked as final
      onMessage method is marked as final

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rpelisse Romain Pelisse
                  Reporter:
                  rpelisse Romain Pelisse
                  Tester:
                  Erich Duda
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: