Continuum

Duplicate entry error during database migration from 1.2.2 to 1.3.3

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: Backlog
  • Component/s: None
  • Labels:
    None
  • Environment:
    Installed as a WAR under Tomcat
    Running with MySQL DB
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

I'm trying to migrate from continuum-1.2.2 to continuum 1.3.3.

I've followed this procedure: http://continuum.apache.org/docs/1.3.3/installation/upgrade.html (i.e export with data-management-cli-1.2.3.1 and import with data-management-cli-1.3.2).

I've managed to export but I've got an exception during import:
"Exception in thread "main" javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO `INSTALLATION` (`VAR_NAME`,`INSTALLATIONTYPE`,`NAME`,`VAR_VALUE`,`MODEL_ENCODING`,`INSTALLATION_ID`) VALUES (?,?,?,?,?,?)
at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:455)
......
NestedThrowablesStackTrace:
com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '4' for key 1"

When I look at the builds.xml file, there is no duplicate entry for installations...
Where am I wrong ? Please help, it's been awhile this stuff does not work.

Thanks

David

Issue Links

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: