jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prathap Gupta <jackrabbit...@gmail.com>
Subject BundleDbPersistenceManager - default initialization fail on MySQL with duplicate entry error
Date Wed, 10 Feb 2010 07:49:44 GMT
Hi,

I am new to Jackrabbit and trying to use jackrabbit 2.0 webapp with MySQL
database. Whenever the tomcat server is started, the default initialization
is failed with the following error. Could somebody point me to the error
fix.

MySqlPersistenceManager is being used.

Thanks in advance.

Here is the error:

*09.02.2010 22:31:59 *INFO * RepositoryImpl: initializing workspace
'default'...
*(RepositoryImpl.java, line 1993)
09.02.2010 22:31:59 *INFO * ConnectionRecoveryManager: Database: MySQL /
5.0.18-
nt-log (ConnectionRecoveryManager.java, line 345)
09.02.2010 22:31:59 *INFO * ConnectionRecoveryManager: Driver: MySQL-AB JDBC
Dri
ver / mysql-connector-java-5.0.4 ( $Date: 2006-10-19 17:47:48 +0200 (Thu, 19
Oct
 2006) $, $Revision: 5908 $ ) (ConnectionRecoveryManager.java, line 346)
*09.02.2010 22:31:59 *ERROR* ConnectionRecoveryManager: could not execute
stateme
nt, reason: Duplicate entry '▐¡╛∩╩■║╛╩■║╛╩■║╛' for key 1, state/code:
23000/1062
* (ConnectionRecoveryManager.java, line 453)
*09.02.2010 22:31:59 *ERROR* BundleDbPersistenceManager: failed to write
bundle:deadbeef-cafe-babe-cafe-babecafebabe
(BundleDbPersistenceManager.java, line 1210)
*com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException:
Duplicate
entry '▐¡╛∩╩■║╛╩■║╛╩■║╛' for key 1
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message