Skip to end of metadata
Go to start of metadata

We're using Bedework 3.7. Download it here: http://www.jasig.org/bedework/download

Our custom configs and scripts are in source control on Github: https://github.com/ets-berkeley-edu/bedework

On test.media.berkeley.edu, you'll need to sudo to the bedework user:

Then get the local customizations from github:

The Bedework install directory is ~/bedework/quickstart-3.7. Don't modify files directly in that directory tree! Do it through Github instead. Our site-specific configuration set goes in ~/quickstart_customizations, which has the same directory structure as ~/bedework/quickstart-3.7, but only includes files/directories that we've modified. To apply the MyB customizations to a vanilla unzip of quickstart:

I followed the Bedework setup instructions here: https://wiki.jasig.org/display/BWK/BW+3.7+Configure+Bedework Configuration mostly involves modifying cal.properties and cal.options.xml in ~/quickstart_customizations/default. 

  • bedework/projects/webapps/webclient/war/WEB-INF/userweb.xml (check hostname and CalNet CAS hostname)
  • bedework/config/bwbuild/default/cal.options.xml (check hostname)
  • bedework/config/bwbuild/jboss-mysql/cal.options.xml (check hostname)

After you do this, you must build Bedework.

To build Bedework (this fetches the latest from Github and copies the quickstart_customizations directory for you; you may want to comment the "git pull ..." part out of the buildBedework.sh script if you don't want to overwrite the config changes you made during the previous step):

To run the server so it won't terminate when you log out:

To kill the server:

I set up CAS auth in the ucal web app following instructions on this page: https://wiki.jasig.org/display/BWK/BW+3.7+Set+up+authentication

Configure Bedework to use MySQL

This was a bit of a pain. The quickstart doesn't have the mysql configuration set. You have to check out the 3.7 Bedework directly from svn:

Then you must initialize the database. Follow the painful step-by-step on this page: https://wiki.jasig.org/display/BWK/BW+3.7+Initialize+your+database

The JMX console password can be found in ~/bedework/quickstart-3.7/jboss-5.1.0.GA/server/default/conf/props/jmx-console-users.properties

Using MySQL requires the MySQL JDBC driver, not included in the Bedework distribution. But I've added it to the quickstart_customizations directory in the appropriate JBoss common/lib directory. 

Updating Bedework

Bedework periodically updates its release without actually incrementing the version number. This doesn't get publicized (except maybe on the bedework-dev list). 

To update the release:

Creating Bedework Accounts

Recipients need to have user accounts on Bedework to receive notices. This requires putting the Bedework server into simple login mode (where you can log in as anyone by providing the username and password as the same value) and then running the sling data loader with extra arguments to point at the Bedework server. To do this, follow the instructions in the caldav module's README. 

  • No labels