Hey Ingo,
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 ?
Bye
Simon
> -----Original Message-----
> From: Ingo Bruell [mailto:[EMAIL PROTECTED]]
> Sent: marted� 24 ottobre 2000 22:58
> To: jBoss
> Subject: Re[2]: [jBoss-User] CMP EntityBean Cache
>
>
> Hi Simone,
>
> Tuesday, October 24, 2000, 6:40:00 PM, you wrote:
>
> BS> can you explain in more details what your client does ?
>
> Sure...
>
> BS> Is this the sequence ?
>
> No.
>
> BS> 1) Creation (successful, ie no exception thrown)
> 2) Setter/Getter methods called several times.
> 3) Stop the client
> 4) Stop jBoss
> 5) Restart jBoss
> 6) Start client, make findAll
> 7) getter methods reported exception below was thrown
>
> (Thank you for the english lesson :-))
>
> >> ---- snip ----
> >> [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:316
> >> )
> >> [Mandant] at
> >> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke
> >> (JRMPContainerInvoker.java:222)
> >> [Mandant] at
> >> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke
> >> (JRMPContainerInvoker.java:187)
> >> [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]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]