Font Size:
Ask Joget AI

Upgrading to Joget DX 9

Introduction

Upgrading to the newest version of Joget DX 9 from older versions, such as Joget Workflow v5 and v6 or Joget DX 7 and DX 8, is a streamlined process. There are two recommended upgrade options to choose from:

This document provides detailed, step-by-step guides on performing the upgrade process using any of the above options. For more information about the newest version of Joget, see What's New in Joget DX 9 and Download Joget DX 9 from https://www.joget.org/download/. It is recommended to view version-specific changelogs when upgrading. Read them at the Joget DX 9 Change Log.

Java Versions

Requirements for Joget DX 9

  • Java: Joget DX 9 supports Java 17 and Java 21 LTS.
  • Application server: Bundled installations use Apache Tomcat 11. Joget DX 9.2 also supports WildFly 40 or later and Open Liberty 26.0.0.5 or later.
  • AspectJ: Only versions 1.9.21 and above are supported for Java 17. Joget DX 9.0 and DX 9.1 use AspectJ 1.9.22; Joget DX 9.2 uses AspectJ 1.9.25.1.
  • Glowroot: Only versions 0.14.0 and above are supported for Java 17 (Joget DX 9 installation is running on 0.14.2).
  • For existing installations, you will need to manually copy the aspectjweaver.jar and glowroot folder and update the JAVA_OPTS.
  • Refer to System Requirements for more information.
Plugin migration and Joget DX 9.2 compatibility check
Joget DX 9 automatically converts plugin references from javax.* to jakarta.*, creates temporary .lock and .transformed files, and retains an untouched .original backup. This migration does not update Hibernate method calls. Because Joget DX 9.2 upgrades Hibernate from 6.6 to 7.4, review custom and third-party plugins that directly use Hibernate Session or query methods, or Spring ORM Hibernate 5 classes. See Migrating plugins from Joget DX 8 to Joget DX 9.
Joget Version Bundled / Required Apache Tomcat Supported Java Versions Notes & Compatibility
Joget DX 9.2 Tomcat 11.0.27 Java 17, 21 (LTS) Upgrades to Spring 7.1, Spring Security 7.2, and Hibernate 7.4. For MySQL and MariaDB deployments, use MySQL 8.0 or later or MariaDB 10.6 or later.
Joget DX 9.1 Tomcat 11.0.22 Java 17, 21 (LTS) Glowroot APM upgraded to version 0.14.6. Replace the wflow/glowroot/ folder and wflow/wflow-cluster.jar when upgrading from older versions.
Joget DX 9 Tomcat 11 Java 17, 21 (LTS) Adopts Jakarta EE specifications. Tomcat 10+ requires using jakarta.* instead of javax.*.
Joget DX 8.1 / 8.2 Tomcat 9.0.x Java 17, 21 (LTS) Java 11 is deprecated in newer 8.1.x minor releases; Java 17 or 21 is recommended.
Joget DX 8 Tomcat 9.0.x Java 11, 17, 21 (LTS) Java 11 or 17 required for baseline 8.x. 8.1.x+ added compatibility for Java 17 and 21.
Joget DX 7 Tomcat 8.5.x, 9.0.x Java 8, Java 11 (LTS) Glowroot Java APM integration added. Can run on Java 8 or 11.
Joget Workflow v6 Tomcat 8.x, 9.x Java 8 (LTS) Built on Java EE. Java 8 is the primary and highly recommended version for stable operations.

Compatibility checks before upgrading

Review only the rows that apply to your installation. If you do not use custom plugins, authentication integrations, reports, themes, or an external Ignite grid, start with the runtime and application-server check. For exact bundled versions, see Included Libraries in Joget 9 and compare it against Included Libraries in Joget 8.

Area

Review this if

What changed

Before upgrading

Verify

Runtime & application server

You manage a self-hosted Joget installation.

Joget DX 9 requires Java 17 or 21 and a supported application server. Do not reuse Tomcat 9 configuration files with Tomcat 11.

Install a supported runtime and application server, then recreate the required configuration.

Start Joget in staging and confirm the App Center, Settings, and logs load without startup errors.

Custom plugins & code

You use custom plugins, JSPs, BeanShell scripts, or code that imports javax.*.

Joget DX 9 uses Jakarta EE and stricter OSGi dependency resolution.

Allow the automatic plugin transformation, but rebuild custom source and remove duplicate or legacy plugin JARs.

Test every affected plugin and custom code path without class-loading or package-resolution errors.

Authentication integrations

You use custom SSO, authentication, or Directory Manager plugins.

Spring and Spring Security remove or change APIs across DX 9 releases.

Rebuild integrations against the target DX 9 SDK and update security-context handling.

Test login, logout, SSO, user synchronization, and role assignment in staging.

Hibernate & persistence

Your plugins call Hibernate directly or use Spring ORM Hibernate 5 classes.

DX 9.2 upgrades to Hibernate 7.4 and removes deprecated Session, query, and Spring ORM APIs.

Scan affected plugins and replace removed APIs with AbstractSpringDao or supported JPA methods.

Run every affected plugin flow in staging and confirm there are no NoSuchMethodError or query errors.

Caching & clustering

You use low-level Ehcache APIs or an external Ignite grid.

DX 9 uses Spring Cache wrappers. DX 9.1 and DX 9.2 Ignite grid data cannot be mixed.

Refactor direct Ehcache calls and clear or restart an external Ignite grid during a DX 9.2 upgrade.

Confirm every cluster node starts on the same Joget version and cached application data loads normally.

Custom reports

Your JasperReports Menu reports use custom Groovy expressions, reflection, or execution calls.

JasperReports Menu applies stricter sandboxing to report expressions and blocks prohibited reflection or execution calls.

Review custom Groovy expressions and move unsupported logic into dataset queries or supported OSGi plugins.

Render every custom report in staging and confirm its data, subreports, and exports.

Custom themes & UI

You use custom CSS, JavaScript, Bootstrap components, or legacy icon classes.

DX 9 standardizes on the Joget Design System, Bootstrap 5, and newer icon libraries.

Update Bootstrap attributes, removed CSS classes, and legacy icon references.

Check key pages at desktop and mobile widths, including RTL and dark-theme views where applicable.

Run Joget DX 9 in a new folder with an existing database

When upgrading from Joget DX 8 or earlier, you can run Joget DX 9 in a new installation folder, but using the existing database. Follow these steps:

  1. Back up your Joget Workflow v5, v6, Joget DX 7, or Joget DX 8 database or clone it for Joget DX 9 use (Joget DX 9 will automatically create the new tables and fields it needs).
  2. Download Joget DX 9 from Joget's Website and install it in a new folder using the Windows or Linux Installer.
  3. Copy the contents of the previous installation's .\wflow\ folder to the corresponding Joget DX 9 folder. You may defer copying .\wflow\app_formuploads and .\wflow\app_plugins until the base upgrade starts successfully. Do not copy runtime logs, caches, or temporary files.
  4. Ensure Joget DX 9 can access your current database (check the database settings in the app_datasource-default.properties file located in the \wflow folder using a text editor.)
    Optionally, edit the .\apache-tomcat-11.x.x\conf\server.xml file if you wish to run Joget DX on a different port instead of 8080.
    For existing installations, you will need to manually copy the wflow/aspectjweaver.jar file, the wflow/glowroot folder and wflow/wflow-cluster.jar, and update the JAVA_OPTS accordingly.
  5. Modify the connector to the server.xml file for HTTPS redirection through the proxy. Place this configuration below the existing connector for port 8080:

    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               compression="on"
               useSendfile="false"
               maxPartCount="1000"
               maxPartHeaderSize="10240"
               redirectPort="8443" />
  6. Edit the joget-start.bat or .sh file using a text editor to set a higher -Xmx memory for better performance (for example, -Xmx1024M).
  7. Start Joget Apache Tomcat and monitor the joget.log and catalina.log for errors. Refer to Web App Log Viewer for more information.
  8. Run the following query after migrating from DX8 to DX9 to ensure all roles are available:

    For Linux:

     mysql -uroot -e "SHOW DATABASES" | awk '/^jwc_/ {print "USE ", $1, "; ALTER TABLE app_app ADD createdBy varchar(255) DEFAULT NULL; INSERT INTO dir_role VALUES (\"ROLE_SYSTEM_MANAGER\",\"System Manager\",\"System Manager\"), (\"ROLE_APP_CREATOR\",\"App Creator\",\"App Creator\"); "}' | mysql -uroot -f

    For Windows:

    for /f "skip=1" %D in ('mysql -uroot -p -N -e "SHOW DATABASES LIKE 'jwc_%';"') do mysql -uroot -p -f -e "USE %D; ALTER TABLE app_app ADD createdBy varchar(255) DEFAULT NULL; INSERT INTO dir_role VALUES ('ROLE_SYSTEM_MANAGER','System Manager','System Manager'), ('ROLE_APP_CREATOR','App Creator','App Creator');"
  9. Copy your Joget plugins from the previous instance of Joget to the new Joget folder, if any. The Joget plugins are located in the .\wflow\app_plugins folder.
  10. Copy apache-tomcat-11.x.x/webapps/jw/WEB-INF/classes/setup/apps/APP_appcenter9.zip from the target Joget DX 9 installation into your local folder. Each target release includes its corresponding App Center archive.
  11. Import the new App Center from the current App Center home page (http://localhost:8080/jw/web/userview/appcenter/home/_/home).
  12. Publish the newly imported App Center.
  13. Reload appcenter home page (http://localhost:8080/jw/web/userview/appcenter/home/_/home).
  14. After these steps, your Joget is upgraded to DX 9 in a new folder while using the previous database and with your apps intact.

Run Joget DX 9 in a new folder and use the default new database

This is the fastest upgrade option, especially for a development server. Follow the steps below:

  1. Download Joget DX 9 from Joget's Website and install it in a new folder using the Windows or Linux Installer.
  2. Run the joget-enterprise-setup-9.0.x.exe installer if you are using Windows, or unzip the joget-enterprise-setup-9.0.x.tar.gz if you are using Linux.
    Joget DX comes with a MariaDB database by default in the Windows installation package. 
    However, you can change the default database to MSSQL, Oracle or PostgreSQL.
  3. Follow the on-screen installer prompts if you are on Windows.
  4. Run the joget-start.bat or joget-start.sh script to start Joget DX 9.
  5. In your browser, type in the URL address http://localhost:8080/jw to run Joget DX 9.
  6. Export the apps from the previous Joget Workflow or Joget DX installation, then import them into Joget DX 9.
  7. Reimport all plugins to Joget DX 9 by copying the plugins from the previous Joget installation instance to the new instance. The Joget plugins are located in \wflow\app_plugins.
  8. Once finished, your Joget is upgraded to DX 9 with a new database and the apps of your previous Joget installation.
  9. Run Joget DX 9 in the existing Joget Workflow v5, v6, or Joget DX 7, DX 8 folder and upgrade to Joget DX 9 using jw.war.

This method is not recommended for a major-version upgrade. Use one of the new-folder methods above whenever possible.

Major Version Upgrade Warning
Previously, it was possible to upgrade your Joget version while maintaining your existing Joget folder. Joget DX 9 uses Apache Tomcat 11. When upgrading from Apache Tomcat 9 to 11, do not reuse configuration files directly. Tomcat 11 introduces breaking changes across multiple versions, including the transition to Jakarta EE 11, removal of deprecated APIs, and changes in internal behavior.

As stated in the Apache Tomcat Upgrade Guide:
“For major upgrades (e.g., 9.0 to 11.0), it is recommended that a new Tomcat 11 installation is created and configured from scratch. Configuration files should not be copied from the old installation.” 

Since this is a 3-version jump, follow the Tomcat 10.0.x Migration Guide, Tomcat 10.1.x Migration Guide, and Tomcat 11.0.x Migration Guide. According to the Apache Tomcat Upgrade Guide:
"If you are upgrading past several versions at once, you should read all the migration guides in between. For example, if you are upgrading from Tomcat 8.5 to Tomcat 10.1, you should read the "Tomcat 9.0 Migration Guide", the "Tomcat 10.0 Migration Guide", and the "Tomcat 10.1 Migration Guide"."

If you still intend to upgrade this way, do not upgrade directly to a production server without prior testing. The usual precautions apply: perform a full backup of the servers, and it is essential to test any upgrade on a staging or development server first. See General upgrade flow for more information. Ensure that a system admin familiar with Joget and Apache Tomcat is performing this operation.

Changes in Joget DX installation files

If you are using Joget v5 or Joget v6, please read the following changes that were introduced in Joget DX 7, 8, and 9:

  • Joget DX uses Glowroot for Application Performance Management, thus, a new -javaagent argument is needed in the startup joget-start.bat or .sh script. See the example below: 
  • Joget DX has new runtime Glowroot files in .\wflow\glowroot\. The new Application Performance Management feature uses the Glowroot runtime. You can retrieve these files from a fresh install of Joget DX 9.
set JAVA_OPTS=-Xmx1024M -Dwflow.home=./wflow/ -javaagent:./wflow/aspectjweaver.jar -javaagent:./wflow/glowroot/glowroot.jar
  • Joget DX uses a higher default maximum heap allocation of -Xmx1024M. Increase the -Xmx value when additional memory is available and application demand requires it.
  • Use the Tomcat, JRE, AspectJ, Glowroot, App Center, and SQL files supplied with the target Joget DX 9 release. For exact versions, see Included Libraries in Joget 9.

Post-installation notes

Use this guide Troubleshooting - Common Errors, to learn how to solve start-up errors in your Joget DX.

Download and install new plugins, especially for Joget DX 7-DX 9, from https://archives.joget.org/addons/ and https://marketplace.joget.com/ to try out:

If you deferred copying .\wflow\app_formuploads or .\wflow\app_plugins, copy them after the base DX 9 installation starts successfully, then repeat the relevant application and plugin tests.

Additional documentation

General upgrade flow

Notes

  • Compatibility: The usual precautions apply; perform a full backup of the servers, and it is essential to test any upgrade on a staging or development server first.
  • Licensing: For the Enterprise & Professional Edition, upgrades between major versions (e.g., v5-DX 7) to DX 9 require reactivation with a new license, so users with an active Enterprise Software Subscription are required to request a new license.
  1. Prepare a test server that mimics the production server as closely as possible in all possible aspects (e.g., user setup, networking environment, CPU/memory capabilities, database) without cloning the production database server. Start with a fresh new database.
  2. Once you are ready with the test server, you may try to start with a fresh database without the data, but just the Apps loaded in. Run through all the functionalities of your apps to see if everything works as expected.
  3. If Step 2 goes well, you may then try to clone the existing production database to see how your Apps fare with the existing production data. Run through all the functionalities of your Apps again to see if everything works as expected.
  4. If you have integrated Joget Workflow with other solutions, you will also need to test them accordingly.
  5. When you are ready, please continue to the next step.

DX 8 and DX 9 database table changes over DX 7

These are the new tables that will be automatically created upon initial start-up of Joget DX 8 or DX 9 over the existing database used by Joget DX 7:

  1. wf_history_activity
  2. wf_history_process
  3. wf_process_link_history

In the unlikely case that you need to create the tables manually, you can locate the CREATE script in the exploded jw.war file at \jw\WEB-INF\classes\setup\sql\.

For the MySQL database, if you are setting it up on a new database using the Set Up Database wizard, the default collation is now utf8mb4_unicode_ci instead of utf8_unicode_ci in Joget DX 7.

Disabling Auto Collation
From Joget DX 8.0.11 onwards, should you wish to disable the auto collation, you can add the following parameter in the Joget startup batch file, in JAVA_OPTS.
-Dwflow.collationChecking=false

Transitioning from Professional to Enterprise edition

Joget DX Professional Edition will no longer be available starting October 2024. This decision was made to streamline the Joget product lineup and focus Joget's efforts on delivering the best possible solutions to meet the evolving needs of our customers and partners.

This step will guide you to transition from Professional to Enterprise Edition.

Follow these steps:

  1. Update Joget.
  2. Run the Enterprise version to get the system key, and apply for a new license.
  3. Use the New License page to request a new license.
IMPORTANT
Note that the license approval SLA is 24 hours. To avoid any delay, please plan your license activation in advance.

Related Documents

Created by Aadrian Last modified by Debanraj Ravindran on Nov 25, 2026