javax.ejb.DuplicateKeyException: Entity with primary key 98b4a12c3489d317608cff7f83d586c1e261cc47 already exists

ejbca | askahsu | 1 decade ago
  1. 0

    Error storing certificate in LDAP

    ejbca | 1 decade ago | askahsu
    javax.ejb.DuplicateKeyException: Entity with primary key 98b4a12c3489d317608cff7f83d586c1e261cc47 already exists
  2. 0

    DuplicateKeyException, but the id is not in the database!

    Oracle Community | 1 decade ago | 3004
    javax.ejb.DuplicateKeyException: Bean with primary key: '8530' already exists.
  3. 0

    DuplicateKeyException, but the id is not in the database!

    Google Groups | 1 decade ago | Russell Castagnaro
    javax.ejb.DuplicateKeyException: Bean with primary key: '8530' already exists.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem installing petstore demo

    Oracle Community | 1 decade ago | 337527
    javax.ejb.DuplicateKeyException: Entity already exists
  6. 0

    Multiple ManytoMany in a Single Class throws

    openxava | 8 years ago | csplrj
    javax.ejb.DuplicateKeyException: Impossible to create: an object with that key already exists

    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.DuplicateKeyException

      Entity with primary key 98b4a12c3489d317608cff7f83d586c1e261cc47 already exists

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.execute()
    2. JBoss Application Server Server
      CMPPersistenceManager.createEntity
      1. org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.execute(JDBCCreateEntityCommand.java:128)
      2. org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:527)
      3. org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:253)
      3 frames
    3. JBoss Application Server Connector
      CachedConnectionInterceptor.createEntity
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:270)
      1 frame
    4. JBoss Application Server Server
      EntityContainer.createLocalHome
      1. org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:580)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    6. JBoss Application Server Server
      EntitySynchronizationInterceptor.invokeHome
      1. org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1119)
      2. org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:73)
      3. org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:206)
      3 frames
    7. JBoss Application Server Connector
      CachedConnectionInterceptor.invokeHome
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215)
      1 frame
    8. JBoss Application Server Server
      LocalHomeProxy.invoke
      1. org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:73)
      2. org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:90)
      3. org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:79)
      4. org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:44)
      5. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:111)
      6. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
      7. org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52)
      8. org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:105)
      9. org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:129)
      10. org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:487)
      11. org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(BaseLocalContainerInvoker.java:230)
      12. org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
      12 frames
    9. Unknown
      $Proxy52.create
      1. $Proxy52.create(Unknown Source)
      1 frame
    10. se.anatom.ejbca
      LocalCertificateStoreSessionBean.storeCertificate
      1. se.anatom.ejbca.ca.store.LocalCertificateStoreSessionBean.storeCertificate(LocalCertificateStoreSessionBean.java:106)
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    12. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:660)
      1 frame
    13. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      1 frame
    14. JBoss Application Server Server
      Container.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:77)
      2. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
      3. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
      5. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      6. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
      7. org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      8. org.jboss.ejb.Container.invoke(Container.java:712)
      8 frames
    15. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      1 frame
    16. JBoss Application Server Server
      JRMPInvoker.invoke
      1. org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382)
      1 frame
    17. Java RT
      Thread.run
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      5. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      6. sun.rmi.transport.Transport$1.run(Transport.java:148)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      9. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      10. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      11. java.lang.Thread.run(Thread.java:536)
      11 frames