0 Replies Latest reply on Jan 22, 2002 9:55 PM by ericjkaplan

    Runtime exception: QueuedPessimisticEJBLock

    ericjkaplan Newbie

      I'm suddenly getting the following exception when creating a new entity bean. Any ideas on what might cause this? Database is Oracle.

      [BeanLock] Saw rolled back tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=AR
      MANTAC1//30, BranchQual=]
      [IdentifierEJB] TRANSACTION ROLLBACK EXCEPTION:Transaction marked for rollback,
      possibly a timeout; nested exception is:
      java.lang.RuntimeException: Transaction marked for rollback, possibly a
      timeout
      [IdentifierEJB] java.lang.RuntimeException: Transaction marked for rollback, pos
      sibly a timeout
      [IdentifierEJB] at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.d
      oSchedule(QueuedPessimisticEJBLock.java:170)
      [IdentifierEJB] at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.s
      chedule(QueuedPessimisticEJBLock.java:143)
      [IdentifierEJB] at org.jboss.ejb.plugins.EntitySynchronizationIntercepto
      r.invokeHome(EntitySynchronizationInterceptor.java:247)
      [IdentifierEJB] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invok
      eHome(EntityInstanceInterceptor.java:154)
      [IdentifierEJB] at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHom
      e(EntityLockInterceptor.java:108)
      [IdentifierEJB] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxI
      nterceptorCMT.java:135)
      [IdentifierEJB] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransac
      tions(TxInterceptorCMT.java:307)
      [IdentifierEJB] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxI
      nterceptorCMT.java:86)
      [IdentifierEJB] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(
      SecurityInterceptor.java:103)
      [IdentifierEJB] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogIn
      terceptor.java:106)
      [IdentifierEJB] at org.jboss.ejb.EntityContainer.invokeHome(EntityContai
      ner.java:420)
      [IdentifierEJB] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoke
      r.invokeHome(JRMPContainerInvoker.java:437)
      [IdentifierEJB] at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invok
      eHome(HomeProxy.java:237)
      [IdentifierEJB] at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invok
      e(HomeProxy.java:182)
      [IdentifierEJB] at $Proxy66.create(Unknown Source)
      [IdentifierEJB] at com.armanta.ejb.identifier.IdentifierMasterBean.getNe
      xtIndex(IdentifierMasterBean.java:27)
      [IdentifierEJB] at java.lang.reflect.Method.invoke(Native Method)
      [IdentifierEJB] at org.jboss.ejb.StatelessSessionContainer$ContainerInte
      rceptor.invoke(StatelessSessionContainer.java:543)
      [IdentifierEJB] at org.jboss.ejb.plugins.StatelessSessionInstanceInterce
      ptor.invoke(StatelessSessionInstanceInterceptor.java:87)
      [IdentifierEJB] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxI
      nterceptorCMT.java:133)
      [IdentifierEJB] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransac
      tions(TxInterceptorCMT.java:307)
      [IdentifierEJB] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInter
      ceptorCMT.java:99)
      [IdentifierEJB] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(Secu
      rityInterceptor.java:128)
      [IdentifierEJB] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterc
      eptor.java:195)
      [IdentifierEJB] at org.jboss.ejb.StatelessSessionContainer.invoke(Statel
      essSessionContainer.java:286)
      [IdentifierEJB] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoke
      r.invoke(JRMPContainerInvoker.java:483)
      [IdentifierEJB] at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.in
      vokeContainer(GenericProxy.java:335)
      [IdentifierEJB] at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessio
      nProxy.invoke(StatelessSessionProxy.java:123)
      [IdentifierEJB] at $Proxy30.getNextIndex(Unknown Source)
      [IdentifierEJB] at com.armanta.ejb.porttree.PortTreeMasterBean.create(Po
      rtTreeMasterBean.java:54)
      [IdentifierEJB] at java.lang.reflect.Method.invoke(Native Method)
      [IdentifierEJB] at org.jboss.ejb.StatelessSessionContainer$ContainerInte
      rceptor.invoke(StatelessSessionContainer.java:543)
      [IdentifierEJB] at org.jboss.ejb.plugins.StatelessSessionInstanceInterce
      ptor.invoke(StatelessSessionInstanceInterceptor.java:87)
      [IdentifierEJB] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxI
      nterceptorCMT.java:133)
      [IdentifierEJB] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransac
      tions(TxInterceptorCMT.java:307)
      [IdentifierEJB] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInter
      ceptorCMT.java:99)
      [IdentifierEJB] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(Secu
      rityInterceptor.java:128)
      [IdentifierEJB] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterc
      eptor.java:195)
      [IdentifierEJB] at org.jboss.ejb.StatelessSessionContainer.invoke(Statel
      essSessionContainer.java:286)
      [IdentifierEJB] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoke
      r.invoke(JRMPContainerInvoker.java:393)
      [IdentifierEJB] at java.lang.reflect.Method.invoke(Native Method)
      [IdentifierEJB] at sun.rmi.server.UnicastServerRef.dispatch(Unknown Sour
      ce)
      [IdentifierEJB] at sun.rmi.transport.Transport$1.run(Unknown Source)
      [IdentifierEJB] at java.security.AccessController.doPrivileged(Native Me
      thod)
      [IdentifierEJB] at sun.rmi.transport.Transport.serviceCall(Unknown Sourc
      e)
      [IdentifierEJB] at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unk
      nown Source)
      [IdentifierEJB] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.
      run(Unknown Source)
      [IdentifierEJB] at java.lang.Thread.run(Unknown Source)