Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

User name: admin
Password: bedework
(to change these credentialsbWjmx00  (if this password doesn't work, or to change the password, see Securing Bedework )

To dump a data file:

...

  1. Stop the Bedework system if running.
  2. Delete (or rename) the following directories
    1. <jboss-dir>/server/default/data/bedework/derby
    2. <jboss-dir>/server/default/data/activemq
    3. <jboss-dir>/server/default/data/activemq-data
    4. <jboss-dir>/server/default/data/bedework/lucene
  3.  Start the Bedework system.  The first three directories above should be recreated, and you should see an error in the log “Schema 'SA' does not exist”, which is Derby complaining about not finding the Bedework schema that you've just removed.
  4. Go to the JMX console: http://localhost:8080/jmx-console/
  5. Select “org.bedework” from the “Object Name Filter” menu to the left of the page.
  6. Select “service=DumpRestore”
  7. You will be presented with a form allowing you to manage the dump/restore process.  The “DataIn” attribute should point at the xml datafile you wish to restore.  By default, this is the initbedework.xml file. 
  8. Initialize the schema:
    1. Set the attribute “Export” to True
    2. Set the attribute “Create” to True
    3. Click “Apply Changes” to set the values.
    4.  Click “Invoke” for the “schema” operation.
  9. Restore the data:
    1. Navigate back to the DumpRestore service (click “Back to MBean”)
    2. Click “Invoke” for the “restoreData” operation.

To create an empty system:

...