[jboss-jira] [JBoss JIRA] Updated: (JBAS-5423) AnnotationMetaDataDeployer defaults "metadata-complete" to true, should be false
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Sun Apr 13 10:39:17 EDT 2008
[ http://jira.jboss.com/jira/browse/JBAS-5423?page=all ]
Andrew Lee Rubinger updated JBAS-5423:
--------------------------------------
Attachment: homeinterface-test.jar
The attached JAR contains jboss.xml defining a binding for the home interface. Home interface is defined by annotation. Resultant deployment error is:
Caused by: java.lang.IllegalStateException: EJB3 bean DescriptorStatelessBean doesn't define home interface but defines home-jndi-name 'DescriptorStatelessHome' in jboss.xml
at org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData.checkValid(JBossSessionBeanMetaData.java:937)
at org.jboss.metadata.ejb.jboss.JBossEnterpriseBeansMetaData.merge(JBossEnterpriseBeansMetaData.java:175)
at org.jboss.metadata.ejb.jboss.JBossMetaData.merge(JBossMetaData.java:722)
at org.jboss.ejb.deployers.MergedJBossMetaDataDeployer.deploy(MergedJBossMetaDataDeployer.java:93)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
...because AnnotationMetaDataDeployer has marked as metadata-complete, and the annotations are not processed.
> AnnotationMetaDataDeployer defaults "metadata-complete" to true, should be false
> --------------------------------------------------------------------------------
>
> Key: JBAS-5423
> URL: http://jira.jboss.com/jira/browse/JBAS-5423
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Andrew Lee Rubinger
> Assigned To: Scott M Stark
> Fix For: JBossAS-5.0.0.CR1
>
> Attachments: homeinterface-test.jar
>
>
> EJB3 Core Specification, Deployment Descriptor XML Schema:
> "If metadata-complete is not specified or is set to 'false', the deployment tool must examine the class files of the application for annotations, as specified by the specifications."
> The same exists in the JEE Specification.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list