Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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

  1. Select “org.bedework” from the “Object Name Filter” menu to the left of the page.
  2. Select “service=DumpRestore”
  3. 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. 
  4. 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.
  5. Restore the data (Read the note below)
    1. Navigate back to the DumpRestore service (click Back to MBean)
    2. Click Invoke for the restoreData operation.

The quickstart ships with two initialization files:

  • <jboss-dir>/server/default/data/bedework/dumprestore/initbedework.xml
  • <jboss-dir>/server/default/data/bedework/dumprestore/initbedework-sparse.xml

initbedework.xml contains a basic calendar structure, many categories, two calendar suites, and the handful of users & groups that allow the quickstart demonstration to run. It is a good starting point for most deployments.

initbedework-sparse.xml contains no events, no categories, no locations, no contacts, and the barest of calendar structures.  Unless you are a Bedework expert, you'll want to use the other one.

The default is initbedework.xml.  You can override it by adding -sparse to the xxxx field before invoking restoreData.

  • No labels