0 Replies Latest reply on Apr 9, 2003 12:30 AM by aamao

    java.lang.IllegalStateException: removing bean lock and it h

    aamao Newbie

      Hello All,

      I just moved my application from jboss2.4.6 to jboss 3.0. I keep getting the following error when a call is made to my entity beans. Please help me:

      21:25:53,018 ERROR [STDERR] java.rmi.ServerException: removing bean lock and it has tx set!; nested exception is:
      java.lang.IllegalStateException: removing bean lock and it has tx set!
      21:25:53,018 ERROR [STDERR] java.lang.IllegalStateException: removing bean lock and it has tx set!
      21:25:53,018 ERROR [STDERR] at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.removeRef(QueuedPessimisticEJBLock.java:
      21:25:53,018 ERROR [STDERR] at org.jboss.ejb.BeanLockManager.removeLockRef(BeanLockManager.java:78)
      21:25:53,018 ERROR [STDERR] at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:124)
      21:25:53,018 ERROR [STDERR] at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:69)
      21:25:53,018 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)
      21:25:53,018 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)
      21:25:53,018 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
      21:25:53,018 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:129)
      21:25:53,018 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
      21:25:53,018 ERROR [STDERR] at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493)
      21:25:53,018 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:705)
      21:25:53,018 ERROR [STDERR] at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
      21:25:53,018 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      21:25:53,018 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
      21:25:53,018 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
      21:25:53,018 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      21:25:53,018 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
      21:25:53,018 ERROR [STDERR] at org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java:116)
      21:25:53,018 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      21:25:53,018 ERROR [STDERR] at $Proxy78.GetSubCategories(Unknown Source)

      Thank you