I have written some beans that work with JBoss, but they are providing the
following errors in openejb.

java.rmi.RemoteException: The bean encountered a non-application exception.;
nested exception is:
        java.lang.InstantiationException

org.openejb.core.transaction.TransactionPolicy.throwExceptionToServer(Transa
ctionPolicy.java:254)

org.openejb.core.transaction.TxSupports.handleSystemException(TxSupports.jav
a:191)

org.openejb.alt.containers.castor_cmp11.CastorCmpEntityTxPolicy.handleSystem
Exception(CastorCmpEntityTxPolicy.java:157)

org.openejb.alt.containers.castor_cmp11.CastorCMP11_EntityContainer.createEJ
BObject(CastorCMP11_EntityContainer.java:925)

org.openejb.alt.containers.castor_cmp11.CastorCMP11_EntityContainer.invoke(C
astorCMP11_EntityContainer.java:521)

org.openejb.core.ivm.EjbHomeProxyHandler.create(EjbHomeProxyHandler.java:244
)

org.openejb.core.ivm.EjbHomeProxyHandler._invoke(EjbHomeProxyHandler.java:16
0)

org.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:308
)

org.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.
java:89)
        $Proxy2.create(Unknown Source)


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?


Michael Forster

Ingotz Uk Ltd.
Tel: 07005006216
Fax: 07005006217

This email (and any attachments) is for the addressee only. It is
confidential and protected by copyright, any opinions/information are those
of the author and not Ingotz UK Ltd. Ingotz accepts no responsibility for
loss or damage (including by viruses) due to it's use. Ingotz reserves the
right to monitor emails with the lawful business practice regulations 2000.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.644 / Virus Database: 412 - Release Date: 26/03/2004

Reply via email to