[jboss-jira] [JBoss JIRA] (WFLY-10048) Deploying of malformed MDB should fail

Romain Pelisse (JIRA) issues at jboss.org
Tue Mar 20 14:07:01 EDT 2018


    [ https://issues.jboss.org/browse/WFLY-10048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548737#comment-13548737 ] 

Romain Pelisse commented on WFLY-10048:
---------------------------------------

[~jmesnil] I'm not sure why you though that JBINV-6 might be the cause of the issue (but still, thanks for the tip :) ). Anyhow, I've tested with this fix in, and the test provided by QE still fails. I'm looking now at the [assertMDBClassValidity|https://github.com/wildfly/wildfly/blob/master/ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/MessageDrivenComponentDescriptionFactory.java#L196] methods, try to see why the Mdb provided by the test somehow eludes this check..

> Deploying of malformed MDB should fail
> --------------------------------------
>
>                 Key: WFLY-10048
>                 URL: https://issues.jboss.org/browse/WFLY-10048
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 12.0.0.Final
>            Reporter: Romain Pelisse
>            Assignee: Romain Pelisse
>
> 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



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list