Start Bedework
Having rebuilt Bedework with your configuration, start up Bedework in order to get to the JMX console. From the JMX console, you have access to the Bedework utilities (mbeans) that create the Bedework database tables and inject some starter data.
From the top of the quickstart, start two windows:
In one window:
./bw -quickstart dirstart
In the other:
./startjboss
Once Bedework is up and running, visit http://yourserver:8080/jmx-console.
Export the schema, create the database tables, and inject some starter data
- Select "org.bedework" from the "Object Name Filter" menu to the left of the page.
- Select "service=DumpRestore"
- 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.
- Initialize the schema:
- Set the attribute Export to True
- Set the attribute Create to True
- Click Apply Changes to set the values.
- Click Invoke for the schema operation.
- Restore the data (Read the note below)
- Navigate back to the DumpRestore service (click Back to MBean)
- Click Invoke for the restoreData operation.