Title: RE: [JBoss-user] jboss 3.0.2(3): still suffers from java.lang.IllegalStateExceptio n: removing bean lock and it has tx set!

Bug #582428 which is definitly the same, was submitted on July, 16... It is one step from being marked as 90 days old.

Best wishes,
  Alexei Yudichev   mailto:[EMAIL PROTECTED]

-----Original Message-----
From: Michael Bartmann [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 10:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] jboss 3.0.2(3): still suffers from java.lang.IllegalStateExceptio n: removing bean lock and it has tx set!


Hi Alexey,

we today encountered this problem (for the first time
as far as I know) after a fresh update on Branch_3_2.

Only to let you know, we had no time to dig into it...

Regards,
Michael Bartmann

Alexey Yudichev wrote:
>   From that I cannot see much complains about the above exception (full
> stack trace is below) i conclude that either not many people using
> cmp2.0 or I am doing something wrong. This is an assigned bug #582428
> but new versions of jboss continue to release with the bug remaining.
> This exception happens when I try to remove children from relation with
> parent (in any case, for instance if I remove parent and it has cascade
> deletion option set). But it is not 100% reproducable. I create the
> parent and add children inside servlet code. I have a session attribute
> listener that destroys my parent with cascade deletion of children on
> session invalidation. So every time I have this exception. BUT if I try
> to remove the parent on the page some seconds after its creation it is
> removed ok. The only different between above two cases is the time period.
>
>   I just wonder why people don't face similar problem that often... In
> my case this is a real trouble with no workaround...
>
> 2002-10-04 19:15:59,924 ERROR [org.jboss.ejb.plugins.LogInterceptor]
> TransactionRolledbackLocalException, causedBy:
> java.lang.IllegalStateException: removing bean lock and it has tx
> set!Slide B6808080808080808080808080808380thunderworx
>         at
> org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.removeRef(QueuedPessimisticEJBLock.java:412)
>
>         at
> org.jboss.ejb.BeanLockManager.removeLockRef(BeanLockManager.java:103)
>         at
> org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:124)
>
>         at
> org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:69)
>
>         at
> org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
>
>         at
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:232)
>
>         at
> org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
>         at
> org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
>
>         at
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:203)
>         at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493)
>         at
> org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.invokeRemoveRelation(JDBCCMRFieldBridge.java:706)
>
>         at
> org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.destroyRelationLinks(JDBCCMRFieldBridge.java:622)
>
>         at
> org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.destroyRelationLinks(JDBCCMRFieldBridge.java:600)
>
>         at
> org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.clear(RelationSet.java:175)
>
>         at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityCommand.removeFromRelations(JDBCRemoveEntityCommand.java:137)
>
>         at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityCommand.execute(JDBCRemoveEntityCommand.java:70)
>
>         at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.removeEntity(JDBCStoreManager.java:635)
>
>         at
> org.jboss.ejb.plugins.CMPPersistenceManager.removeEntity(CMPPersistenceManager.java:542)
>
>         at
> org.jboss.resource.connectionmanager.CachedConnectionInterceptor.removeEntity(CachedConnectionInterceptor.java:431)
>
>         at org.jboss.ejb.EntityContainer.remove(EntityContainer.java:507)
>         at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1173)
>
>         at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:95)
>
>         at
> org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:308)
>
>         at
> org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
>
>         at
> org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:64)
>
>         at
> org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:152)
>
>         at
> org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:107)
>
>         at
> org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:69)
>
>         at
> org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
>
>         at
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
>
>         at
> org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
>         at
> org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
>
>         at
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:203)
>         at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493)
>         at org.jboss.ejb.Container.invoke(Container.java:712)
>         at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
>         at
> org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:381)
>         at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
>         at sun.rmi.transport.Transport$1.run(Transport.java:148)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
>         at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
>         at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
>
>         at java.lang.Thread.run(Thread.java:536)
>
> Best wishes,
>   Alexei Yudichev   mailto:[EMAIL PROTECTED]
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to