Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Download the desired Tomcat version from its official site. You can click here to get Tomcat 8.
32 or 64 bits?
Make sure that you match Tomcat with the version of Java that you are using.
Make sure that you pick the bundle meant for Windows as highlighted below.
Extract the content and put it into the Joget's installation directory.
In this article, our Joget installation directory is C:\Joget-DX7-Enterprise\
At the time of writing, "apache-tomcat-8.5.54" is the version downloaded.
Copy the jw.war from existing tomcat's webapps folder into the new one (i.e. from \apache-tomcat-8.5.41\webapp\ to \apache-tomcat-8.5.54\webapp\)
Optional step: If you ever plan to start up Joget manually next time by running the usual batch file or through Windows Start Menu, you can modify joget.start to point to the new tomcat folder.
set CATALINA_HOME=.\apache-tomcat-8.5.41
set CATALINA_HOME=.\apache-tomcat-8.5.54
Open up \apache-tomcat-8.5.54\bin in your command prompt.
Run service.bat install service_name Tomcat8JogetDX.
C:\Joget-DX7-Enterprise\apache-tomcat-8.5.54\bin>service.bat install service_name Tomcat8JogetDX Installing the service 'Tomcat8JogetDX' ... Using CATALINA_HOME: "C:\Joget-DX7-Enterprise\apache-tomcat-8.5.54" Using CATALINA_BASE: "C:\Joget-DX7-Enterprise\apache-tomcat-8.5.54" Using JAVA_HOME: "C:\Joget-DX7-Enterprise\jre11.0.2" Using JRE_HOME: "C:\Joget-DX7-Enterprise\jre11.0.2" Using JVM: "C:\Joget-DX7-Enterprise\jre11.0.2\bin\server\jvm.dll" The service 'Tomcat8JogetDX' has been installed.
To verify, you may check in Computer Management -> Services.
Get back to the \apache-tomcat-8.5.54\bin folder. From the command prompt, runs the command tomcat8w.exe //ES/Tomcat8JogetDX
Go to the Logging tab. Verify that the Log path is pointing to the correct location, by default, it should point it back to the logs folder of the current Tomcat already.
Select the level of logging you wish for in the level drop-down list.
Next, go to the Java tab,change the JavaVirtual Machine file path to the file path shown below and append the following lines in the Java Options field. This is to define the wflow home folder from where Joget will run. At the same time, configure the maximum memory pool accordingly (i.e. 1024).
-Dwflow.home=C:\Joget-DX7-Enterprise\wflow -javaagent:C:\Joget-DX7-Enterprise\wflow\aspectjweaver-1.8.5.jar -javaagent:C:\Joget-DX7-Enterprise\wflow\glowroot\glowroot.jar
Go to startup tab, set the working path to your Joget's installation folder. Repeat it for shutdown tab too.
You can now start up Joget as a service.
After you have successfully added Tomcat as a service, you may also want to add MySQL as a service and make Tomcat dependent on MySQL as well.
Reference: Apache Tomcat 8 - Windows service HOW-TO