You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Ivan (JIRA)" <ji...@apache.org> on 2011/05/03 08:33:03 UTC
[jira] [Resolved] (OPENEJB-1531) "No mainInterface: otherwise di: "
IllegalArgumentException when use ejbref in ejbref's method.
[ https://issues.apache.org/jira/browse/OPENEJB-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan resolved OPENEJB-1531.
---------------------------
Resolution: Fixed
Fix Version/s: 4.0
Commit changes to trunk at rev.1098938 Thanks, Shawn.
> "No mainInterface: otherwise di: " IllegalArgumentException when use ejbref in ejbref's method.
> ------------------------------------------------------------------------------------------------
>
> Key: OPENEJB-1531
> URL: https://issues.apache.org/jira/browse/OPENEJB-1531
> Project: OpenEJB
> Issue Type: Bug
> Components: server
> Affects Versions: 4.0
> Reporter: Shawn Jiang
> Fix For: 4.0
>
> Attachments: 0001-for-request-that-don-t-support-mainInterface-always-.patch
>
>
> b1ref = (b1) beanHome1.create();
> b2ref = (b2) beanHome2.create();
> b1ref.use(b2ref);
> I met "No mainInterface: otherwise di: xxxxxx" IllegalArgumentException when doing a call like the case above. I found that the changes in JIRA OPENEJB-1328 caused this.
> a quick solution would to give it a chance to set the only interface as maininterface in org.apache.openejb.core.ivm.BaseEjbProxyHandler.BaseEjbProxyHandler(BeanContext, Object, InterfaceType, List<Class>, Class).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira