Continuum
  1. Continuum
  2. CONTINUUM-1552

When trying to export the user database -> FileNotFoundException: backups/users/keys.xml (No such file or directory)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1-beta-3
    • Fix Version/s: 1.1
    • Component/s: Data Management
    • Labels:
      None
    • Environment:
      Linux / Http Proxy

      Description

      java -Xmx512m -jar data-management-cli-1.1-beta-3-app.jar -usersJdbcUrl jdbc:derby:continuum-1.1-beta-3/data/users/database -mode EXPORT -directory backups/users
      0 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Redback database...
      2605 [main] WARN JPOX.JDO - Property org.jpox.validateSchema unknown - will be ignored
      2854 [main] INFO JPOX.JDO - PersistenceManagerFactory - Vendor: JPOX Version: 1.1.6
      2854 [main] INFO JPOX.JDO - PersistenceManagerFactory initialised for datastore URL=jdbc:derby:continuum-1.1-beta-3/data/users/database driver=org.apache.derby.jdbc.EmbeddedDriver userName=sa
      4378 [main] INFO JPOX.RDBMS - ================ DatabaseAdapter ==================
      4378 [main] INFO JPOX.RDBMS - Adapter : org.jpox.store.rdbms.adapter.DerbyAdapter
      4378 [main] INFO JPOX.RDBMS - Datastore : name="Apache Derby" version="10.1.3.1" (major=10, minor=1, revision=3)
      4378 [main] INFO JPOX.RDBMS - Driver : name="Apache Derby Embedded JDBC Driver" version="10.1.3.1" (major=10, minor=1)
      4378 [main] INFO JPOX.RDBMS - ===================================================
      4427 [main] INFO JPOX.RDBMS.Schema - Initialising Catalog "", Schema "SA" using "SchemaTable" auto-start option
      5305 [main] INFO JPOX.JDO - Managing Persistence of org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey since it was managed previously
      5327 [main] WARN JPOX.MetaData - No manager for annotations was found in the CLASSPATH so all annotations are ignored.
      3974 [main] INFO JPOX.RDBMS.Schema - Managing Persistence of Class : org.codehaus.plexus.redback.keys.jdo.JdoAuthenticationKey [Table : JDOAUTHENTICATIONKEY, InheritanceStrategy : new-table]
      5870 [main] INFO JPOX.RDBMS - Validated 1 unique key(s) for table JDOAUTHENTICATIONKEY
      5897 [main] INFO JPOX.RDBMS - Validated 1 index(es) for table JDOAUTHENTICATIONKEY
      5899 [main] INFO JPOX.RDBMS.Schema - Catalog "", Schema "SA" initialised - managing 1 classes
      Exception in thread "main" java.io.FileNotFoundException: backups/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:238)
      at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:153)

        Activity

        Francis De Brabandere created issue -
        Emmanuel Venisse made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 1.1 [ 13605 ]
        Resolution Fixed [ 1 ]
        Assignee Emmanuel Venisse [ evenisse ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
        Mark Thomas made changes -
        Workflow jira [ 12710211 ] Default workflow, editable Closed status [ 12739906 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
        Mark Thomas made changes -
        Workflow jira [ 12948448 ] Default workflow, editable Closed status [ 12983883 ]

          People

          • Assignee:
            Emmanuel Venisse
            Reporter:
            Francis De Brabandere
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development