Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1926

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.1
    • None
    • Data Management
    • None
    • 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)

      Attachments

        Issue Links

          Activity

            People

              wsmoak Wendy Smoak
              lucadistefano Luca Di Stefano
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: