tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OPENEJB-1531) "No mainInterface: otherwise di: " IllegalArgumentException when use ejbref in ejbref's method.
Date Fri, 22 Apr 2011 08:38:05 GMT
"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


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

Mime
View raw message