Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2.3
    • Fix Version/s: 1.3.3 (Beta)
    • Labels:
      None
    • Environment:
      Java version: 1.6.0_12
      OS name: "linux" version: "2.6.18-6-686" arch: "i386" Family: "unix"
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      The examples for export/import on http://continuum.apache.org/docs/1.2.3/installation/upgrade.html only use one parameter of -buildJdbcUrl or -usersJdbcUrl.
      Thus users might use two separate runs in order to backup the databases. However, then the export fails (as the user export requires the key.xml).

      When both options are specified, no problems occur.

      Furthermore the paths for the databases changed in continuum 12.3.
      Instead of data/continuum/database and data/users/database the paths are now data/databases/continuum and data/databases/users, respectively.

        Activity

        Hide
        Wendy Smoak added a comment -

        Please take a look at the latest docs and see if there is still a problem:

        http://continuum.apache.org/docs/1.2.3.1/installation/upgrade.html

        I left it with two separate commands, but used different directories for builds vs. users.

        Show
        Wendy Smoak added a comment - Please take a look at the latest docs and see if there is still a problem: http://continuum.apache.org/docs/1.2.3.1/installation/upgrade.html I left it with two separate commands, but used different directories for builds vs. users.
        Hide
        Tobias Scholl added a comment -

        Yes, there the problem still exists.

        Also, it seems to me the command line options and database urls are mixed up in the section on importing the data.
        http://continuum.apache.org/docs/1.2.3.1/installation/upgrade.html

        I will give more details on the exceptions.

        Show
        Tobias Scholl added a comment - Yes, there the problem still exists. Also, it seems to me the command line options and database urls are mixed up in the section on importing the data. http://continuum.apache.org/docs/1.2.3.1/installation/upgrade.html I will give more details on the exceptions.
        Hide
        Tobias Scholl added a comment -

        In my original post, I tried to migrate a 1.1-beta-4 instance to 1.2.3 and I experienced problems while exporting the data.
        However, the problem also occurs when I try to export only the user database from a 1.2.3 instance using the 1.2.3.1 data management client.

        Below, I give you the detailed information. Again, when specifying both options together, the export command succeeds.

        === Version 1.1-beta-4 (users only) ===

        user@host:/tmp$ java -Xmx512m -jar data-management-cli-1.1-beta-4-app.jar -usersJdbcUrl jdbc:derby:/test/continuum-1.1-beta-4/data/users/database -mode EXPORT -directory back1.1-beta-4 0 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Redback database...
        2809 [main] WARN JPOX.JDO - Property org.jpox.validateSchema unknown - will be ignored
        3069 [main] INFO JPOX.JDO - PersistenceManagerFactory - Vendor: JPOX Version: 1.1.6
        3069 [main] INFO JPOX.JDO - PersistenceManagerFactory initialised for datastore URL=jdbc:derby:/test/continuum-1.1-beta-4/data/users/database driver=org.apache.derby.jdbc.EmbeddedDriver userName=sa
        3972 [main] INFO JPOX.RDBMS - ================ DatabaseAdapter ==================
        3972 [main] INFO JPOX.RDBMS - Adapter : org.jpox.store.rdbms.adapter.DerbyAdapter
        3972 [main] INFO JPOX.RDBMS - Datastore : name="Apache Derby" version="10.1.3.1" (major=10, minor=1, revision=3)
        3972 [main] INFO JPOX.RDBMS - Driver : name="Apache Derby Embedded JDBC Driver" version="10.1.3.1" (major=10, minor=1)
        3972 [main] INFO JPOX.RDBMS - ===================================================
        4059 [main] INFO JPOX.RDBMS.Schema - Initialising Catalog "", Schema "SA" using "SchemaTable" auto-start option
        4901 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoRole since it was managed previously
        4901 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoOperation since it was managed previously
        4902 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoResource since it was managed previously
        4904 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.users.jdo.JdoUser since it was managed previously
        4904 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoPermission since it was managed previously
        4906 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey since it was managed previously
        4906 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment since it was managed previously
        4943 [main] WARN JPOX.MetaData - No manager for annotations was found in the CLASSPATH so all annotations are ignored.
        5264 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoOperation [Table : SECURITY_OPERATIONS, InheritanceStrategy : new-table]
        5272 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoResource [Table : SECURITY_RESOURCES, InheritanceStrategy : new-table]
        5273 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoPermission [Table : SECURITY_PERMISSIONS, InheritanceStrategy : new-table]
        5273 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoRole [Table : SECURITY_ROLES, InheritanceStrategy : new-table]
        5273 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.users.jdo.JdoUser [Table : JDOUSER, InheritanceStrategy : new-table]
        5274 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey [Table : JDOAUTHENTICATIONKEY, InheritanceStrategy : new-table]
        5274 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment [Table : SECURITY_USER_ASSIGNMENTS, InheritanceStrategy : new-table]
        5307 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment.roleNames [Table : SECURITY_USERASSIGNMENT_ROLENAMES]
        5311 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.rbac.jdo.JdoRole.childRoleNames [Table : SECURITY_ROLE_CHILDROLE_MAP]
        5312 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.rbac.jdo.JdoRole.permissions [Table : SECURITY_ROLE_PERMISSION_MAP]
        5315 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.users.jdo.JdoUser.previousEncodedPasswords [Table : JDOUSER_PREVIOUSENCODEDPASSWORDS]
        5491 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_RESOURCES
        5543 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SECURITY_RESOURCES
        5559 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOAUTHENTICATIONKEY
        5585 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table JDOAUTHENTICATIONKEY
        5591 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_USER_ASSIGNMENTS
        5634 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SECURITY_USER_ASSIGNMENTS
        5658 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_PERMISSIONS
        5689 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table SECURITY_PERMISSIONS
        5704 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table SECURITY_PERMISSIONS
        5710 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_OPERATIONS
        5733 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SECURITY_OPERATIONS
        5759 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_ROLES
        5813 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SECURITY_ROLES
        5820 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOUSER
        5852 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table JDOUSER
        5864 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_USERASSIGNMENT_ROLENAMES
        5883 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table SECURITY_USERASSIGNMENT_ROLENAMES
        5910 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table SECURITY_USERASSIGNMENT_ROLENAMES
        5957 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_ROLE_CHILDROLE_MAP
        5962 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table SECURITY_ROLE_CHILDROLE_MAP
        5988 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table SECURITY_ROLE_CHILDROLE_MAP
        5996 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOUSER_PREVIOUSENCODEDPASSWORDS
        6005 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table JDOUSER_PREVIOUSENCODEDPASSWORDS
        6009 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table JDOUSER_PREVIOUSENCODEDPASSWORDS
        6030 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_ROLE_PERMISSION_MAP
        6054 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table SECURITY_ROLE_PERMISSION_MAP
        6060 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table SECURITY_ROLE_PERMISSION_MAP
        6102 [main] INFO JPOX.RDBMS.Schema - Catalog "", Schema "SA" initialised - managing 11 classes
        Exception in thread "main" java.io.FileNotFoundException: back1.1-beta-4/keys.xml (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at java.io.FileWriter.<init>(FileWriter.java:73)
        at org.codehaus.plexus.redback.management.JdoDataManagementTool.backupKeyDatabase(JdoDataManagementTool.java:115)
        at org.apache.maven.continuum.management.redback.JdoDataManagementTool.backupDatabase(JdoDataManagementTool.java:66)
        at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:250)
        at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:165)

        === Version 1.2.3.1 (users only) ===

        user@host:/tmp$ java -Xmx512m -jar data-management-cli-1.2.3.1-app.jar -usersJdbcUrl jdbc:derby:/test/apache-continuum-1.2.3/data/databases/users -mode EXPORT -directory users
        0 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Redback database...
        3645 [main] WARN JPOX.JDO - Property org.jpox.validateSchema unknown - will be ignored
        3902 [main] INFO JPOX.JDO - PersistenceManagerFactory - Vendor: JPOX Version: 1.1.6
        3902 [main] INFO JPOX.JDO - PersistenceManagerFactory initialised for datastore URL=jdbc:derby:/test/apache-continuum-1.2.3/data/databases/users driver=org.apache.derby.jdbc.EmbeddedDriver userName=sa
        5023 [main] INFO JPOX.RDBMS - ================ DatabaseAdapter ==================
        5024 [main] INFO JPOX.RDBMS - Adapter : org.jpox.store.rdbms.adapter.DerbyAdapter
        5024 [main] INFO JPOX.RDBMS - Datastore : name="Apache Derby" version="10.1.3.1" (major=10, minor=1, revision=3)
        5024 [main] INFO JPOX.RDBMS - Driver : name="Apache Derby Embedded JDBC Driver" version="10.1.3.1" (major=10, minor=1)
        5024 [main] INFO JPOX.RDBMS - ===================================================
        5088 [main] INFO JPOX.RDBMS.Schema - Initialising Catalog "", Schema "SA" using "SchemaTable" auto-start option
        5667 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment since it was managed previously
        5668 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoRole since it was managed previously
        5670 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.users.jdo.JdoUser since it was managed previously
        5672 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey since it was managed previously
        5672 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoOperation since it was managed previously
        5673 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.users.jdo.UsersManagementModelloMetadata since it was managed previously
        5673 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoPermission since it was managed previously
        5674 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.RbacJdoModelModelloMetadata since it was managed previously
        5675 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.keys.jdo.RedbackKeyManagementJdoModelloMetadata since it was managed previously
        5675 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoResource since it was managed previously
        5715 [main] WARN JPOX.MetaData - No manager for annotations was found in the CLASSPATH so all annotations are ignored.
        6071 [main] WARN JPOX.JDO - Unknown Error during auto starter execution. : Error in MetaData for field "localRepository" in class "ProjectGroup" : this is declared as org.apache.continuum.model.repository.LocalRepository with "persistence-modifier=none" yet has either "default-fetch-group=true" or "primary-key=true" specified! These should be false.
        org.jpox.metadata.InvalidMetaDataException: Error in MetaData for field "localRepository" in class "ProjectGroup" : this is declared as org.apache.continuum.model.repository.LocalRepository with "persistence-modifier=none" yet has either "default-fetch-group=true" or "primary-key=true" specified! These should be false.
        at org.jpox.metadata.AbstractPropertyMetaData.populate(AbstractPropertyMetaData.java:820)
        at org.jpox.metadata.ClassMetaData.populatePropertyMetaData(ClassMetaData.java:434)
        at org.jpox.metadata.ClassMetaData.populate(ClassMetaData.java:251)
        at org.jpox.metadata.MetaDataManager.populateFileMetaData(MetaDataManager.java:1060)
        at org.jpox.metadata.JDOMetaDataManager.loadMetaDataForClass(JDOMetaDataManager.java:608)
        at org.jpox.metadata.JDOMetaDataManager.getMetaDataForClassInternal(JDOMetaDataManager.java:313)
        at org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:377)
        at org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:348)
        at org.jpox.store.rdbms.RDBMSManager$ClassAdder.getReferencedClasses(RDBMSManager.java:2881)
        at org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTables(RDBMSManager.java:2795)
        at org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:3309)
        at org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2554)
        at org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:2406)
        at org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:821)
        at org.jpox.store.StoreManager.initialiseAutoStart(StoreManager.java:475)
        at org.jpox.store.rdbms.RDBMSManager.initialiseSchema(RDBMSManager.java:735)
        at org.jpox.store.rdbms.RDBMSManager.<init>(RDBMSManager.java:268)
        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 org.jpox.util.ClassUtils.newInstance(ClassUtils.java:73)
        at org.jpox.store.StoreManagerFactory.getStoreManager(StoreManagerFactory.java:73)
        at org.jpox.AbstractPersistenceManager.getStoreManager(AbstractPersistenceManager.java:295)
        at org.jpox.AbstractPersistenceManager.<init>(AbstractPersistenceManager.java:217)
        at org.jpox.PersistenceManagerImpl.<init>(PersistenceManagerImpl.java:42)
        at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:178)
        at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:153)
        at org.codehaus.plexus.redback.keys.jdo.JdoKeyManager.getPersistenceManager(JdoKeyManager.java:164)
        at org.codehaus.plexus.redback.keys.jdo.JdoKeyManager.getAllKeys(JdoKeyManager.java:143)
        at org.codehaus.plexus.redback.management.JdoDataManagementTool.backupKeyDatabase(JdoDataManagementTool.java:112)
        at org.apache.maven.continuum.management.redback.JdoDataManagementTool.backupDatabase(JdoDataManagementTool.java:66)
        at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:265)
        at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:177)

        6071 [main] WARN JPOX.JDO - Illegal state of AutoStart, disabling it. To enable it, resolve earlier errors.
        6071 [main] INFO JPOX.RDBMS.Schema - Catalog "", Schema "SA" initialised - managing 0 classes
        6467 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey [Table : JDOAUTHENTICATIONKEY, InheritanceStrategy : new-table]
        6803 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOAUTHENTICATIONKEY
        6994 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table JDOAUTHENTICATIONKEY
        Exception in thread "main" java.io.FileNotFoundException: users/keys.xml (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at java.io.FileWriter.<init>(FileWriter.java:73)
        at org.codehaus.plexus.redback.management.JdoDataManagementTool.backupKeyDatabase(JdoDataManagementTool.java:115)
        at org.apache.maven.continuum.management.redback.JdoDataManagementTool.backupDatabase(JdoDataManagementTool.java:66)
        at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:265)
        at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:177)

        === Version 1.2.3.1 (both options) ===

        user@host:/tmp$ java -Xmx512m -jar data-management-cli-1.2.3.1-app.jar -usersJdbcUrl jdbc:derby:/test/apache-continuum-1.2.3/data/databases/users -buildsJdbcUrl jdbc:derby:/test/apache-continuum-1.2.3/data/databases/continuum -mode EXPORT -directory bar
        0 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Continuum database...
        5620 [main] INFO JPOX.JDO - PersistenceManagerFactory - Vendor: JPOX Version: 1.1.6
        5620 [main] INFO JPOX.JDO - PersistenceManagerFactory initialised for datastore URL=jdbc:derby:/test/apache-continuum-1.2.3/data/databases/continuum driver=org.apache.derby.jdbc.EmbeddedDriver userName=sa
        6864 [main] INFO JPOX.RDBMS - ================ DatabaseAdapter ==================
        6864 [main] INFO JPOX.RDBMS - Adapter : org.jpox.store.rdbms.adapter.DerbyAdapter
        6864 [main] INFO JPOX.RDBMS - Datastore : name="Apache Derby" version="10.1.3.1" (major=10, minor=1, revision=3)
        6864 [main] INFO JPOX.RDBMS - Driver : name="Apache Derby Embedded JDBC Driver" version="10.1.3.1" (major=10, minor=1)
        6865 [main] INFO JPOX.RDBMS - ===================================================
        7113 [main] INFO JPOX.RDBMS.Schema - Initialising Catalog "", Schema "SA" using "None" auto-start option
        7390 [main] INFO JPOX.RDBMS.Schema - Catalog "", Schema "SA" initialised - managing 0 classes
        7600 [main] WARN JPOX.MetaData - No manager for annotations was found in the CLASSPATH so all annotations are ignored.
        8418 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.system.SystemConfiguration [Table : SYSTEMCONFIGURATION, InheritanceStrategy : new-table]
        9164 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SYSTEMCONFIGURATION
        9354 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SYSTEMCONFIGURATION
        9665 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.system.Installation [Table : INSTALLATION, InheritanceStrategy : new-table]
        9667 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.system.Profile [Table : PROFILES, InheritanceStrategy : new-table]
        9667 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.Schedule [Table : SCHEDULE, InheritanceStrategy : new-table]
        9667 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.BuildDefinition [Table : BUILDDEFINITION, InheritanceStrategy : new-table]
        9667 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.continuum.model.repository.LocalRepository [Table : LOCALREPOSITORY, InheritanceStrategy : new-table]
        9668 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.ProjectNotifier [Table : PROJECTNOTIFIER, InheritanceStrategy : new-table]
        9668 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.ProjectDependency [Table : PROJECTDEPENDENCY, InheritanceStrategy : new-table]
        9668 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.scm.ChangeFile [Table : CHANGEFILE, InheritanceStrategy : new-table]
        9668 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.scm.ChangeSet [Table : CHANGESET, InheritanceStrategy : new-table]
        9669 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.scm.ScmResult [Table : SCMRESULT, InheritanceStrategy : new-table]
        9669 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.BuildResult [Table : BUILDRESULT, InheritanceStrategy : new-table]
        9669 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.ProjectDeveloper [Table : PROJECTDEVELOPER, InheritanceStrategy : new-table]
        9669 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.Project [Table : PROJECT, InheritanceStrategy : new-table]
        9669 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.ProjectGroup [Table : PROJECTGROUP, InheritanceStrategy : new-table]
        9676 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.apache.maven.continuum.model.project.ProjectNotifier.configuration [Table : PROJECTNOTIFIER_CONFIGURATION]
        9940 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.apache.maven.continuum.model.project.Project.buildDefinitions [Table : PROJECT_BUILDDEFINITIONS]
        9944 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.apache.maven.continuum.model.project.Project.notifiers [Table : PROJECT_NOTIFIERS]
        9954 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.apache.maven.continuum.model.project.ProjectGroup.buildDefinitions [Table : PROJECTGROUP_BUILDDEFINITIONS]
        9954 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.apache.maven.continuum.model.project.ProjectGroup.notifiers [Table : PROJECTGROUP_NOTIFIERS]
        10378 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.apache.maven.continuum.model.system.Profile.environmentVariables [Table : PROFILE_ENVIRONMENTVARIABLES]
        10734 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTNOTIFIER
        10744 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table PROJECTNOTIFIER
        10936 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table CHANGESET
        11232 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table CHANGESET
        11239 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table CHANGESET
        11250 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table LOCALREPOSITORY
        11750 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table LOCALREPOSITORY
        11759 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table CHANGEFILE
        11768 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table CHANGEFILE
        12229 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table CHANGEFILE
        12246 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECT
        12727 [main] INFO JPOX.RDBMS - Validated 3 foreign key(s) for table PROJECT
        12747 [main] INFO JPOX.RDBMS - Validated 4 index(es) for table PROJECT
        13185 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SCHEDULE
        13197 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SCHEDULE
        13205 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table INSTALLATION
        13744 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table INSTALLATION
        13750 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTDEPENDENCY
        13998 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROJECTDEPENDENCY
        14003 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROJECTDEPENDENCY
        14009 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTDEVELOPER
        14019 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table PROJECTDEVELOPER
        14400 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table PROJECTDEVELOPER
        14683 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table BUILDRESULT
        14693 [main] INFO JPOX.RDBMS - Validated 3 foreign key(s) for table BUILDRESULT
        14897 [main] INFO JPOX.RDBMS - Validated 4 index(es) for table BUILDRESULT
        14903 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTGROUP
        14908 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table PROJECTGROUP
        14917 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table PROJECTGROUP
        15270 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table BUILDDEFINITION
        15277 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table BUILDDEFINITION
        15286 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table BUILDDEFINITION
        15717 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SCMRESULT
        15737 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SCMRESULT
        16172 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROFILES
        16187 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROFILES
        16192 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROFILES
        16659 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROFILE_ENVIRONMENTVARIABLES
        16681 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROFILE_ENVIRONMENTVARIABLES
        17079 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROFILE_ENVIRONMENTVARIABLES
        17084 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTGROUP_BUILDDEFINITIONS
        17096 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROJECTGROUP_BUILDDEFINITIONS
        17425 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROJECTGROUP_BUILDDEFINITIONS
        17437 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECT_BUILDDEFINITIONS
        17811 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROJECT_BUILDDEFINITIONS
        17820 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROJECT_BUILDDEFINITIONS
        17831 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTNOTIFIER_CONFIGURATION
        17886 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table PROJECTNOTIFIER_CONFIGURATION
        17892 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table PROJECTNOTIFIER_CONFIGURATION
        17901 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTGROUP_NOTIFIERS
        17906 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROJECTGROUP_NOTIFIERS
        17919 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROJECTGROUP_NOTIFIERS
        17927 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECT_NOTIFIERS
        18044 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROJECT_NOTIFIERS
        18053 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROJECT_NOTIFIERS
        21339 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.continuum.model.repository.AbstractPurgeConfiguration [Table : ABSTRACTPURGECONFIGURATION, InheritanceStrategy : new-table]
        21339 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.continuum.model.repository.RepositoryPurgeConfiguration [Table : REPOSITORYPURGECONFIGURATION, InheritanceStrategy : new-table]
        21545 [main] INFO JPOX.RDBMS - Validated 2 unique key(s) for table REPOSITORYPURGECONFIGURATION
        21549 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table REPOSITORYPURGECONFIGURATION
        21552 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table REPOSITORYPURGECONFIGURATION
        21556 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table ABSTRACTPURGECONFIGURATION
        21563 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table ABSTRACTPURGECONFIGURATION
        21961 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table ABSTRACTPURGECONFIGURATION
        22190 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.continuum.model.repository.DirectoryPurgeConfiguration [Table : DIRECTORYPURGECONFIGURATION, InheritanceStrategy : new-table]22405 [main] INFO JPOX.RDBMS - Validated 2 unique key(s) for table DIRECTORYPURGECONFIGURATION
        22413 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table DIRECTORYPURGECONFIGURATION
        22422 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table DIRECTORYPURGECONFIGURATION
        22900 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Redback database...
        25668 [main] WARN JPOX.JDO - Property org.jpox.validateSchema unknown - will be ignored
        26132 [main] INFO JPOX.JDO - PersistenceManagerFactory - Vendor: JPOX Version: 1.1.6
        26132 [main] INFO JPOX.JDO - PersistenceManagerFactory initialised for datastore URL=jdbc:derby:/test/apache-continuum-1.2.3/data/databases/users driver=org.apache.derby.jdbc.EmbeddedDriver userName=sa
        27433 [main] INFO JPOX.RDBMS - ================ DatabaseAdapter ==================
        27433 [main] INFO JPOX.RDBMS - Adapter : org.jpox.store.rdbms.adapter.DerbyAdapter
        27434 [main] INFO JPOX.RDBMS - Datastore : name="Apache Derby" version="10.1.3.1" (major=10, minor=1, revision=3)
        27434 [main] INFO JPOX.RDBMS - Driver : name="Apache Derby Embedded JDBC Driver" version="10.1.3.1" (major=10, minor=1)
        27434 [main] INFO JPOX.RDBMS - ===================================================
        27644 [main] INFO JPOX.RDBMS.Schema - Initialising Catalog "", Schema "SA" using "SchemaTable" auto-start option
        28340 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoResource since it was managed previously
        28342 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.keys.jdo.RedbackKeyManagementJdoModelloMetadata since it was managed previously
        28344 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.users.jdo.JdoUser since it was managed previously
        28344 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoPermission since it was managed previously
        28344 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoRole since it was managed previously
        28346 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey since it was managed previously
        28347 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoOperation since it was managed previously
        28348 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.RbacJdoModelModelloMetadata since it was managed previously
        28349 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment since it was managed previously
        28350 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.users.jdo.UsersManagementModelloMetadata since it was managed previously
        28557 [main] WARN JPOX.MetaData - No manager for annotations was found in the CLASSPATH so all annotations are ignored.
        29518 [main] WARN JPOX.JDO - Unknown Error during auto starter execution. : Error in MetaData for field "localRepository" in class "ProjectGroup" : this is declared as org.apache.continuum.model.repository.LocalRepository with "persistence-modifier=none" yet has either "default-fetch-group=true" or "primary-key=true" specified! These should be false.
        org.jpox.metadata.InvalidMetaDataException: Error in MetaData for field "localRepository" in class "ProjectGroup" : this is declared as org.apache.continuum.model.repository.LocalRepository with "persistence-modifier=none" yet has either "default-fetch-group=true" or "primary-key=true" specified! These should be false.
        at org.jpox.metadata.AbstractPropertyMetaData.populate(AbstractPropertyMetaData.java:820)
        at org.jpox.metadata.ClassMetaData.populatePropertyMetaData(ClassMetaData.java:434)
        at org.jpox.metadata.ClassMetaData.populate(ClassMetaData.java:251)
        at org.jpox.metadata.MetaDataManager.populateFileMetaData(MetaDataManager.java:1060)
        at org.jpox.metadata.JDOMetaDataManager.loadMetaDataForClass(JDOMetaDataManager.java:608)
        at org.jpox.metadata.JDOMetaDataManager.getMetaDataForClassInternal(JDOMetaDataManager.java:313)
        at org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:377)
        at org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:348)
        at org.jpox.store.rdbms.RDBMSManager$ClassAdder.getReferencedClasses(RDBMSManager.java:2881)
        at org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTables(RDBMSManager.java:2795)
        at org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:3309)
        at org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2554)
        at org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:2406)
        at org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:821)
        at org.jpox.store.StoreManager.initialiseAutoStart(StoreManager.java:475)
        at org.jpox.store.rdbms.RDBMSManager.initialiseSchema(RDBMSManager.java:735)
        at org.jpox.store.rdbms.RDBMSManager.<init>(RDBMSManager.java:268)
        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 org.jpox.util.ClassUtils.newInstance(ClassUtils.java:73)
        at org.jpox.store.StoreManagerFactory.getStoreManager(StoreManagerFactory.java:73)
        at org.jpox.AbstractPersistenceManager.getStoreManager(AbstractPersistenceManager.java:295)
        at org.jpox.AbstractPersistenceManager.<init>(AbstractPersistenceManager.java:217)
        at org.jpox.PersistenceManagerImpl.<init>(PersistenceManagerImpl.java:42)
        at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:178)
        at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:153)
        at org.codehaus.plexus.redback.keys.jdo.JdoKeyManager.getPersistenceManager(JdoKeyManager.java:164)
        at org.codehaus.plexus.redback.keys.jdo.JdoKeyManager.getAllKeys(JdoKeyManager.java:143)
        at org.codehaus.plexus.redback.management.JdoDataManagementTool.backupKeyDatabase(JdoDataManagementTool.java:112)
        at org.apache.maven.continuum.management.redback.JdoDataManagementTool.backupDatabase(JdoDataManagementTool.java:66)
        at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:265)
        at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:177)

        29519 [main] WARN JPOX.JDO - Illegal state of AutoStart, disabling it. To enable it, resolve earlier errors.
        29519 [main] INFO JPOX.RDBMS.Schema - Catalog "", Schema "SA" initialised - managing 0 classes
        29864 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey [Table : JDOAUTHENTICATIONKEY, InheritanceStrategy : new-table]
        30188 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOAUTHENTICATIONKEY
        30418 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table JDOAUTHENTICATIONKEY
        31435 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoOperation [Table : SA.SECURITY_OPERATIONS, InheritanceStrategy : new-table]
        31435 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoResource [Table : SA.SECURITY_RESOURCES, InheritanceStrategy : new-table]
        31435 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoPermission [Table : SA.SECURITY_PERMISSIONS, InheritanceStrategy : new-table]
        31435 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoRole [Table : SA.SECURITY_ROLES, InheritanceStrategy : new-table]
        31460 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.rbac.jdo.JdoRole.childRoleNames [Table : SA.SECURITY_ROLE_CHILDROLE_MAP]
        31820 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.rbac.jdo.JdoRole.permissions [Table : SA.SECURITY_ROLE_PERMISSION_MAP]
        32062 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_RESOURCES
        32074 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SA.SECURITY_RESOURCES
        32086 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_PERMISSIONS
        32579 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table SA.SECURITY_PERMISSIONS
        32592 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table SA.SECURITY_PERMISSIONS
        32791 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_OPERATIONS
        32798 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SA.SECURITY_OPERATIONS
        32802 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_ROLES
        32997 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SA.SECURITY_ROLES
        33006 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_ROLE_PERMISSION_MAP
        33017 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table SA.SECURITY_ROLE_PERMISSION_MAP
        33385 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table SA.SECURITY_ROLE_PERMISSION_MAP
        33390 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_ROLE_CHILDROLE_MAP
        33406 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table SA.SECURITY_ROLE_CHILDROLE_MAP
        33780 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table SA.SECURITY_ROLE_CHILDROLE_MAP
        34508 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment [Table : SA.SECURITY_USER_ASSIGNMENTS, InheritanceStrategy : new-table]
        34509 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment.roleNames [Table : SA.SECURITY_USERASSIGNMENT_ROLENAMES]
        34719 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_USER_ASSIGNMENTS
        34726 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SA.SECURITY_USER_ASSIGNMENTS
        34729 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_USERASSIGNMENT_ROLENAMES
        34736 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table SA.SECURITY_USERASSIGNMENT_ROLENAMES
        35182 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table SA.SECURITY_USERASSIGNMENT_ROLENAMES
        35537 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.users.jdo.JdoUser [Table : JDOUSER, InheritanceStrategy : new-table]
        35538 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.users.jdo.JdoUser.previousEncodedPasswords [Table : JDOUSER_PREVIOUSENCODEDPASSWORDS]
        35744 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOUSER
        35753 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table JDOUSER
        35760 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOUSER_PREVIOUSENCODEDPASSWORDS
        35765 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table JDOUSER_PREVIOUSENCODEDPASSWORDS
        36160 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table JDOUSER_PREVIOUSENCODEDPASSWORDS

        Show
        Tobias Scholl added a comment - In my original post, I tried to migrate a 1.1-beta-4 instance to 1.2.3 and I experienced problems while exporting the data. However, the problem also occurs when I try to export only the user database from a 1.2.3 instance using the 1.2.3.1 data management client. Below, I give you the detailed information. Again, when specifying both options together, the export command succeeds. === Version 1.1-beta-4 (users only) === user@host:/tmp$ java -Xmx512m -jar data-management-cli-1.1-beta-4-app.jar -usersJdbcUrl jdbc:derby:/test/continuum-1.1-beta-4/data/users/database -mode EXPORT -directory back1.1-beta-4 0 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Redback database... 2809 [main] WARN JPOX.JDO - Property org.jpox.validateSchema unknown - will be ignored 3069 [main] INFO JPOX.JDO - PersistenceManagerFactory - Vendor: JPOX Version: 1.1.6 3069 [main] INFO JPOX.JDO - PersistenceManagerFactory initialised for datastore URL=jdbc:derby:/test/continuum-1.1-beta-4/data/users/database driver=org.apache.derby.jdbc.EmbeddedDriver userName=sa 3972 [main] INFO JPOX.RDBMS - ================ DatabaseAdapter ================== 3972 [main] INFO JPOX.RDBMS - Adapter : org.jpox.store.rdbms.adapter.DerbyAdapter 3972 [main] INFO JPOX.RDBMS - Datastore : name="Apache Derby" version="10.1.3.1" (major=10, minor=1, revision=3) 3972 [main] INFO JPOX.RDBMS - Driver : name="Apache Derby Embedded JDBC Driver" version="10.1.3.1" (major=10, minor=1) 3972 [main] INFO JPOX.RDBMS - =================================================== 4059 [main] INFO JPOX.RDBMS.Schema - Initialising Catalog "", Schema "SA" using "SchemaTable" auto-start option 4901 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoRole since it was managed previously 4901 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoOperation since it was managed previously 4902 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoResource since it was managed previously 4904 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.users.jdo.JdoUser since it was managed previously 4904 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoPermission since it was managed previously 4906 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey since it was managed previously 4906 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment since it was managed previously 4943 [main] WARN JPOX.MetaData - No manager for annotations was found in the CLASSPATH so all annotations are ignored. 5264 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoOperation [Table : SECURITY_OPERATIONS, InheritanceStrategy : new-table] 5272 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoResource [Table : SECURITY_RESOURCES, InheritanceStrategy : new-table] 5273 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoPermission [Table : SECURITY_PERMISSIONS, InheritanceStrategy : new-table] 5273 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoRole [Table : SECURITY_ROLES, InheritanceStrategy : new-table] 5273 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.users.jdo.JdoUser [Table : JDOUSER, InheritanceStrategy : new-table] 5274 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey [Table : JDOAUTHENTICATIONKEY, InheritanceStrategy : new-table] 5274 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment [Table : SECURITY_USER_ASSIGNMENTS, InheritanceStrategy : new-table] 5307 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment.roleNames [Table : SECURITY_USERASSIGNMENT_ROLENAMES] 5311 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.rbac.jdo.JdoRole.childRoleNames [Table : SECURITY_ROLE_CHILDROLE_MAP] 5312 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.rbac.jdo.JdoRole.permissions [Table : SECURITY_ROLE_PERMISSION_MAP] 5315 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.users.jdo.JdoUser.previousEncodedPasswords [Table : JDOUSER_PREVIOUSENCODEDPASSWORDS] 5491 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_RESOURCES 5543 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SECURITY_RESOURCES 5559 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOAUTHENTICATIONKEY 5585 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table JDOAUTHENTICATIONKEY 5591 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_USER_ASSIGNMENTS 5634 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SECURITY_USER_ASSIGNMENTS 5658 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_PERMISSIONS 5689 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table SECURITY_PERMISSIONS 5704 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table SECURITY_PERMISSIONS 5710 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_OPERATIONS 5733 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SECURITY_OPERATIONS 5759 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_ROLES 5813 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SECURITY_ROLES 5820 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOUSER 5852 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table JDOUSER 5864 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_USERASSIGNMENT_ROLENAMES 5883 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table SECURITY_USERASSIGNMENT_ROLENAMES 5910 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table SECURITY_USERASSIGNMENT_ROLENAMES 5957 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_ROLE_CHILDROLE_MAP 5962 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table SECURITY_ROLE_CHILDROLE_MAP 5988 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table SECURITY_ROLE_CHILDROLE_MAP 5996 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOUSER_PREVIOUSENCODEDPASSWORDS 6005 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table JDOUSER_PREVIOUSENCODEDPASSWORDS 6009 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table JDOUSER_PREVIOUSENCODEDPASSWORDS 6030 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SECURITY_ROLE_PERMISSION_MAP 6054 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table SECURITY_ROLE_PERMISSION_MAP 6060 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table SECURITY_ROLE_PERMISSION_MAP 6102 [main] INFO JPOX.RDBMS.Schema - Catalog "", Schema "SA" initialised - managing 11 classes Exception in thread "main" java.io.FileNotFoundException: back1.1-beta-4/keys.xml (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at java.io.FileWriter.<init>(FileWriter.java:73) at org.codehaus.plexus.redback.management.JdoDataManagementTool.backupKeyDatabase(JdoDataManagementTool.java:115) at org.apache.maven.continuum.management.redback.JdoDataManagementTool.backupDatabase(JdoDataManagementTool.java:66) at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:250) at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:165) === Version 1.2.3.1 (users only) === user@host:/tmp$ java -Xmx512m -jar data-management-cli-1.2.3.1-app.jar -usersJdbcUrl jdbc:derby:/test/apache-continuum-1.2.3/data/databases/users -mode EXPORT -directory users 0 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Redback database... 3645 [main] WARN JPOX.JDO - Property org.jpox.validateSchema unknown - will be ignored 3902 [main] INFO JPOX.JDO - PersistenceManagerFactory - Vendor: JPOX Version: 1.1.6 3902 [main] INFO JPOX.JDO - PersistenceManagerFactory initialised for datastore URL=jdbc:derby:/test/apache-continuum-1.2.3/data/databases/users driver=org.apache.derby.jdbc.EmbeddedDriver userName=sa 5023 [main] INFO JPOX.RDBMS - ================ DatabaseAdapter ================== 5024 [main] INFO JPOX.RDBMS - Adapter : org.jpox.store.rdbms.adapter.DerbyAdapter 5024 [main] INFO JPOX.RDBMS - Datastore : name="Apache Derby" version="10.1.3.1" (major=10, minor=1, revision=3) 5024 [main] INFO JPOX.RDBMS - Driver : name="Apache Derby Embedded JDBC Driver" version="10.1.3.1" (major=10, minor=1) 5024 [main] INFO JPOX.RDBMS - =================================================== 5088 [main] INFO JPOX.RDBMS.Schema - Initialising Catalog "", Schema "SA" using "SchemaTable" auto-start option 5667 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment since it was managed previously 5668 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoRole since it was managed previously 5670 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.users.jdo.JdoUser since it was managed previously 5672 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey since it was managed previously 5672 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoOperation since it was managed previously 5673 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.users.jdo.UsersManagementModelloMetadata since it was managed previously 5673 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoPermission since it was managed previously 5674 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.RbacJdoModelModelloMetadata since it was managed previously 5675 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.keys.jdo.RedbackKeyManagementJdoModelloMetadata since it was managed previously 5675 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoResource since it was managed previously 5715 [main] WARN JPOX.MetaData - No manager for annotations was found in the CLASSPATH so all annotations are ignored. 6071 [main] WARN JPOX.JDO - Unknown Error during auto starter execution. : Error in MetaData for field "localRepository" in class "ProjectGroup" : this is declared as org.apache.continuum.model.repository.LocalRepository with "persistence-modifier=none" yet has either "default-fetch-group=true" or "primary-key=true" specified! These should be false. org.jpox.metadata.InvalidMetaDataException: Error in MetaData for field "localRepository" in class "ProjectGroup" : this is declared as org.apache.continuum.model.repository.LocalRepository with "persistence-modifier=none" yet has either "default-fetch-group=true" or "primary-key=true" specified! These should be false. at org.jpox.metadata.AbstractPropertyMetaData.populate(AbstractPropertyMetaData.java:820) at org.jpox.metadata.ClassMetaData.populatePropertyMetaData(ClassMetaData.java:434) at org.jpox.metadata.ClassMetaData.populate(ClassMetaData.java:251) at org.jpox.metadata.MetaDataManager.populateFileMetaData(MetaDataManager.java:1060) at org.jpox.metadata.JDOMetaDataManager.loadMetaDataForClass(JDOMetaDataManager.java:608) at org.jpox.metadata.JDOMetaDataManager.getMetaDataForClassInternal(JDOMetaDataManager.java:313) at org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:377) at org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:348) at org.jpox.store.rdbms.RDBMSManager$ClassAdder.getReferencedClasses(RDBMSManager.java:2881) at org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTables(RDBMSManager.java:2795) at org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:3309) at org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2554) at org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:2406) at org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:821) at org.jpox.store.StoreManager.initialiseAutoStart(StoreManager.java:475) at org.jpox.store.rdbms.RDBMSManager.initialiseSchema(RDBMSManager.java:735) at org.jpox.store.rdbms.RDBMSManager.<init>(RDBMSManager.java:268) 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 org.jpox.util.ClassUtils.newInstance(ClassUtils.java:73) at org.jpox.store.StoreManagerFactory.getStoreManager(StoreManagerFactory.java:73) at org.jpox.AbstractPersistenceManager.getStoreManager(AbstractPersistenceManager.java:295) at org.jpox.AbstractPersistenceManager.<init>(AbstractPersistenceManager.java:217) at org.jpox.PersistenceManagerImpl.<init>(PersistenceManagerImpl.java:42) at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:178) at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:153) at org.codehaus.plexus.redback.keys.jdo.JdoKeyManager.getPersistenceManager(JdoKeyManager.java:164) at org.codehaus.plexus.redback.keys.jdo.JdoKeyManager.getAllKeys(JdoKeyManager.java:143) at org.codehaus.plexus.redback.management.JdoDataManagementTool.backupKeyDatabase(JdoDataManagementTool.java:112) at org.apache.maven.continuum.management.redback.JdoDataManagementTool.backupDatabase(JdoDataManagementTool.java:66) at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:265) at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:177) 6071 [main] WARN JPOX.JDO - Illegal state of AutoStart, disabling it. To enable it, resolve earlier errors. 6071 [main] INFO JPOX.RDBMS.Schema - Catalog "", Schema "SA" initialised - managing 0 classes 6467 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey [Table : JDOAUTHENTICATIONKEY, InheritanceStrategy : new-table] 6803 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOAUTHENTICATIONKEY 6994 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table JDOAUTHENTICATIONKEY Exception in thread "main" java.io.FileNotFoundException: users/keys.xml (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at java.io.FileWriter.<init>(FileWriter.java:73) at org.codehaus.plexus.redback.management.JdoDataManagementTool.backupKeyDatabase(JdoDataManagementTool.java:115) at org.apache.maven.continuum.management.redback.JdoDataManagementTool.backupDatabase(JdoDataManagementTool.java:66) at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:265) at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:177) === Version 1.2.3.1 (both options) === user@host:/tmp$ java -Xmx512m -jar data-management-cli-1.2.3.1-app.jar -usersJdbcUrl jdbc:derby:/test/apache-continuum-1.2.3/data/databases/users -buildsJdbcUrl jdbc:derby:/test/apache-continuum-1.2.3/data/databases/continuum -mode EXPORT -directory bar 0 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Continuum database... 5620 [main] INFO JPOX.JDO - PersistenceManagerFactory - Vendor: JPOX Version: 1.1.6 5620 [main] INFO JPOX.JDO - PersistenceManagerFactory initialised for datastore URL=jdbc:derby:/test/apache-continuum-1.2.3/data/databases/continuum driver=org.apache.derby.jdbc.EmbeddedDriver userName=sa 6864 [main] INFO JPOX.RDBMS - ================ DatabaseAdapter ================== 6864 [main] INFO JPOX.RDBMS - Adapter : org.jpox.store.rdbms.adapter.DerbyAdapter 6864 [main] INFO JPOX.RDBMS - Datastore : name="Apache Derby" version="10.1.3.1" (major=10, minor=1, revision=3) 6864 [main] INFO JPOX.RDBMS - Driver : name="Apache Derby Embedded JDBC Driver" version="10.1.3.1" (major=10, minor=1) 6865 [main] INFO JPOX.RDBMS - =================================================== 7113 [main] INFO JPOX.RDBMS.Schema - Initialising Catalog "", Schema "SA" using "None" auto-start option 7390 [main] INFO JPOX.RDBMS.Schema - Catalog "", Schema "SA" initialised - managing 0 classes 7600 [main] WARN JPOX.MetaData - No manager for annotations was found in the CLASSPATH so all annotations are ignored. 8418 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.system.SystemConfiguration [Table : SYSTEMCONFIGURATION, InheritanceStrategy : new-table] 9164 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SYSTEMCONFIGURATION 9354 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SYSTEMCONFIGURATION 9665 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.system.Installation [Table : INSTALLATION, InheritanceStrategy : new-table] 9667 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.system.Profile [Table : PROFILES, InheritanceStrategy : new-table] 9667 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.Schedule [Table : SCHEDULE, InheritanceStrategy : new-table] 9667 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.BuildDefinition [Table : BUILDDEFINITION, InheritanceStrategy : new-table] 9667 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.continuum.model.repository.LocalRepository [Table : LOCALREPOSITORY, InheritanceStrategy : new-table] 9668 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.ProjectNotifier [Table : PROJECTNOTIFIER, InheritanceStrategy : new-table] 9668 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.ProjectDependency [Table : PROJECTDEPENDENCY, InheritanceStrategy : new-table] 9668 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.scm.ChangeFile [Table : CHANGEFILE, InheritanceStrategy : new-table] 9668 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.scm.ChangeSet [Table : CHANGESET, InheritanceStrategy : new-table] 9669 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.scm.ScmResult [Table : SCMRESULT, InheritanceStrategy : new-table] 9669 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.BuildResult [Table : BUILDRESULT, InheritanceStrategy : new-table] 9669 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.ProjectDeveloper [Table : PROJECTDEVELOPER, InheritanceStrategy : new-table] 9669 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.Project [Table : PROJECT, InheritanceStrategy : new-table] 9669 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.maven.continuum.model.project.ProjectGroup [Table : PROJECTGROUP, InheritanceStrategy : new-table] 9676 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.apache.maven.continuum.model.project.ProjectNotifier.configuration [Table : PROJECTNOTIFIER_CONFIGURATION] 9940 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.apache.maven.continuum.model.project.Project.buildDefinitions [Table : PROJECT_BUILDDEFINITIONS] 9944 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.apache.maven.continuum.model.project.Project.notifiers [Table : PROJECT_NOTIFIERS] 9954 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.apache.maven.continuum.model.project.ProjectGroup.buildDefinitions [Table : PROJECTGROUP_BUILDDEFINITIONS] 9954 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.apache.maven.continuum.model.project.ProjectGroup.notifiers [Table : PROJECTGROUP_NOTIFIERS] 10378 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.apache.maven.continuum.model.system.Profile.environmentVariables [Table : PROFILE_ENVIRONMENTVARIABLES] 10734 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTNOTIFIER 10744 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table PROJECTNOTIFIER 10936 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table CHANGESET 11232 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table CHANGESET 11239 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table CHANGESET 11250 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table LOCALREPOSITORY 11750 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table LOCALREPOSITORY 11759 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table CHANGEFILE 11768 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table CHANGEFILE 12229 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table CHANGEFILE 12246 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECT 12727 [main] INFO JPOX.RDBMS - Validated 3 foreign key(s) for table PROJECT 12747 [main] INFO JPOX.RDBMS - Validated 4 index(es) for table PROJECT 13185 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SCHEDULE 13197 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SCHEDULE 13205 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table INSTALLATION 13744 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table INSTALLATION 13750 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTDEPENDENCY 13998 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROJECTDEPENDENCY 14003 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROJECTDEPENDENCY 14009 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTDEVELOPER 14019 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table PROJECTDEVELOPER 14400 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table PROJECTDEVELOPER 14683 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table BUILDRESULT 14693 [main] INFO JPOX.RDBMS - Validated 3 foreign key(s) for table BUILDRESULT 14897 [main] INFO JPOX.RDBMS - Validated 4 index(es) for table BUILDRESULT 14903 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTGROUP 14908 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table PROJECTGROUP 14917 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table PROJECTGROUP 15270 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table BUILDDEFINITION 15277 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table BUILDDEFINITION 15286 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table BUILDDEFINITION 15717 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SCMRESULT 15737 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SCMRESULT 16172 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROFILES 16187 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROFILES 16192 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROFILES 16659 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROFILE_ENVIRONMENTVARIABLES 16681 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROFILE_ENVIRONMENTVARIABLES 17079 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROFILE_ENVIRONMENTVARIABLES 17084 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTGROUP_BUILDDEFINITIONS 17096 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROJECTGROUP_BUILDDEFINITIONS 17425 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROJECTGROUP_BUILDDEFINITIONS 17437 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECT_BUILDDEFINITIONS 17811 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROJECT_BUILDDEFINITIONS 17820 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROJECT_BUILDDEFINITIONS 17831 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTNOTIFIER_CONFIGURATION 17886 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table PROJECTNOTIFIER_CONFIGURATION 17892 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table PROJECTNOTIFIER_CONFIGURATION 17901 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECTGROUP_NOTIFIERS 17906 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROJECTGROUP_NOTIFIERS 17919 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROJECTGROUP_NOTIFIERS 17927 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table PROJECT_NOTIFIERS 18044 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table PROJECT_NOTIFIERS 18053 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table PROJECT_NOTIFIERS 21339 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.continuum.model.repository.AbstractPurgeConfiguration [Table : ABSTRACTPURGECONFIGURATION, InheritanceStrategy : new-table] 21339 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.continuum.model.repository.RepositoryPurgeConfiguration [Table : REPOSITORYPURGECONFIGURATION, InheritanceStrategy : new-table] 21545 [main] INFO JPOX.RDBMS - Validated 2 unique key(s) for table REPOSITORYPURGECONFIGURATION 21549 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table REPOSITORYPURGECONFIGURATION 21552 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table REPOSITORYPURGECONFIGURATION 21556 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table ABSTRACTPURGECONFIGURATION 21563 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table ABSTRACTPURGECONFIGURATION 21961 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table ABSTRACTPURGECONFIGURATION 22190 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.apache.continuum.model.repository.DirectoryPurgeConfiguration [Table : DIRECTORYPURGECONFIGURATION, InheritanceStrategy : new-table] 22405 [main] INFO JPOX.RDBMS - Validated 2 unique key(s) for table DIRECTORYPURGECONFIGURATION 22413 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table DIRECTORYPURGECONFIGURATION 22422 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table DIRECTORYPURGECONFIGURATION 22900 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Redback database... 25668 [main] WARN JPOX.JDO - Property org.jpox.validateSchema unknown - will be ignored 26132 [main] INFO JPOX.JDO - PersistenceManagerFactory - Vendor: JPOX Version: 1.1.6 26132 [main] INFO JPOX.JDO - PersistenceManagerFactory initialised for datastore URL=jdbc:derby:/test/apache-continuum-1.2.3/data/databases/users driver=org.apache.derby.jdbc.EmbeddedDriver userName=sa 27433 [main] INFO JPOX.RDBMS - ================ DatabaseAdapter ================== 27433 [main] INFO JPOX.RDBMS - Adapter : org.jpox.store.rdbms.adapter.DerbyAdapter 27434 [main] INFO JPOX.RDBMS - Datastore : name="Apache Derby" version="10.1.3.1" (major=10, minor=1, revision=3) 27434 [main] INFO JPOX.RDBMS - Driver : name="Apache Derby Embedded JDBC Driver" version="10.1.3.1" (major=10, minor=1) 27434 [main] INFO JPOX.RDBMS - =================================================== 27644 [main] INFO JPOX.RDBMS.Schema - Initialising Catalog "", Schema "SA" using "SchemaTable" auto-start option 28340 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoResource since it was managed previously 28342 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.keys.jdo.RedbackKeyManagementJdoModelloMetadata since it was managed previously 28344 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.users.jdo.JdoUser since it was managed previously 28344 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoPermission since it was managed previously 28344 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoRole since it was managed previously 28346 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey since it was managed previously 28347 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoOperation since it was managed previously 28348 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.RbacJdoModelModelloMetadata since it was managed previously 28349 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment since it was managed previously 28350 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.users.jdo.UsersManagementModelloMetadata since it was managed previously 28557 [main] WARN JPOX.MetaData - No manager for annotations was found in the CLASSPATH so all annotations are ignored. 29518 [main] WARN JPOX.JDO - Unknown Error during auto starter execution. : Error in MetaData for field "localRepository" in class "ProjectGroup" : this is declared as org.apache.continuum.model.repository.LocalRepository with "persistence-modifier=none" yet has either "default-fetch-group=true" or "primary-key=true" specified! These should be false. org.jpox.metadata.InvalidMetaDataException: Error in MetaData for field "localRepository" in class "ProjectGroup" : this is declared as org.apache.continuum.model.repository.LocalRepository with "persistence-modifier=none" yet has either "default-fetch-group=true" or "primary-key=true" specified! These should be false. at org.jpox.metadata.AbstractPropertyMetaData.populate(AbstractPropertyMetaData.java:820) at org.jpox.metadata.ClassMetaData.populatePropertyMetaData(ClassMetaData.java:434) at org.jpox.metadata.ClassMetaData.populate(ClassMetaData.java:251) at org.jpox.metadata.MetaDataManager.populateFileMetaData(MetaDataManager.java:1060) at org.jpox.metadata.JDOMetaDataManager.loadMetaDataForClass(JDOMetaDataManager.java:608) at org.jpox.metadata.JDOMetaDataManager.getMetaDataForClassInternal(JDOMetaDataManager.java:313) at org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:377) at org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:348) at org.jpox.store.rdbms.RDBMSManager$ClassAdder.getReferencedClasses(RDBMSManager.java:2881) at org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTables(RDBMSManager.java:2795) at org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:3309) at org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2554) at org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:2406) at org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:821) at org.jpox.store.StoreManager.initialiseAutoStart(StoreManager.java:475) at org.jpox.store.rdbms.RDBMSManager.initialiseSchema(RDBMSManager.java:735) at org.jpox.store.rdbms.RDBMSManager.<init>(RDBMSManager.java:268) 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 org.jpox.util.ClassUtils.newInstance(ClassUtils.java:73) at org.jpox.store.StoreManagerFactory.getStoreManager(StoreManagerFactory.java:73) at org.jpox.AbstractPersistenceManager.getStoreManager(AbstractPersistenceManager.java:295) at org.jpox.AbstractPersistenceManager.<init>(AbstractPersistenceManager.java:217) at org.jpox.PersistenceManagerImpl.<init>(PersistenceManagerImpl.java:42) at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:178) at org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:153) at org.codehaus.plexus.redback.keys.jdo.JdoKeyManager.getPersistenceManager(JdoKeyManager.java:164) at org.codehaus.plexus.redback.keys.jdo.JdoKeyManager.getAllKeys(JdoKeyManager.java:143) at org.codehaus.plexus.redback.management.JdoDataManagementTool.backupKeyDatabase(JdoDataManagementTool.java:112) at org.apache.maven.continuum.management.redback.JdoDataManagementTool.backupDatabase(JdoDataManagementTool.java:66) at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:265) at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:177) 29519 [main] WARN JPOX.JDO - Illegal state of AutoStart, disabling it. To enable it, resolve earlier errors. 29519 [main] INFO JPOX.RDBMS.Schema - Catalog "", Schema "SA" initialised - managing 0 classes 29864 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey [Table : JDOAUTHENTICATIONKEY, InheritanceStrategy : new-table] 30188 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOAUTHENTICATIONKEY 30418 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table JDOAUTHENTICATIONKEY 31435 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoOperation [Table : SA.SECURITY_OPERATIONS, InheritanceStrategy : new-table] 31435 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoResource [Table : SA.SECURITY_RESOURCES, InheritanceStrategy : new-table] 31435 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoPermission [Table : SA.SECURITY_PERMISSIONS, InheritanceStrategy : new-table] 31435 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoRole [Table : SA.SECURITY_ROLES, InheritanceStrategy : new-table] 31460 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.rbac.jdo.JdoRole.childRoleNames [Table : SA.SECURITY_ROLE_CHILDROLE_MAP] 31820 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.rbac.jdo.JdoRole.permissions [Table : SA.SECURITY_ROLE_PERMISSION_MAP] 32062 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_RESOURCES 32074 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SA.SECURITY_RESOURCES 32086 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_PERMISSIONS 32579 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table SA.SECURITY_PERMISSIONS 32592 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table SA.SECURITY_PERMISSIONS 32791 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_OPERATIONS 32798 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SA.SECURITY_OPERATIONS 32802 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_ROLES 32997 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SA.SECURITY_ROLES 33006 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_ROLE_PERMISSION_MAP 33017 [main] INFO JPOX.RDBMS - Validated 2 foreign key(s) for table SA.SECURITY_ROLE_PERMISSION_MAP 33385 [main] INFO JPOX.RDBMS - Validated 3 index(es) for table SA.SECURITY_ROLE_PERMISSION_MAP 33390 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_ROLE_CHILDROLE_MAP 33406 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table SA.SECURITY_ROLE_CHILDROLE_MAP 33780 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table SA.SECURITY_ROLE_CHILDROLE_MAP 34508 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment [Table : SA.SECURITY_USER_ASSIGNMENTS, InheritanceStrategy : new-table] 34509 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment.roleNames [Table : SA.SECURITY_USERASSIGNMENT_ROLENAMES] 34719 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_USER_ASSIGNMENTS 34726 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table SA.SECURITY_USER_ASSIGNMENTS 34729 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table SA.SECURITY_USERASSIGNMENT_ROLENAMES 34736 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table SA.SECURITY_USERASSIGNMENT_ROLENAMES 35182 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table SA.SECURITY_USERASSIGNMENT_ROLENAMES 35537 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.users.jdo.JdoUser [Table : JDOUSER, InheritanceStrategy : new-table] 35538 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Field : org.codehaus.plexus.redback.users.jdo.JdoUser.previousEncodedPasswords [Table : JDOUSER_PREVIOUSENCODEDPASSWORDS] 35744 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOUSER 35753 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table JDOUSER 35760 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOUSER_PREVIOUSENCODEDPASSWORDS 35765 [main] INFO JPOX.RDBMS - Validated 1 foreign key(s) for table JDOUSER_PREVIOUSENCODEDPASSWORDS 36160 [main] INFO JPOX.RDBMS - Validated 2 index(es) for table JDOUSER_PREVIOUSENCODEDPASSWORDS
        Hide
        Wendy Smoak added a comment -

        So you can export the builds database separately, but you cannot export the users database unless you also export the builds database? That's strange. I haven't needed to export users in a while, so wasn't testing that part.

        Thanks for helping me get this straight. Here's the latest version in svn with the export command combined, and the urls in the import commands fixed:

        http://svn.apache.org/repos/asf/continuum/branches/continuum-1.2.x/continuum-docs/src/site/apt/installation/upgrade.apt

        (In an hour or so the formatted version at http://continuum.apache.org/docs/1.2.4-SNAPSHOT/installation/upgrade.html will be updated.)

        Please let me know if it's correct now.

        Show
        Wendy Smoak added a comment - So you can export the builds database separately, but you cannot export the users database unless you also export the builds database? That's strange. I haven't needed to export users in a while, so wasn't testing that part. Thanks for helping me get this straight. Here's the latest version in svn with the export command combined, and the urls in the import commands fixed: http://svn.apache.org/repos/asf/continuum/branches/continuum-1.2.x/continuum-docs/src/site/apt/installation/upgrade.apt (In an hour or so the formatted version at http://continuum.apache.org/docs/1.2.4-SNAPSHOT/installation/upgrade.html will be updated.) Please let me know if it's correct now.
        Hide
        Tobias Scholl added a comment -

        So you can export the builds database separately, but you cannot export the users database unless you also export the builds database? That's strange. I haven't needed to export users in a while, so wasn't testing that part.

        At least, that's my experience. The export is working fine now.

        Show
        Tobias Scholl added a comment - So you can export the builds database separately, but you cannot export the users database unless you also export the builds database? That's strange. I haven't needed to export users in a while, so wasn't testing that part. At least, that's my experience. The export is working fine now.

          People

          • Assignee:
            Wendy Smoak
            Reporter:
            Tobias Scholl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: