Error when run JBOSS

anhvh
2014-01-05
2014-01-28
  • anhvh

    anhvh - 2014-01-05

    hi,
    I'm student. Now i have a server CA: JBOSS 5.1, EJBCA 4.0.12 and MySQL
    when i run JBOSS, the following error

    2014-01-05 01:17:33,706 WARN [org.hibernate.util.JDBCExceptionReporter]
    (EJB-Timer-1388859418349[target=jboss.j2ee:ear=ejbca.ear,jar=ejbca-ejb.jar,name=ServiceSessionBean,service=EJB3])
    SQL Error: 1296, SQLState: HY000
    2014-01-05 01:17:33,706 WARN [org.hibernate.util.JDBCExceptionReporter]
    (EJB-Timer-1388859418351[target=jboss.j2ee:ear=ejbca.ear,jar=ejbca-ejb.jar,name=ServiceSessionBean,service=EJB3])
    SQL Error: 1296, SQLState: HY000
    2014-01-05 01:17:33,709 ERROR [org.hibernate.util.JDBCExceptionReporter]
    (EJB-Timer-1388859418349[target=jboss.j2ee:ear=ejbca.ear,jar=ejbca-ejb.jar,name=ServiceSessionBean,service=EJB3])
    Got error 630 'Tuple already existed when attempting to insert' from NDB
    2014-01-05 01:17:33,709 ERROR [org.hibernate.util.JDBCExceptionReporter] (EJB-Timer-1388859418351[target=jboss.j2ee:ear=ejbca.ear,jar=ejbca-ejb.jar,name=ServiceSessionBean,service=EJB3]) Got error 630 'Tuple already existed when attempting to insert' from NDB
    2014-01-05 01:17:33,710 ERROR
    [org.hibernate.event.def.AbstractFlushingEventListener]
    (EJB-Timer-1388859418349[target=jboss.j2ee:ear=ejbca.ear,jar=ejbca-ejb.jar,name=ServiceSessionBean,service=EJB3])
    Could not synchronize database state with session org.hibernate.exception.GenericJDBCException: Could not execute JDBC
    batch update
    at
    org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
    at
    org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
    at
    org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    at
    org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
    at
    org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
    at
    org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)

    Caused by: java.sql.BatchUpdateException: Got error 630 'Tuple already
    existed when attempting to insert' from NDB
    ............

    ERROR [org.ejbca.core.model.log.OldLogDevice] Log device has generated an Exception

    I could not find a way to fix this on web. Hope you will help me!!

     
  • Tomas Gustavsson

    Are you using MySQL NDB cluster?

    If you use a regular database, for example using the Quick Start Guide of EJBCA. Does everything work then?

    Cheers;
    TOmas

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks