javax.ejb.EJBException: Update failed. Expected one affected row: rowsAffected=0id=7b042fe3499a277cc0425f8d391d7ae919e6b659; - nested throwable: (javax.ejb.EJBException: Update failed. Expected one affected row: rowsAffected=0id=7b042fe3499a277cc0425f8d391d7ae919e6b659)

ejbca | jordanxiao | 1 decade ago
  1. 0

    errors and failures when run "runtest"

    ejbca | 1 decade ago | jordanxiao
    javax.ejb.EJBException: Update failed. Expected one affected row: rowsAffected=0id=7b042fe3499a277cc0425f8d391d7ae919e6b659; - nested throwable: (javax.ejb.EJBException: Update failed. Expected one affected row: rowsAffected=0id=7b042fe3499a277cc0425f8d391d7ae919e6b659)
  2. 0

    To Tomas:i am using ejbca 2.0.1

    ejbca | 1 decade ago | jordanxiao
    javax.ejb.EJBException: Update failed. Expected one affected row: rowsAffected=0id=4da62424aea4e342c8ff709a21b3afc438ce4ab0; - nested throwable: (javax.ejb.EJBException: Update failed. Expected one affected row: rowsAffected=0id=4da62424aea4e342c8ff709a21b3afc438ce4ab0)
  3. 0

    Another problem: Expected one affected row

    ejbca | 1 decade ago | jordanxiao
    ejb.EJBException: Update failed. Expected one affected row: rowsAffected=0id=c6e 06380dac781e4bd73ab2cbe8d490c61a5dd99)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    To Tomas:the exception in the server log

    ejbca | 1 decade ago | jordanxiao
    javax.ejb.EJBException: Update failed. Expected one affected row: rowsAffected=0 id=30b1a351c732aed67418dd4b5f3cf0c7f4388c00
  6. 0

    To Tomas:about jdk,jboss,database

    ejbca | 1 decade ago | jordanxiao
    ejb.EJBException: Update failed. Expected one affected row: rowsAffected=0id=ecc 690544511ad0fabfecc364138f2afb0436c55)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.ejb.EJBException

      Update failed. Expected one affected row: rowsAffected=0id=7b042fe3499a277cc0425f8d391d7ae919e6b659

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute()
    2. JBoss Application Server Server
      CMPPersistenceManager.storeEntity
      1. org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:102)
      2. org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStoreManager.java:589)
      3. org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:458)
      3 frames
    3. JBoss Application Server Connector
      CachedConnectionInterceptor.storeEntity
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:388)
      1 frame
    4. JBoss Application Server Server
      GlobalTxEntityMap$GlobalTxEntityMapCleanup.beforeCompletion
      1. org.jboss.ejb.GlobalTxEntityMap.synchronizeEntities(GlobalTxEntityMap.java:134)
      2. org.jboss.ejb.GlobalTxEntityMap$GlobalTxEntityMapCleanup.beforeCompletion(GlobalTxEntityMap.java:193)
      2 frames
    5. JBoss Transaction 7.1.0 SPI
      TransactionImpl.commit
      1. org.jboss.tm.TxCapsule.doBeforeCompletion(TxCapsule.java:1416)
      2. org.jboss.tm.TxCapsule.commit(TxCapsule.java:368)
      3. org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:73)
      3 frames
    6. JBoss Application Server Server
      Container.invoke
      1. org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:365)
      2. org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:390)
      3. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:247)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:98)
      5. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      6. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:208)
      7. org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      8. org.jboss.ejb.Container.invoke(Container.java:738)
      8 frames
    7. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      1 frame
    8. JBoss Application Server Server
      JRMPInvoker.invoke
      1. org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:383)
      1 frame
    9. Java RT
      Thread.run
      1. sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      4. sun.rmi.transport.Transport$1.run(Transport.java:148)
      5. java.security.AccessController.doPrivileged(Native Method)
      6. sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      7. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      8. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      9. java.lang.Thread.run(Thread.java:536)
      9 frames