[jboss-jira] [JBoss JIRA] Created: (JBAS-7303) ejb-ref elements require home elements

Jürgen Weber (JIRA) jira-events at lists.jboss.org
Wed Sep 30 12:50:49 EDT 2009


ejb-ref elements require home elements
--------------------------------------

                 Key: JBAS-7303
                 URL: https://jira.jboss.org/jira/browse/JBAS-7303
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: JBossAS-4.2.3.GA
            Reporter: Jürgen Weber


jboss-4.2.3.GA-src\server\src\main\org\jboss\metadata\EjbRefMetaData.java 
parses for non-optional home element
whereas the spec says it's optional.
see http://java.sun.com/xml/ns/javaee/javaee_5.xsd
This leads to Apache Daytrader not installing on JBoss

Caused by: org.jboss.deployment.DeploymentException: expected one home tag
        at org.jboss.metadata.MetaData.getUniqueChild(MetaData.java:113)
        at org.jboss.metadata.EjbRefMetaData.importEjbJarXml(EjbRefMetaData.java:85)


see google for "expected one home tag"


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the jboss-jira mailing list