continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (CONTINUUM-2339) unable to import exported build db
Date Tue, 18 Aug 2009 17:09:59 GMT
unable to import exported build db
----------------------------------

                 Key: CONTINUUM-2339
                 URL: http://jira.codehaus.org/browse/CONTINUUM-2339
             Project: Continuum
          Issue Type: Bug
          Components: Data Management
    Affects Versions: 1.2.3.1
            Reporter: Luca


executing:

NEW=jdbc:mysql://localhost
DRIVER="-driverClass com.mysql.jdbc.Driver -groupId mysql -artifactId mysql-connector-java
-artifactVersion 5.1.6"
CRED="-username continuum -password continuum"
VERSION=1.2.3.1
java -Xmx512m -jar data-management-cli-$VERSION-app.jar $DRIVER -buildsJdbcUrl $NEW/continuum
$CRED -mode IMPORT -databaseType OTHER


 [main] INFO org.apache.maven.continuum.management.DataManagementCli  - Processing Continuum
database...
6288 [main] INFO JPOX.JDO  - PersistenceManagerFactory - Vendor: JPOX  Version: 1.1.6
6288 [main] INFO JPOX.JDO  - PersistenceManagerFactory initialised for datastore URL=jdbc:mysql://localhost/continuum
driver=com.mysql.jdbc.Driver userName=continuum
6811 [main] INFO JPOX.RDBMS  - ================ DatabaseAdapter ==================
6811 [main] INFO JPOX.RDBMS  - Adapter : org.jpox.store.rdbms.adapter.MySQLAdapter
6812 [main] INFO JPOX.RDBMS  - Datastore : name="MySQL" version="5.0.45" (major=5, minor=0,
revision=45)
6812 [main] INFO JPOX.RDBMS  - Driver : name="MySQL-AB JDBC Driver" version="mysql-connector-java-5.1.6
( Revision: ${svn.Revision} )" (major=5, minor=1)
6812 [main] INFO JPOX.RDBMS  - ===================================================
6966 [main] INFO JPOX.RDBMS  - Creating table `DELETEME1250614999432`
7070 [main] INFO JPOX.RDBMS.Schema  - Schema Name could not be determined for this datastore
7071 [main] INFO JPOX.RDBMS  - Dropping table `DELETEME1250614999432`
7074 [main] INFO JPOX.RDBMS.Schema  - Initialising Catalog "continuum", Schema "" using "None"
auto-start option
7074 [main] INFO JPOX.RDBMS.Schema  - Catalog "continuum", Schema "" initialised - managing
0 classes
7153 [main] WARN JPOX.MetaData  - No manager for annotations was found in the CLASSPATH so
all annotations are ignored.
7903 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.system.Installation
[Table : `INSTALLATION`, InheritanceStrategy : new-table]
7914 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.system.Profile
[Table : `PROFILES`, InheritanceStrategy : new-table]
7914 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.project.Schedule
[Table : `SCHEDULE`, InheritanceStrategy : new-table]
7915 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.project.BuildDefinition
[Table : `BUILDDEFINITION`, InheritanceStrategy : new-table]
7915 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.project.BuildDefinitionTemplate
[Table : `BUILDDEFINITIONTEMPLATE`, InheritanceStrategy : new-table]
7924 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Field : org.apache.maven.continuum.model.project.BuildDefinitionTemplate.buildDefinitions
[Table : `BUILDDEFINITIONTEMPLATE_BUILDDEFINITIONS`]
7940 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Field : org.apache.maven.continuum.model.system.Profile.environmentVariables
[Table : `PROFILE_ENVIRONMENTVARIABLES`]
8288 [main] INFO JPOX.RDBMS  - Validated 1 index(es) for table `BUILDDEFINITIONTEMPLATE`
8295 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `BUILDDEFINITIONTEMPLATE`
8302 [main] INFO JPOX.RDBMS  - Validated 3 index(es) for table `BUILDDEFINITION`
8307 [main] INFO JPOX.RDBMS  - Validated 2 foreign key(s) for table `BUILDDEFINITION`
8310 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `BUILDDEFINITION`
8312 [main] INFO JPOX.RDBMS  - Validated 1 index(es) for table `SCHEDULE`
8315 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `SCHEDULE`
8318 [main] INFO JPOX.RDBMS  - Validated 3 index(es) for table `PROFILES`
8320 [main] INFO JPOX.RDBMS  - Validated 2 foreign key(s) for table `PROFILES`
8322 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROFILES`
8325 [main] INFO JPOX.RDBMS  - Validated 1 index(es) for table `INSTALLATION`
8329 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `INSTALLATION`
8333 [main] INFO JPOX.RDBMS  - Validated 2 index(es) for table `PROFILE_ENVIRONMENTVARIABLES`
8334 [main] INFO JPOX.RDBMS  - Validated 2 foreign key(s) for table `PROFILE_ENVIRONMENTVARIABLES`
8337 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROFILE_ENVIRONMENTVARIABLES`
8339 [main] INFO JPOX.RDBMS  - Validated 2 index(es) for table `BUILDDEFINITIONTEMPLATE_BUILDDEFINITIONS`
8343 [main] INFO JPOX.RDBMS  - Validated 2 foreign key(s) for table `BUILDDEFINITIONTEMPLATE_BUILDDEFINITIONS`
8348 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `BUILDDEFINITIONTEMPLATE_BUILDDEFINITIONS`
8438 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.project.ProjectDependency
[Table : `PROJECTDEPENDENCY`, InheritanceStrategy : new-table]
8440 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.scm.ChangeFile
[Table : `CHANGEFILE`, InheritanceStrategy : new-table]
8440 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.scm.ChangeSet
[Table : `CHANGESET`, InheritanceStrategy : new-table]
8441 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.scm.ScmResult
[Table : `SCMRESULT`, InheritanceStrategy : new-table]
8441 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.project.ProjectDeveloper
[Table : `PROJECTDEVELOPER`, InheritanceStrategy : new-table]
8441 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.project.ProjectNotifier
[Table : `PROJECTNOTIFIER`, InheritanceStrategy : new-table]
8442 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.continuum.model.repository.LocalRepository
[Table : `LOCALREPOSITORY`, InheritanceStrategy : new-table]
8442 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.project.ProjectGroup
[Table : `PROJECTGROUP`, InheritanceStrategy : new-table]
8443 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.project.Project
[Table : `PROJECT`, InheritanceStrategy : new-table]
8443 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.project.BuildResult
[Table : `BUILDRESULT`, InheritanceStrategy : new-table]
8448 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Field : org.apache.maven.continuum.model.project.ProjectNotifier.configuration
[Table : `PROJECTNOTIFIER_CONFIGURATION`]
8452 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Field : org.apache.maven.continuum.model.project.Project.buildDefinitions
[Table : `PROJECT_BUILDDEFINITIONS`]
8456 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Field : org.apache.maven.continuum.model.project.Project.notifiers
[Table : `PROJECT_NOTIFIERS`]
8466 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Field : org.apache.maven.continuum.model.project.ProjectGroup.buildDefinitions
[Table : `PROJECTGROUP_BUILDDEFINITIONS`]
8468 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Field : org.apache.maven.continuum.model.project.ProjectGroup.notifiers
[Table : `PROJECTGROUP_NOTIFIERS`]
8661 [main] INFO JPOX.RDBMS  - Validated 1 index(es) for table `PROJECTNOTIFIER`
8664 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROJECTNOTIFIER`
8667 [main] INFO JPOX.RDBMS  - Validated 2 index(es) for table `CHANGESET`
8668 [main] INFO JPOX.RDBMS  - Validated 1 foreign key(s) for table `CHANGESET`
8671 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `CHANGESET`
8673 [main] INFO JPOX.RDBMS  - Validated 1 index(es) for table `LOCALREPOSITORY`
8675 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `LOCALREPOSITORY`
8678 [main] INFO JPOX.RDBMS  - Validated 2 index(es) for table `CHANGEFILE`
8679 [main] INFO JPOX.RDBMS  - Validated 1 foreign key(s) for table `CHANGEFILE`
8682 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `CHANGEFILE`
8685 [main] INFO JPOX.RDBMS  - Validated 4 index(es) for table `PROJECT`
8690 [main] INFO JPOX.RDBMS  - Validated 3 foreign key(s) for table `PROJECT`
8692 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROJECT`
8695 [main] INFO JPOX.RDBMS  - Validated 3 index(es) for table `PROJECTDEPENDENCY`
8696 [main] INFO JPOX.RDBMS  - Validated 2 foreign key(s) for table `PROJECTDEPENDENCY`
8698 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROJECTDEPENDENCY`
8705 [main] INFO JPOX.RDBMS  - Validated 2 index(es) for table `PROJECTDEVELOPER`
8706 [main] INFO JPOX.RDBMS  - Validated 1 foreign key(s) for table `PROJECTDEVELOPER`
8709 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROJECTDEVELOPER`
8712 [main] INFO JPOX.RDBMS  - Validated 4 index(es) for table `BUILDRESULT`
8714 [main] INFO JPOX.RDBMS  - Validated 3 foreign key(s) for table `BUILDRESULT`
8716 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `BUILDRESULT`
8723 [main] INFO JPOX.RDBMS  - Validated 2 index(es) for table `PROJECTGROUP`
8724 [main] INFO JPOX.RDBMS  - Validated 1 foreign key(s) for table `PROJECTGROUP`
8727 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROJECTGROUP`
8729 [main] INFO JPOX.RDBMS  - Validated 1 index(es) for table `SCMRESULT`
8732 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `SCMRESULT`
8736 [main] INFO JPOX.RDBMS  - Validated 1 index(es) for table `PROJECTNOTIFIER_CONFIGURATION`
8737 [main] INFO JPOX.RDBMS  - Validated 1 foreign key(s) for table `PROJECTNOTIFIER_CONFIGURATION`
8739 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROJECTNOTIFIER_CONFIGURATION`
8742 [main] INFO JPOX.RDBMS  - Validated 2 index(es) for table `PROJECT_NOTIFIERS`
8743 [main] INFO JPOX.RDBMS  - Validated 2 foreign key(s) for table `PROJECT_NOTIFIERS`
8745 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROJECT_NOTIFIERS`
8747 [main] INFO JPOX.RDBMS  - Validated 2 index(es) for table `PROJECTGROUP_NOTIFIERS`
8749 [main] INFO JPOX.RDBMS  - Validated 2 foreign key(s) for table `PROJECTGROUP_NOTIFIERS`
8751 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROJECTGROUP_NOTIFIERS`
8754 [main] INFO JPOX.RDBMS  - Validated 2 index(es) for table `PROJECTGROUP_BUILDDEFINITIONS`
8755 [main] INFO JPOX.RDBMS  - Validated 2 foreign key(s) for table `PROJECTGROUP_BUILDDEFINITIONS`
8757 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROJECTGROUP_BUILDDEFINITIONS`
8759 [main] INFO JPOX.RDBMS  - Validated 2 index(es) for table `PROJECT_BUILDDEFINITIONS`
8761 [main] INFO JPOX.RDBMS  - Validated 2 foreign key(s) for table `PROJECT_BUILDDEFINITIONS`
8765 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROJECT_BUILDDEFINITIONS`
8785 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.continuum.model.release.ContinuumReleaseResult
[Table : `CONTINUUMRELEASERESULT`, InheritanceStrategy : new-table]
8941 [main] INFO JPOX.RDBMS  - Validated 3 index(es) for table `CONTINUUMRELEASERESULT`
8943 [main] INFO JPOX.RDBMS  - Validated 2 foreign key(s) for table `CONTINUUMRELEASERESULT`
8946 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `CONTINUUMRELEASERESULT`
9040 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.continuum.model.repository.AbstractPurgeConfiguration
[Table : `ABSTRACTPURGECONFIGURATION`, InheritanceStrategy : new-table]
9041 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.continuum.model.repository.RepositoryPurgeConfiguration
[Table : `REPOSITORYPURGECONFIGURATION`, InheritanceStrategy : new-table]
9175 [main] INFO JPOX.RDBMS  - Validated 2 index(es) for table `REPOSITORYPURGECONFIGURATION`
9178 [main] INFO JPOX.RDBMS  - Validated 2 foreign key(s) for table `REPOSITORYPURGECONFIGURATION`
9183 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `REPOSITORYPURGECONFIGURATION`
9185 [main] INFO JPOX.RDBMS  - Validated 2 index(es) for table `ABSTRACTPURGECONFIGURATION`
9186 [main] INFO JPOX.RDBMS  - Validated 1 foreign key(s) for table `ABSTRACTPURGECONFIGURATION`
9188 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `ABSTRACTPURGECONFIGURATION`
9224 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.continuum.model.repository.DirectoryPurgeConfiguration
[Table : `DIRECTORYPURGECONFIGURATION`, InheritanceStrategy : new-table]
9347 [main] INFO JPOX.RDBMS  - Validated 1 index(es) for table `DIRECTORYPURGECONFIGURATION`
9349 [main] INFO JPOX.RDBMS  - Validated 1 foreign key(s) for table `DIRECTORYPURGECONFIGURATION`
9351 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `DIRECTORYPURGECONFIGURATION`
9483 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.system.SystemConfiguration
[Table : `SYSTEMCONFIGURATION`, InheritanceStrategy : new-table]
9596 [main] INFO JPOX.RDBMS  - Validated 1 index(es) for table `SYSTEMCONFIGURATION`
9598 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `SYSTEMCONFIGURATION`
51519 [main] INFO JPOX.JDO  - PersistenceManagerFactory - Vendor: JPOX  Version: 1.1.6
51520 [main] INFO JPOX.JDO  - PersistenceManagerFactory initialised for datastore URL=jdbc:mysql://localhost/continuum
driver=com.mysql.jdbc.Driver userName=continuum
51538 [main] INFO JPOX.RDBMS  - ================ DatabaseAdapter ==================
51539 [main] INFO JPOX.RDBMS  - Adapter : org.jpox.store.rdbms.adapter.MySQLAdapter
51539 [main] INFO JPOX.RDBMS  - Datastore : name="MySQL" version="5.0.45" (major=5, minor=0,
revision=45)
51539 [main] INFO JPOX.RDBMS  - Driver : name="MySQL-AB JDBC Driver" version="mysql-connector-java-5.1.6
( Revision: ${svn.Revision} )" (major=5, minor=1)
51539 [main] INFO JPOX.RDBMS  - ===================================================
51542 [main] INFO JPOX.RDBMS  - Creating table `DELETEME1250615044085`
51560 [main] INFO JPOX.RDBMS.Schema  - Schema Name could not be determined for this datastore
51561 [main] INFO JPOX.RDBMS  - Dropping table `DELETEME1250615044085`
51563 [main] INFO JPOX.RDBMS.Schema  - Initialising Catalog "continuum", Schema "" using "None"
auto-start option
51564 [main] INFO JPOX.RDBMS.Schema  - Catalog "continuum", Schema "" initialised - managing
0 classes
51574 [main] WARN JPOX.MetaData  - No manager for annotations was found in the CLASSPATH so
all annotations are ignored.
51626 [main] INFO JPOX.MetaData  - Class org.apache.maven.continuum.model.project.ProjectGroup
specified to use "application identity" but no "objectid-class" was specified. Reverting to
javax.jdo.identity.IntIdentity
51638 [main] INFO JPOX.MetaData  - Class org.apache.maven.continuum.model.project.Project
specified to use "application identity" but no "objectid-class" was specified. Reverting to
javax.jdo.identity.IntIdentity
51647 [main] INFO JPOX.MetaData  - Class org.apache.maven.continuum.model.project.ProjectNotifier
specified to use "application identity" but no "objectid-class" was specified. Reverting to
javax.jdo.identity.IntIdentity
51667 [main] INFO JPOX.MetaData  - Class org.apache.maven.continuum.model.project.BuildResult
specified to use "application identity" but no "objectid-class" was specified. Reverting to
javax.jdo.identity.IntIdentity
51675 [main] INFO JPOX.MetaData  - Class org.apache.maven.continuum.model.project.BuildDefinition
specified to use "application identity" but no "objectid-class" was specified. Reverting to
javax.jdo.identity.IntIdentity
51681 [main] INFO JPOX.MetaData  - Class org.apache.maven.continuum.model.project.BuildDefinitionTemplate
specified to use "application identity" but no "objectid-class" was specified. Reverting to
javax.jdo.identity.IntIdentity
51689 [main] INFO JPOX.MetaData  - Class org.apache.maven.continuum.model.project.Schedule
specified to use "application identity" but no "objectid-class" was specified. Reverting to
javax.jdo.identity.IntIdentity
51704 [main] INFO JPOX.MetaData  - Class org.apache.maven.continuum.model.system.Profile specified
to use "application identity" but no "objectid-class" was specified. Reverting to javax.jdo.identity.IntIdentity
51711 [main] INFO JPOX.MetaData  - Class org.apache.maven.continuum.model.system.Installation
specified to use "application identity" but no "objectid-class" was specified. Reverting to
javax.jdo.identity.IntIdentity
51730 [main] INFO JPOX.MetaData  - Class org.apache.continuum.model.release.ContinuumReleaseResult
specified to use "application identity" but no "objectid-class" was specified. Reverting to
javax.jdo.identity.IntIdentity
51751 [main] INFO JPOX.MetaData  - Class org.apache.continuum.model.repository.LocalRepository
specified to use "application identity" but no "objectid-class" was specified. Reverting to
javax.jdo.identity.IntIdentity
51757 [main] INFO JPOX.MetaData  - Class org.apache.continuum.model.repository.AbstractPurgeConfiguration
specified to use "application identity" but no "objectid-class" was specified. Reverting to
javax.jdo.identity.IntIdentity
51805 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.system.SystemConfiguration
[Table : `SYSTEMCONFIGURATION`, InheritanceStrategy : new-table]
51928 [main] INFO JPOX.RDBMS  - Validated 1 index(es) for table `SYSTEMCONFIGURATION`
51930 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `SYSTEMCONFIGURATION`
51979 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.project.Schedule
[Table : `SCHEDULE`, InheritanceStrategy : new-table]
52101 [main] INFO JPOX.RDBMS  - Validated 1 index(es) for table `SCHEDULE`
52103 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `SCHEDULE`
52178 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.system.Installation
[Table : `INSTALLATION`, InheritanceStrategy : new-table]
52280 [main] INFO JPOX.RDBMS  - Validated 1 index(es) for table `INSTALLATION`
52283 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `INSTALLATION`
52330 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Class : org.apache.maven.continuum.model.system.Profile
[Table : `PROFILES`, InheritanceStrategy : new-table]
52332 [main] INFO JPOX.RDBMS.Schema  - Managing Persistence of Field : org.apache.maven.continuum.model.system.Profile.environmentVariables
[Table : `PROFILE_ENVIRONMENTVARIABLES`]
52444 [main] INFO JPOX.RDBMS  - Validated 3 index(es) for table `PROFILES`
52447 [main] INFO JPOX.RDBMS  - Validated 2 foreign key(s) for table `PROFILES`
52450 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROFILES`
52460 [main] INFO JPOX.RDBMS  - Validated 2 index(es) for table `PROFILE_ENVIRONMENTVARIABLES`
52461 [main] INFO JPOX.RDBMS  - Validated 2 foreign key(s) for table `PROFILE_ENVIRONMENTVARIABLES`
52463 [main] INFO JPOX.RDBMS  - Validated 1 unique key(s) for table `PROFILE_ENVIRONMENTVARIABLES`
Exception in thread "main" javax.jdo.JDODataStoreException: Insert request failed: INSERT
INTO `INSTALLATION` (`VAR_NAME`,`VAR_VALUE`,`MODEL_ENCODING`,`INSTALLATIONTYPE`,`NAME`,`INSTALLATION_ID`)
VALUES (?,?,?,?,?,?)
	at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:455)
	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
	at org.jpox.store.StoreManager.insert(StoreManager.java:920)
	at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3647)
	at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3626)
	at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1198)
	at org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1243)
	at org.jpox.store.rdbms.scostore.ElementContainerStore.validateElementForWriting(ElementContainerStore.java:393)
	at org.jpox.store.rdbms.scostore.AbstractListStore.internalAdd(AbstractListStore.java:1151)
	at org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStore.java:386)
	at org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.java:209)
	at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:464)
	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
	at org.jpox.store.StoreManager.insert(StoreManager.java:920)
	at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3647)
	at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3626)
	at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1198)
	at org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1261)
	at org.codehaus.plexus.jdo.PlexusJdoUtils.addObject(PlexusJdoUtils.java:97)
	at org.codehaus.plexus.jdo.PlexusJdoUtils.addObject(PlexusJdoUtils.java:78)
	at org.apache.maven.continuum.management.JdoDataManagementTool.restoreDatabase(JdoDataManagementTool.java:230)
	at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:270)
	at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:170)
NestedThrowablesStackTrace:
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry
'11' for key 1
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
	at com.mysql.jdbc.Util.getInstance(Util.java:381)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2542)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1734)
	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2019)
	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1937)
	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1922)
	at org.jpox.store.rdbms.RDBMSManager.executeStatementUpdate(RDBMSManager.java:572)
	at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:328)
	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
	at org.jpox.store.StoreManager.insert(StoreManager.java:920)
	at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3647)
	at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3626)
	at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1198)
	at org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1243)
	at org.jpox.store.rdbms.scostore.ElementContainerStore.validateElementForWriting(ElementContainerStore.java:393)
	at org.jpox.store.rdbms.scostore.AbstractListStore.internalAdd(AbstractListStore.java:1151)
	at org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStore.java:386)
	at org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.java:209)
	at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:464)
	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
	at org.jpox.store.StoreManager.insert(StoreManager.java:920)
	at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3647)
	at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3626)
	at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1198)
	at org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1261)
	at org.codehaus.plexus.jdo.PlexusJdoUtils.addObject(PlexusJdoUtils.java:97)
	at org.codehaus.plexus.jdo.PlexusJdoUtils.addObject(PlexusJdoUtils.java:78)
	at org.apache.maven.continuum.management.JdoDataManagementTool.restoreDatabase(JdoDataManagementTool.java:230)
	at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:270)
	at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:170)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message