On Tue, Mar 30, 2004 at 09:53:48PM +0100, Michael Forster wrote:
> nested exception is:
>       java.lang.InstantiationException
[snip]
> org.openejb.alt.containers.castor_cmp11.CastorCMP11_EntityContainer.createEJ
> BObject(CastorCMP11_EntityContainer.java:925)

> I can stop the error by removing the abstract from the Bean class
> definition, but that makes it impossible to run on JBoss as it claims it
> contravenes EJB specs.
> 
> Is this able to be fixed with a config file or does openejb not instantiate
> the beans in the correct manner to be compliant with the specs?

OpenEJB does instantiate EJB 1.1 CMP beans, but abstract CMP classes
are part of the EJB 2.0 spec which is not supported by v0.9.2.  The
EJB 2.1 spec will be supported in OpenEJB 2.0.

A note on coming releases:
  - OpenEJB 1.0 beta 1, coming in about a week.  Will be EJB 1.1 compliant
  - OpenEJB 2.0 milestone 1, coming in a month.  Will be partially EJB 2.1 compliant

For now, I'd hold off on rolling over your other apps and wait for the
OpenEJB 2.0 milestone release.  We have a huge test suite, so the
release is going to be very good for a milestone release.  Stateless
SessionBeans, Stateful SessionBeans and BMP EntityBeans already pass
the test suite with flying colors.  When we get the CMP code passing
the tests, we will cut the 2.0 milestone release.

-David

Reply via email to