Bedework Public Events Registration System
Bedework 3.9 10 supports a basic public events registration system that allows authenticated users to register for events. Users may view and modify their registrations, such as unregistering or changing the number of tickets they've requested. When registration is full, users may choose to be placed on a waiting list. Users on waiting lists will automatically be moved up in the queue if space becomes available.
...
- Start up jboss and apacheDS
- Log into the JMX-Console shipped with Bedework's JBoss, e.g. http://localhost:8080/jmx-console
- Click "org.bedework" in the left menu, then "service=Eventreg" in the right menu
- If no database exists:
- Set “create” and “export” attributes to "True"
- Click "Apply changes" button (at the bottom of the list of attribute values)
- Find the "schema" operation in the lower list, and click the “Invoke” button to export schema and create database
- You should see a successful result; click "Back to MBean" button to return to "service=Eventreg"
- Set “create” and “export” attributes to "True"
- Point at needed systems:
- Set the WsdlUri attribute value to: http://localhost:8080/wsdls/pubcalws-soap/wssvc.wsdl
- Set the TzsUri attribute value to: http://localhost:8080/tzsvr
- Click "Apply changes" button
- Admin token:
- If no admin token exists, click “generateAdminToken”
- You should see a successful result; click "Back to MBean" button to return to "service=Eventreg"
- You should see a string such as "c0e93685-93cd-4bee-bed2-9996b89be28c" in the EventRegAdminToken attribute value.
- Click "Apply changes" button
- Copy the EventRegAdminToken value (for use in the next step)
- If no database exists:
- Click "org.bedework" in the left menu, then "service=Eventreg" in the right menu
- Log into the Bedework public events administrative client, e.g. http://localhost:8080/caladmin
- Go to the System tab and select "Manage System Preferences"
- Paste the EventRegAdminToken value into the "Eventreg admin token" field
- Click "Update" button to save your changes.
- Test:
- Add a new public event. You should be able to select the checkbox "Users may register for this event", and make the event registerable.
- Visit the event in public client -- you should be able to register for it.
- Add a new public event. You should be able to select the checkbox "Users may register for this event", and make the event registerable.
...
- Update the Bedework source, build the event registration system, and clean/build Bedework:
- ./bw -updateall
- ./bw -quickstart -eventreg
- ./bw -quickstart clean
- ./bw -quickstart deploy
(These commands should be performed from the root of the quickstart directory. See also: building the Quickstart release.)
- Fix up quickstart
- mkdir quickstart-3.9/jboss-5.1.0.GA/server/default/data/bedework/eventreg/
- unzip pubcalws-soap.zip into quickstart-3.9/jboss-5.1.0.GA.server/default/deploy/ROOT.war/wsdls/
- Start up jboss and apacheDS
- Log into the JMX-Console shipped with Bedework's JBoss, e.g. http://localhost:8080/jmx-console
- Click "org.bedework" in the left menu, then "service=Eventreg" in the right menu
- If no database exists:
- Set “create” and “export” attributes to "True"
- Click "Apply changes" button (at the bottom of the list of attribute values)
- Find the "schema" operation in the lower list, and click the “Invoke” button to export schema and create database
- You should see a successful result; click "Back to MBean" button to return to "service=Eventreg"
- Set “create” and “export” attributes to "True"
- Point at needed systems:
- Set the WsdlUri attribute value to: http://localhost:8080/wsdls/pubcalws-soap/wssvc.wsdl
- Set the TzsUri attribute value to: http://localhost:8080/tzsvr
- Click "Apply changes" button
- Admin token:
- If no admin token exists, click “generateAdminToken”
- You should see a successful result; click "Back to MBean" button to return to "service=Eventreg"
- You should see a string such as "c0e93685-93cd-4bee-bed2-9996b89be28c" in the EventRegAdminToken attribute value.
- Click "Apply changes" button
- Copy the EventRegAdminToken value (for use in the next step)
- If no database exists:
- Click "org.bedework" in the left menu, then "service=Eventreg" in the right menu
- Log into the Bedework public events administrative client, e.g. http://localhost:8080/caladmin
- Go to the System tab and select "Manage System Preferences"
- Paste the EventRegAdminToken value into the "Eventreg admin token" field
- Click "Update" button to save your changes.
- Test:
- Add a new public event. You should be able to select the checkbox "Users may register for this event", and make the event registerable.
- Visit the event in public client -- you should be able to register for it.
...