-dain
/************************* * Dain Sundstrom * Partner * Core Developers Network *************************/
On Mar 30, 2004, at 2:53 PM, Michael Forster wrote:
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(T ransa
ctionPolicy.java:254)
org.openejb.core.transaction.TxSupports.handleSystemException(TxSupport s.jav
a:191)
org.openejb.alt.containers.castor_cmp11.CastorCmpEntityTxPolicy.handleS ystem
Exception(CastorCmpEntityTxPolicy.java:157)
org.openejb.alt.containers.castor_cmp11.CastorCMP11_EntityContainer.cre ateEJ
BObject(CastorCMP11_EntityContainer.java:925)
org.openejb.alt.containers.castor_cmp11.CastorCMP11_EntityContainer.inv oke(C
astorCMP11_EntityContainer.java:521)
org.openejb.core.ivm.EjbHomeProxyHandler.create(EjbHomeProxyHandler.jav a:244
)
org.openejb.core.ivm.EjbHomeProxyHandler._invoke(EjbHomeProxyHandler.ja va:16
0)
org.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.jav a:308
)
org.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHan dler.
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
