[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1433) beanInterface value in @EJB ignored

Kreek Fred (JIRA) jira-events at lists.jboss.org
Wed Jul 9 11:11:27 EDT 2008


beanInterface value in @EJB ignored
-----------------------------------

                 Key: EJBTHREE-1433
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1433
             Project: EJB 3.0
          Issue Type: Bug
    Affects Versions: AS 5.0.0.CR1
         Environment: [ServerInfo] Java version: 1.6.0_06,Sun Microsystems Inc.
[ServerInfo] Java VM: Java HotSpot(TM) Server VM 10.0-b22,Sun Microsystems Inc.
[ServerInfo] OS-System: Windows XP 5.1,x86
            Reporter: Kreek Fred


I am moving an application from OAS to JBoss5. In the application we make use of the beanInterface property of the @EJB annotation like: 
Code: 

@EJB( beanInterface=MyBeanInterfaceLocal.class )
private MyBeanInterface myBean;
	 
where: 

Code: 

@Local
public interface MyBeanInterfaceLocal extends MyBeanInterface {
...
}
	 
During deployment I get the error: 
Code: 

jboss.j2ee:ear=TestApplication.ear,jar=TestProject.jar,name=ejb/testBean,service=EJB3
 -> <UNKNOWN jboss.j2ee:ear=TestApplication.ear,jar=TestProject.jar,name=ejb/testBean,service=EJB3>{Described:** UNRESOLVED Demands 'Class:testpackage.MyBeanInterface' **}
	 
There are lots of similar errors (1000+) since we extensively use this feature.


-- 
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