Hi again,

> I've tried to reproduce the sequence you told me, but everything works
fine
> for me.
> So 2 Qs:
> 1) Can you always reproduce this error ? If yes, can you send me the code
?
> 2) Are you sure that no other exceptions or tx timeouts happened prior the
> bean call that ended with the below exception ?

The error happens, if my programm do the following:

1) Start jBoss
2) Start Client and create CMP EntityBean one or more.
3) Close client
4) shutdown jBoss and restart jBoss
5) Start Client and request all Entity (findAll()) store the result in a
Vector.
6) call getData() of the first item in the Vector and the error happens.

If i clear the table in the database and restart server and client and
create the EntityBean again its all ok. I could make the same findAll() and
getData on the items. Also if i restart only the client, all works. But if i
restart jboss and then the client the error happens.
I hope you anderstand what i mean...

If you need the source, please tell me. There are several classes who
interacts. (Tablemodel, JTable, EJBClient and EJBs).

Here the error again:

---- snip ----
[XADataSource] Resource 'org.jboss.minerva.xa.XAResourceImpl@6232b5'
enlisted fo
r 'org.jboss.minerva.xa.XAConnectionImpl@2613f8'.
[XADataSource] Pool OraclePool [1/1/Unlimited] gave out pooled object:
org.jboss
.minerva.xa.XAConnectionImpl@2613f8
[XADataSource] Pool OraclePool [0/1/Unlimited] returned object
org.jboss.minerva
.xa.XAConnectionImpl@2613f8 to the pool.
[XADataSource] Resource 'org.jboss.minerva.xa.XAResourceImpl@6232b5'
enlisted fo
r 'org.jboss.minerva.xa.XAConnectionImpl@2613f8'.
[XADataSource] Pool OraclePool [1/1/Unlimited] gave out pooled object:
org.jboss
.minerva.xa.XAConnectionImpl@2613f8
[XADataSource] Pool OraclePool [0/1/Unlimited] returned object
org.jboss.minerva
.xa.XAConnectionImpl@2613f8 to the pool.
[Mandant] TRANSACTION ROLLBACK EXCEPTION:Can't remove bean with id =
de.oblgmbh.
meta.interfaces.MandantPK@1: it isn't in the cache.; nested exception is:
        java.lang.IllegalStateException: Can't remove bean with id =
de.oblgmbh.
meta.interfaces.MandantPK@1: it isn't in the cache.
[Mandant] java.lang.IllegalStateException: Can't remove bean with id =
de.oblgmb
h.meta.interfaces.MandantPK@1: it isn't in the cache.
[Mandant]       at
org.jboss.ejb.plugins.EnterpriseInstanceCache.remove(Enterpri
seInstanceCache.java:142)
[Mandant]       at
org.jboss.ejb.plugins.EntityInstanceCache.remove(EntityInstan
ceCache.java:64)
[Mandant]       at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(Entity
InstanceInterceptor.java:211)
[Mandant]       at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxIntercept
orCMT.java:133)
[Mandant]       at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(Tx
InterceptorCMT.java:263)
[Mandant]       at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCM
T.java:99)
[Mandant]       at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInte
rceptor.java:144)
[Mandant]       at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.ja
va:192)
[Mandant]       at
org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:322
)
[Mandant]       at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke
(JRMPContainerInvoker.java:163)
[Mandant]       at java.lang.reflect.Method.invoke(Native Method)
[Mandant]       at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
a:241)
[Mandant]       at sun.rmi.transport.Transport$1.run(Transport.java:142)
[Mandant]       at java.security.AccessController.doPrivileged(Native
Method)
[Mandant]       at
sun.rmi.transport.Transport.serviceCall(Transport.java:139)
[Mandant]       at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
t.java:443)
[Mandant]       at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
ransport.java:643)
[Mandant]       at java.lang.Thread.run(Thread.java:484)
---- snap ----

CU

---
Ingo Bruell
OBL GmbH ([EMAIL PROTECTED])
Hude (Oldenburg)
Germany



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to