[jboss-jira] [JBoss JIRA] Commented: (AS7-1112) EJB annotation processing DUP fails to find annotations from classes belonging to jars in .ear/lib
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Fri Jun 24 05:32:23 EDT 2011
[ https://issues.jboss.org/browse/AS7-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610925#comment-12610925 ]
jaikiran pai commented on AS7-1112:
-----------------------------------
This is reproducible in testsuite/integration org.jboss.as.testsuite.integration.ejb.injection.ejbs.EjbsInjectionTestCase too
> EJB annotation processing DUP fails to find annotations from classes belonging to jars in .ear/lib
> --------------------------------------------------------------------------------------------------
>
> Key: AS7-1112
> URL: https://issues.jboss.org/browse/AS7-1112
> Project: Application Server 7
> Issue Type: Bug
> Components: EJB
> Environment: AS7 upstream (June 24 2011)
> Reporter: jaikiran pai
> Assignee: jaikiran pai
>
> Consider the following deployment:
> {code}
> .ear
> |
> |--- lib/lib.jar
> |
> |--- ejb.jar
> {code}
> If ejb.jar contains:
> {code}
> @Stateless
> public class MyBean implements SomeInterface {
> }
> {code}
> and the lib/lib.jar contains the interface:
> {code}
> @Remote
> public interface SomeInterface {
> ...
> }
> {code}
> then the BusinessViewAnnotationProcessor complains about missing index for the SomeInterface class:
> {code}
> 09:05:28,739 WARN [org.jboss.as.ejb3.deployment.processors.BusinessViewAnnotationProcessor] (MSC service thread 1-2) Could not read annotations on EJB interface blah.blah.SomeInterface
> {code}
> Please see the referenced forum thread for the details.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list