Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Download the desired Tomcat version from its official site. You can click here to get 从Tomcat官网下载Joget所需的tomcat版本. 您可以点击 此处 下载 Tomcat 8. 

    Info
    title32 or 64 bits?

    Make sure that you match Tomcat with the version of Java that you are using.

    请确保您下载了正确的Tomcat版本.

  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 解压到 Joget 安装目录.
    本文中, 我们的安装目录是 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 war 从 现有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.

    Code Block
    titleExisting code
    set CATALINA_HOME=.\apache-tomcat-8.0.20
    Code Block
    titleNew code
    set CATALINA_HOME=.\apache-tomcat-8.0.33
  6. Open up \apache-tomcat-8.0.33\bin in your command prompt.
  7. Run service.bat install.

    Code Block
    titleCommand Prompt
    C:\joget\Joget-v5-Enterprise\apache-tomcat-8.0.33\bin>service.bat install
    Installing the service 'Tomcat8' ...
    Using CATALINA_HOME:    "C:\joget\Joget-v5-Enterprise\apache-tomcat-8.0.33"
    Using CATALINA_BASE:    "C:\joget\Joget-v5-Enterprise\apache-tomcat-8.0.33"
    Using JAVA_HOME:        "C:\Program Files\Java\jdk1.7.0_79"
    Using JRE_HOME:         "C:\Program Files\Java\jdk1.7.0_79\jre"
    Using JVM:              "C:\Program Files\Java\jdk1.7.0_79\jre\bin\server\jvm.dll"
    The service 'Tomcat8' has been installed.
  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.

    Code Block
    titleAppend these lines
    -Dwflow.home=C:\joget\Joget-v5-Enterprise\wflow

  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.

...