Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. 从Tomcat官网下载Joget所需的tomcat版本. 您可以点击 此处 下载 Tomcat 8. 

    title32 or 64 bits?


  2. 请选择正确的版本下载.
  3. 解压到 Joget 安装目录.
    本文中, 我们的安装目录是 C:\joget\Joget-v5-Enterprise\
    At the time of writing, "apache-tomcat-8.0.33" is the version downloaded.
  4. 复制 jw.war 和 jwdesigner.war 从 现有tomcat's webapps 文件夹 (i.e. from \apache-tomcat-8.0.20\webapp\ to \apache-tomcat-8.0.33\webapp\)
  5. 可选步骤: 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 如果您准备通过手工点击批处理文件来启动tomcat,您需要修改 joget.start to point to the new tomcat folder 文件来指向新的tomcat文件夹.

    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 promptbin.
  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核对 Log path 指向正确的日志文件路径, 默认, 它会指向当前Tomcat的 logs 文件夹.
  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 选项中. 它将 wflow 目录定义为Joget Workflow 的工作目录.

    Code Block
    titleAppend these lines

  12. Go to startup tab, set the working path to your Joget Workflow's installation folder. Repeat it for shutdown tab too进入 startup 启动标签页, 设置你的安装目录. 同样设置 shutdown 标签页.
  13. You can now start up Joget as a service您现在就可以将Joget启动为服务.

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当您已成功将 Tomcat 安装为Windows服务, 您可能也希望将 MySQL 安装为服务, 并且将 Tomcat 依赖于 MySQL 服务l.

  1. 安装 MySQL 为 Windows Service
  2. 将 MySQL 服务设为 Tomcat 服务 的依赖

参考Apache Tomcat 8 - Windows service HOW-TO