Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

虽然当前未作官方正式支持, 我们已经在 PostgreSQL 9.1.  作了Joget Workflow安装测试. 如果您遇到任何问题, 请在 Installation Discussions安装讨论 中贴出您的问题.

  1. Create a database in PostgreSQL; name it 在PostgreSQL中创建一个数据库;  命名为 jwdb (or another preferred name或其它任意名字).
  2. Download 下载 jwdb-postgresql-v4.psql and load this SQL file into the database 并加载到 "jwdb".
  3. In 在 joget-installation-directory/wflow/, create a new datasource profile file 创建一个数据源配置文件 app_datasource-postgresql.properties.
  4. Edit 用文本编辑器 编辑 joget-installation-directory/wflow/app_datasource-postgresql.properties in a text editor, then insert contents as shown in Figure 1 below. You may need to edit the configuration (such as datasource URL, database user/password) according to your environment. , 插入以下内容如步骤1. 您需要根据实际情况编辑配置 (例如datasource URL, 数据库用户名/密码).
  5. 用文本编辑器 编辑 Edit joget-installation-directory/wflow/app_datasource.properties in a text editor, and change the contents as shown in Figure 2 below. This is to activate the datasource profile named "postgresql"., 如步骤2. 它将激活 "mssql" 配置文件为当前数据库连接.
  6. 下载 PostgreSQL JDBC驱动 Download the PostgreSQL JDBC driver from http://jdbc.postgresql.org/download.html, and copy it into 将它复制到 joget-installation-directory/apache-tomcat-xxxx/lib
  7. Download Shark.conf, and copy it into joget-installation-directory/apache-tomcat-xxxx/webapps/jw/WEB-INF/classes/conf (you will need to create the conf directory first)
  8. Restart Joget Workflow server.

...

  1. 重启 Joget Workflow 服务.

步骤1: 数据库连接配置

Code Block
workflowUser=postgres
workflowPassword=postgres
workflowDriver=org.postgresql.Driver
workflowUrl=jdbc\:postgresql\://hostname/jwdb

You may need to change the datasource URL, database user and database user's password accordingly.

...

步骤2: 数据库当前有效连接配置 datasource.properties

Code Block
currentProfile=postgresql