Changing Default Datasource Settings 

  1. Locate your app_datasource-default.properties file in your wflow directory (/home/myaccount in Linux and /Documents and Settings/myaccount in Windows).
  2. Open file using any text editor.
  3. Make changes where necessary (anything from username, passwords. connection URLs, etc).
  4. Save file and restart Joget.

    การเปลี่ยนการตั้งค่าแหล่งข้อมูลเริ่มต้น

         1. ค้นหาไฟล์ app_datasource-default.properties ในไดเรกทอรี wflow ของคุณ (/ home / myaccount ใน Linux และ / เอกสารและการตั้งค่า / myaccount ใน Windows)
    2.
    เปิดไฟล์โดยใช้โปรแกรมแก้ไขข้อความ
    3.
    ทำการเปลี่ยนแปลงข้อความ (อะไรก็ได้จาก ชื่อผู้ใช้, รหัสผ่าน, การเชื่อมต่อURL, ฯลฯ )
    4.
    บันทึกไฟล์และรีสตาร์ท Joget

Working with Datasource Profiles

If you're continually working with different datasource sets and don't want to keep commenting/uncommenting and/or renaming property files, you can make use of the profiles that are available. In your home directory, you'll (by default) find 2 files that deal with datasource settings. The app_datasource.properties file points to the current profile that should be used, and you'll see app_datasources-default.properties that should contain the details of your connection pools. To create a new profile, simply create a new properties file that is prefixed with "app_datasources-". If our new datasource profile is called "mynewprofile" then we're looking at:

  1. Create new file called app_datasources-mynewprofile.properties in your wflow directory (/home/myaccount in Linux and /Documents and Settings/myaccount in Windows).
  2. Edit the file using a text editor and specify your connection settings. Save file when done.
  3. Open app_datasources.properties and point your currentProfile to mynewprofile. Save file when done.
  4. Restart Joget.

    การทำงานกับ Datasource Profiles

    หากคุณทำงานอย่างต่อเนื่องกับชุดแหล่งข้อมูลที่แตกต่างกันและไม่ต้องการแสดงความคิดเห็น / ไม่แสดงความคิดเห็นและ / หรือเปลี่ยนชื่อไฟล์คุณสมบัติคุณสามารถใช้โปรไฟล์ที่มีอยู่ได้ ในโฮมไดเรกทอรีของคุณ คุณจะพบ 2 ไฟล์ที่จัดการกับการตั้งค่าแหล่งข้อมูล ไฟล์ app_datasource.properties ชี้ไปที่โปรไฟล์ปัจจุบันที่ควรใช้และคุณจะเห็น app_datasources-default.properties ที่ควรมีรายละเอียดของการเชื่อมต่อของคุณ หากต้องการสร้างโปรไฟล์ใหม่เพียงสร้างไฟล์คุณสมบัติใหม่ที่นำหน้าด้วย "app_datasources-" ถ้าโปรไฟล์แหล่งข้อมูลใหม่ของเราเรียกว่า "mynewprofile" จากนั้นเราจะดูที่:

          1. สร้างไฟล์ใหม่ชื่อ app_datasources-mynewprofile.properties ในไดเรกทอรี wflow ของคุณ (/ home / myaccount ใน Linux และ / เอกสารและการตั้งค่า / myaccount ใน Windows)

          2. แก้ไขไฟล์โดยใช้โปรแกรมแก้ไขข้อความและระบุการตั้งค่าการเชื่อมต่อของคุณ บันทึกไฟล์เมื่อเสร็จแล้ว

          3. เปิด app_datasources.properties และกำหนดค่าปัจจุบันของคุณไปยังโปรไฟล์ใหม่ บันทึกไฟล์เมื่อเสร็จแล้ว

          4. รีสตาร์ท Joget

Running on Other Databases

Joget also allows you to run on databases apart from the default MySQL that comes with the bundle. For information on how to make those connections, refer to the resources below:

ทำงานบนฐานข้อมูลอื่น ๆ

Joget ยังช่วยให้คุณสามารถรันบนฐานข้อมูลนอกเหนือจาก MySQL ที่มาพร้อมกับบันเดิล สำหรับข้อมูลเกี่ยวกับวิธีการเชื่อมต่อเหล่านั้นให้อ้างอิงกับแหล่งข้อมูลด้านล่าง:

Increase the Limit of Items/Elements in Form/Datalist/Userview Builder and Process Builder

In Joget Workflow, all your designed forms, datalists, userviews and also the process flows are stored in the database. The number of items/elements you can add in to your builder is actually limited by the database column that store the definition of your design. To increase the limit, you can do the following steps for each builder. 

เพิ่มข้อ จำกัด ของรายการ / องค์ประกอบในตัวสร้างแบบฟอร์ม / ดาต้าลิสต์ / Userview และตัวสร้างกระบวนการ

ใน Joget Workflow ทุกรูปแบบที่คุณออกแบบดาต้าลิสต์ตัวอย่างการใช้งานและโฟลว์กระบวนการจะถูกเก็บไว้ในฐานข้อมูล จำนวนรายการ / องค์ประกอบที่คุณสามารถเพิ่มในตัวสร้างของคุณถูก จำกัดโดยคอลัมน์ฐานข้อมูลที่เก็บคำจำกัดความของคุณ เพื่อเพิ่มขีดจำกัดคุณสามารถทำตามขั้นตอนต่อไปนี้สำหรับตัวสร้างแต่ละตัว

The steps outlined below are applicable to MySQL database only. Please consult your database administrator for steps pertaining to other databases.  

ขั้นตอนที่แสดงด้านล่างใช้กับฐานข้อมูล MySQL เท่านั้น โปรดปรึกษาผู้ดูแลระบบฐานข้อมูลของคุณสำหรับขั้นตอนที่เกี่ยวข้องกับฐานข้อมูลอื่น ๆ

1. Increase the "max_allowed_packet" setting in my.ini of MySQL for huge data. At the end of the my.ini file content, add this line:

เพิ่มการตั้งค่า "max_allowed_packet" ใน my.ini ของ MySQL สำหรับข้อมูลขนาดใหญ่ ในตอนท้ายของเนื้อหาไฟล์ my.ini ให้เพิ่มบรรทัดนี้:

max_allowed_packet=32M

2. Increase the limit of Process Builder (Workflow Designer); run the following SQL:

เพิ่มขีด จำกัด ของตัวสร้างกระบวนการ (ผู้ออกแบบเวิร์กโฟลว์) เรียกใช้ SQL ต่อไปนี้:

ALTER TABLE SHKXPDLData CHANGE XPDLContent XPDLContent LONGBLOB;
ALTER TABLE SHKXPDLData CHANGE XPDLClassContent XPDLClassContent LONGBLOB;

3. Increase the limit of Form Builder; run the following SQL:

เพิ่มขีด จำกัด ของตัวสร้างแบบฟอร์ม เรียกใช้ SQL ต่อไปนี้:

ALTER TABLE app_form CHANGE json json LONGTEXT;

4. Increase the limit of Datalist Builder; run the following SQL:

เพิ่มขีด จำกัด ของตัวสร้างดาต้าลิสต์; เรียกใช้ SQL ต่อไปนี้:

ALTER TABLE app_datalist CHANGE json json LONGTEXT;

5. Increase the limit of Userview Builder; run the following SQL:

เพิ่มขีด จำกัด ของตัวสร้าง Userview เรียกใช้ SQL ต่อไปนี้:

ALTER TABLE app_userview CHANGE json json LONGTEXT;

6. Increase the limit of Process Tool Plugin properties; run the following SQL:

เพิ่มขีด จำกัด ของคุณสมบัติปลั๊กอินเครื่องมือกระบวนการ เรียกใช้ SQL ต่อไปนี้:

ALTER TABLE app_package_activity_plugin CHANGE pluginProperties pluginProperties LONGTEXT;


Joget DX on MySQL 8

Joget DX supports MySQL 8 database out of the box, except if you use MySQL 8 "caching_sha2_password" new authentication plugin instead of the older "mysql_native_password".

Read https://mysqlserverteam.com/upgrading-to-mysql-8-0-default-authentication-plugin-considerations/

Because Joget DX ships with MariaDB JDBC drivers, you will need to download and paste the latest MySQL JDBC driver into "[JogetRootFolder]\apache-tomcat-8.5.41\webapps\jw\WEB-INF\lib\".

Or you could download the latest "MariaDB Connector/J 2.5.4 Stable":https://downloads.mariadb.org/connector-java/2.5.4/ . FYI Joget DX ships with @mariadb-java-client-2.5.0.jar@.