Skip to end of metadata
Go to start of metadata
  1. 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.

  2. Make sure that you pick the bundle meant for Windows as highlighted below.
  3. Extract the content and put it into the Joget's installation directory.
    In this article, our Joget Workflow installation directory is C:\joget\Joget-v5-Enterprise\
    At the time of writing, "apache-tomcat-8.0.33" is the version downloaded.
  4. Copy the jw.war and jwdesigner.war from existing tomcat's webapps folder into the new one (i.e. from \apache-tomcat-8.0.20\webapp\ to \apache-tomcat-8.0.33\webapp\)
  5. Optional step: If you every plan to start up Joget Workflow 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.

    Existing code
    New code
  6. Open up \apache-tomcat-8.0.33\bin in your command prompt.
  7. Run service.bat install.

    Command Prompt
  8. To verify, you may check in Computer Management -> Services.
     

  9. Get back to the \apache-tomcat-8.0.33\bin folder. Open up tomcat8w.exe.
     
  10. 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.
     
  11. Next, go to the Java tab, append the following lines in the Java Options field. This is to define the wflow home folder from where Joget Workflow will run.

    Append these lines

  12. Go to startup tab, set the working path to your Joget Workflow's installation folder. Repeat it for shutdown tab too.
     
  13. 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.

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

Reference: Apache Tomcat 8 - Windows service HOW-TO

  • No labels