Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Create a database schema in Oracle with the appropriate permissions; name it jwdb (or another preferred name) e.g. 

    Thai

    สร้างสกีมาฐานข้อมูลใน Oracle ด้วยสิทธิ์ที่เหมาะสม ตั้งชื่อเป็น jwdb (หรือชื่ออื่นที่ต้องการ) เช่น

    Code Block
    languagesql
    CREATE USER jwdb IDENTIFIED BY jwdb;
    GRANT connect, resource TO jwdb;
    GRANT create session TO jwdb;
    GRANT create table TO jwdb;
     
    GRANT UNLIMITED TABLESPACE TO jwdb;
  2. Download jwdb-oracle-ddl.sql and load this SQL file to "jwdb" schema. This will populate all necessary Joget

    Workflow

    table structures into "jwdb".

    Thai

    ดาวน์โหลด jwdb-oracle-ddl.sql และโหลดไฟล์ SQL นี้ไปที่ "jwdb" schema สิ่งนี้จะบรรจุโครงสร้างตาราง Joget ที่จำเป็นทั้งหมดไว้ใน "jwdb"

  3. In joget-installation-directory/wflow/, create a new datasource profile file - app_datasource-oracle.properties.

    Thai

    ใน joget-installation-directory / wflow /  ให้สร้างไฟล์โปรไฟล์แหล่งข้อมูลใหม่  - app_datasource-oracle.properties

  4. Open to edit joget-installation-directory/wflow/app_datasource-oracle.properties in text editor, then insert contents as shown in Figure 1 below. You may need to edit the configurations (such as datasource URL, database user/password) according to your environment.

    Thai

    เปิดเพื่อแก้ไข joget-installation-directory / wflow / app_datasource-oracle.properties ในเท็กซ์เอดิเตอร์จากนั้นแทรกเนื้อหาดังแสดงในรูปที่ 1 ด้านล่าง คุณอาจต้องแก้ไขการกำหนดค่า (เช่น URL แหล่งข้อมูลผู้ใช้ฐานข้อมูล / รหัสผ่าน) ตามสภาพแวดล้อมของคุณ

  5. Open to edit joget-installation-directory/wflow/app_datasource.properties in text editor, and change the content as shown in Figure 2 below. This is to activate the datasource profile named "oracle".

    Thai

    เปิดเพื่อแก้ไข joget-installation-directory / wflow / app_datasource.properties ในเท็กซ์เอดิเตอร์และเปลี่ยนเนื้อหาดังแสดงในรูปที่ 2 ด้านล่าง นี่คือการเปิดใช้งานโปรไฟล์แหล่งข้อมูลที่ชื่อว่า "oracle"

  6. Restart Joget

    Workflow

    server.

    Thai

    รีสตาร์ทเซิร์ฟเวอร์ Joget

Figure 1: Datasource Profile Configurations

Thai

รูปที่ 1: การกำหนดค่าส่วนกำหนดค่าแหล่งข้อมูล

Code Block
langxml
workflowUser=jwdb
workflowPassword=jwdb
workflowDriver=oracle.jdbc.driver.OracleDriver
workflowUrl=jdbc\:oracle\:thin\:@hostname\:1521\:XE


English

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

Thai

คุณอาจต้องเปลี่ยน URL แหล่งข้อมูลผู้ใช้ฐานข้อมูลและรหัสผ่านของผู้ใช้ฐานข้อมูลตามลำดับ

Figure 2: datasource.properties

Thai

รูปที่ 2: datasource.properties

Code Block
langxml
currentProfile=oracle

 

 

...