javax.ejb.EJBException: Update failed. Expected one affected row: rowsAffected=0 id=30b1a351c732aed67418dd4b5f3cf0c7f4388c00

ejbca | jordanxiao | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 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
  2. 0

    Another problem: Expected one affected row

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

    Automated exception search integrated into your IDE

  4. 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)
  5. 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=0 id=30b1a351c732aed67418dd4b5f3cf0c7f4388c00

      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.runWithTransactions(TxInterceptorCMT.java:247)
      3. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:98)
      4. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      5. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:208)
      6. org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      7. org.jboss.ejb.Container.invoke(Container.java:738)
      7 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. java.lang.reflect.Method.invoke(Method.java:324)
      4. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      5. sun.rmi.transport.Transport$1.run(Transport.java:148)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      8. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      9. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      10. java.lang.Thread.run(Thread.java:536)
      10 frames