Hi,
 
I have downloaded the latest version of JBOSS 3.0.6
 
Still I am getting the following error
 
ERROR [BeanLock] removing bean lock and it has tx set! QPL bean=ItemGroup id=Six tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=bijoy//1, BranchQual=] synched=false timeout=300000 queue=[]

10:04:22,739 ERROR [LogInterceptor] RuntimeException:

java.lang.IllegalStateException: removing bean lock and it has tx set!

at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.removeRef(QueuedPessimisticEJBLock.java:436)

at org.jboss.ejb.BeanLockManager.removeLockRef(BeanLockManager.java:107)

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:228)

at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:92)

at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)

at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)

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:382)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

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)

10:04:23,300 ERROR [BeanLock] removing bean lock and it has tx set! QPL bean=ItemGroup id=One tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=bijoy//2, BranchQual=] synched=false timeout=300000 queue=[]

10:04:23,310 ERROR [LogInterceptor] RuntimeException:

java.lang.IllegalStateException: removing bean lock and it has tx set!

at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.removeRef(QueuedPessimisticEJBLock.java:436)

at org.jboss.ejb.BeanLockManager.removeLockRef(BeanLockManager.java:107)

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:228)

at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:92)

at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)

at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)

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:382)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

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)

----- Original Message -----
From: Bill Burke
Sent: Monday, March 03, 2003 8:10 PM
Subject: RE: [JBoss-dev] removing bean lock and it has tx set

what version of jboss are you running.  I thought this was fixed in 3.0.5 or 3.0.6.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Bijoy Sivan .K
Sent: Monday, March 04, 2002 7:53 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-dev] removing bean lock and it has tx set

Hi All,
 
I have written an entity bean with the persistance store as MySQL. Now I have added transaction management for all the methods present in the remote interface. I am able to make calls to findermethods, create a new record and I can execute all the other methods like getClss, getEJBHome etc. except the business methods that I have written in the remote interface. When i try to execute any of the methods present in the remote interface I get the following error....
 
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
 javax.transaction.TransactionRolledbackException: removing bean lock and it has tx set!ItemGroup Six; nested exception is:
 java.lang.IllegalStateException: removing bean lock and it has tx set!ItemGroup Six
 

Could u please help me to solve this problem
 
Bijoy

Reply via email to