1. Download the desired Tomcat version from its official site. You can click here to get Tomcat 9. 

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.

    32 or 64 bits?

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.

  2. Make sure that you pick the bundle meant for Windows as highlighted below.

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.




  3. Extract the content and put it into the Joget's installation directory.
    In this article, our Joget installation directory is "C:\Joget-DX8\Joget 8.0.5 ENT"
    At the time of writing, "apache-tomcat-9.0.80" is the version downloaded.

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.



  1. Copy the jw.war from the existing tomcat's webapps folder into the new one (i.e. from \apache-tomcat-9.0.76\webapps to \apache-tomcat-9.0.80\webapps)

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.

  2. 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.

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.

    Existing code
    set CATALINA_HOME=.\apache-tomcat-9.0.76
    New code
    set CATALINA_HOME=.\apache-tomcat-9.0.80
  3. Open up \apache-tomcat-9.0.80\bin in your command prompt.

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.

  4. Run "service.bat install service_name Tomcat9JogetDX"

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.

    Command Prompt
    C:\Joget-DX8\Joget 8.0.5 ENT\apache-tomcat-9.0.80\bin>service.bat install service_name Tomcat9JogetDX
    Installing the service 'Tomcat9JogetDX' ...
    Using CATALINA_HOME:    "C:\Joget-DX8\Joget 8.0.5 ENT\apache-tomcat-9.0.80"
    Using CATALINA_BASE:    "C:\Joget-DX8\Joget 8.0.5 ENT\apache-tomcat-9.0.80"
    Using JAVA_HOME:        "C:\Program Files\Java\jdk-11"
    Using JRE_HOME:         "C:\Program Files\Java\jdk-11"
    Using JVM:              "C:\Program Files\Java\jdk-11\bin\server\jvm.dll" 
    The service 'Tomcat9JogetDX' has been installed.
  5. To verify, you may check in Computer Management -> Services.

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.




  1. Get back to the \apache-tomcat-9.0.80\bin folder. From the command prompt, run the command tomcat9w.exe //ES/Tomcat9JogetDX

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.


     

  2. Navigate to the Log On tab. The default value "Local Service" is known to not provide enough permission to run Joget. Change it by changing to using a local system account / local user account to run the service. Please read https://stackoverflow.com/a/63907950 for more information.
  3. 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.

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.


     

  4. 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).

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.

    Append these lines
    -Dwflow.home=C:\Joget-DX8\Joget 8.0.5 ENT\wflow
    -javaagent:C:\Joget-DX8\Joget 8.0.5 ENT\wflow\aspectjweaver-1.9.7.jar
    -javaagent:C:\Joget-DX8\Joget 8.0.5 ENT\wflow\glowroot\glowroot.jar



  5. Go to the startup tab, and set the working path to your Joget's installation folder. Set the Mode to Java. Repeat it for the shutdown tab too. 

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.


     

  6. You can now start up Joget as a service.

    License Error

    The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.

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.

License Error

The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.

  1. Installing MySQL as a Windows Service
  2. Adding MySQL service as a Dependency to Tomcat service

Reference: Apache Tomcat 9 - Windows service HOW-TO

 

License Error

The license of the app Translations for Confluence (formerly Language Macros) has expired. Please renew the license.

 


  • No labels