[jboss-jira] [JBoss JIRA] Commented: (JBAS-7303) ejb-ref elements require home elements
Jürgen Weber (JIRA)
jira-events at lists.jboss.org
Wed Sep 30 13:05:49 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-7303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12487934#action_12487934 ]
Jürgen Weber commented on JBAS-7303:
------------------------------------
And DirectSLSBBean is EJB3 which doesn't need an home interface.
http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.1.3/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb3/DirectSLSBBean.java?view=markup
http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.1.3/modules/web/src/main/webapp/WEB-INF/web.xml?view=markup
> 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