As a default YAWL is configured to use PostgreSQL for database support and this

As a default yawl is configured to use postgresql for

This preview shows page 19 - 22 out of 307 pages.

As a default, YAWL is configured to use PostgreSQL for database support, and this section describes how to manually install and configure PostgreSQL for YAWL (however, it is easy to configure YAWL for other database back-ends – see Section 2.4.4 for details). Download the latest version of PostgreSQL from – there is a one-click installer available for each operating system. The following is a walkthrough for a Windows installation, but it is a similar process for other platforms. Except where otherwise mentioned, simply accept the default setting for each setup screen. For the Service Configuration screen, choose the Install as a Service option (see Figure 2.7). Leave the account name as ‘postgres’ and enter any password of at least 6 characters. This will be the account the PostgreSQL
Image of page 19
20 CHAPTER 2. INSTALLATION Figure 2.7: Choose Install as a Service and enter any password service uses to run and allow connections to the database. Note: The Install as a Service option is only available on Windows systems. On the next screen, Initialise Database Cluster (Figure 2.8), leave all values as they are, but enter ‘yawl’ (no quotes, all lower case) as the password. This is the user account that YAWL uses to connect to the database (but see Section 2.4.4 for details on how to modify the password YAWL uses). Leave the settings for all other screens at their defaults and click through to completion. Next, run the administration tool pgAdmin 5 , which was installed along with the PostgreSQL installation. In the Object Browser panel on the left (cf. Figure 2.9), double-click on the Postgres server, and, when prompted, enter ‘yawl’ as the password (you should only be asked for this password the first time you connect). Then, right-click on Databases (under Postgres) and choose New Database from the popup menu. In the next dialog, enter ‘yawl’ as the database name, leave all other fields as they are, and click OK. That completes the installation of PostgreSQL and the admin tool pgAdmin, and the creation of the YAWL database. When YAWL is started, it will automatically create the required database tables as part of its startup process. 2.4.3 Installing YAWL Services All the necessary YAWL files can be downloaded from the YAWL Engine download page on SourceForge ( ). The latest release folder will contain these files: YAWL CoreWebServices 3.0.zip : The core set of YAWL services, comprising the core Engine, and the Resource, Worklet, Web Service Invoker, Mail, DocumentStore and Monitor Services. YAWL OptionalWebServices 3.0.zip : Extra services that you may find useful for particular purposes. 4 5
Image of page 20
2.4. MANUAL INSTALLATION (YAWL ENTERPRISE) 21 Figure 2.8: Keep postgres as the Superuser name, and enter yawl as the password Figure 2.9: The pgAdmin tool, Object Browser panel on the left YAWL LibraryJars 3.0.zip : Two library jars that contain the YAWL class files only (i.e. without any
Image of page 21
Image of page 22

You've reached the end of your free preview.

Want to read all 307 pages?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture