[jbosstools-issues] [JBoss JIRA] (JBIDE-20537) wildfly-ejb-multi-server-app-one-ejb quickstart fails to validate

Rob Stryker (JIRA) issues at jboss.org
Wed Sep 16 01:40:00 EDT 2015


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

Rob Stryker commented on JBIDE-20537:
-------------------------------------

This quickstart seems to be removed from the wf 10.x branch.  

In the eap7 branch, the descriptor has been changed to the following:

{code}
    <enterprise-beans>
    </enterprise-beans>
    <assembly-descriptor>
      <!-- mark all EJB's of the application as clustered (without using the jboss specific @Clustered annotation for each class) -->
        <c:clustering>
            <ejb-name>*</ejb-name>
            <c:clustered>true</c:clustered>
        </c:clustering>
    </assembly-descriptor>
</jboss:ejb-jar>
{code}

> wildfly-ejb-multi-server-app-one-ejb quickstart fails to validate
> -----------------------------------------------------------------
>
>                 Key: JBIDE-20537
>                 URL: https://issues.jboss.org/browse/JBIDE-20537
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: server
>    Affects Versions: 4.3.0.CR1
>            Reporter: Rob Stryker
>
> Even after fixing https://issues.jboss.org/browse/JBIDE-20536  to import some namespaces using exact schema locations on the web, wildfly-ejb-multi-server-app-one-ejb fails to validate. 
> The file jboss-ejb3.xml has the following content (trimmed for brevity):
> {code}
> <jboss:ejb-jar (cut out xml:ns stuff)     version="3.1" impl-version="2.0">
>     <enterprise-beans>
>     </enterprise-beans>
>     <assembly-descriptor>
>     </assembly-descriptor>
> </jboss:ejb-jar>
> {code}
> Unfortunately, empty enterprise-beans tags are invalid according to the xsd against which this is validated. Error message as follows:
> {code}
> cvc-complex-type.2.4.b: The content of element 'enterprise-beans' is not complete. One of '{"http://
>  java.sun.com/xml/ns/javaee":session, "http://java.sun.com/xml/ns/javaee":entity, "http://
>  java.sun.com/xml/ns/javaee":message-driven}' is expected.
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list