Start Bedework
- Open three console windows and cd to the quickstart directory in each.
- For each console, set JAVA_HOME environment variable. For example:
- Linux: export JAVA_HOME=/usr/java/jdk1.7.0_51
- Windows: set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51
- Mac OS X: export JAVA_HOME=$(/usr/libexec/java_home)
- Enter the following, one command line per console:
- Console 1: ./bw -quickstart dirstart ← Starts ApacheDS ldap directory server for Bedework on port 10389
- Console 2:
- ./bw -quickstart deployConf ← Deploys the platform-dependent configuration files
- ./startjboss or ./startjboss -debug ← Starts Bedework core services in JBoss on port 8080 (and several others). Add -debug to increase the amount of information logged.
- Console 3: ./runcache ← Starts the webcache on port 7070
Memory settings:
JVM settings can be passed as parameters to the startjboss script. Enter "startjboss -usage" or see "Reviewing JVM parameters" for more information.
If you have the memory, try increasing the heap size for better performance, e.g. ./startjboss -heap 2G.
If JBoss has difficulty coming up, try decreasing the heap size, e.g. ./startjboss -heap 512M.
Windows Users:
Throughout this manual, you can replace all commands of the form “./command” with “command” or “command.bat”. For example, to start Bedework's directory server, enter: “bw -quickstart dirstart”, and to start Bedework enter "startjboss".
Helper files
goBedework-3.10.bat is a command line script that will launch all the above in Windows (edit the file to point at the location of your quickstart files).
Explore Bedework
- Access the web applications at http://localhost:8080/bedework
Note: this link will only work on the system on which the quickstart is running. If running the quickstart on a remote server, replace "localhost" with your server's hostname.
This page also provides information about connecting to Bedework's CalDAV server.
Stop Bedework
- When finished, you can stop Bedework by entering CTRL-C in the console windows.