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 11 Next »

  1. Open two console windows.  cd to the quickstart directory in each.

  2. 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)

  3. Enter the following, one command line per console:
    1. Console 1: ./bw dirstart  ← Starts ApacheDS ldap directory server for Bedework on port 10389
    2. Console 2: 
      1. ./bw deployConf ← Deploys the platform-dependent configuration files (you only need to do this once)
      2. ./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.

  4. Optionally, open a third console and enter: ./runcache  ← Starts the webcache on port 7070.  (This service is for production caching of data feeds.  It is not required for testing.)

 

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 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

  1. 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

  1. When finished, you can stop Bedework by entering CTRL-C in the console windows.
  • No labels