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

    Thai

    ดาวน์โหลดเวอร์ชั่น Tomcat ที่ต้องการจากเว็บไซต์ทางการ คุณสามารถคลิกที่นี่เพื่อรับ Tomcat 9

    Info
    title32 or 64 bits?
    English

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

    Thai

    ตรวจสอบให้แน่ใจว่าคุณจับคู่ Tomcat กับเวอร์ชันของ Java ที่คุณใช้อยู่

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

    Thai

    ตรวจสอบให้แน่ใจว่าคุณเลือกบันเดิลที่มีความหมายสำหรับ Windows ดังที่ได้เน้นด้านล่าง


    Image AddedImage Removed

  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.

    Thai

    แตกเนื้อหาและใส่ลงในไดเร็กทอรีการติดตั้งของ Joget
    ในบทความนี้ไดเรกทอรีการติดตั้ง Joget ของเราคือ "C:\Joget-DX8\Joget 8.0.5 ENT"
    ในขณะที่เขียน "apache-tomcat-9.0.80" เป็นรุ่นที่ดาวน์โหลดมา


    Image Removed


  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)

    Thai

    คัดลอก jw.war จากโฟลเดอร์ webapps ของ tomcat ที่มีอยู่ไปยังโฟลเดอร์ใหม่ (เช่นจาก \apache-tomcat-9.0.76\webapps ไปยัง \apache-tomcat-9.0.80\webapps)

  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.

    Thai

    ขั้นตอนเพิ่มเติม: หากคุณวางแผนที่จะเริ่มต้น Joget ด้วยตนเองในครั้งถัดไปโดยการเรียกใช้ไฟล์แบตช์ปกติหรือผ่านทางเมนูเริ่มของ Windows คุณสามารถปรับเปลี่ยน joget.start ให้ชี้ไปที่โฟลเดอร์ Tomcat ใหม่

    Code Block
    titleExisting code
    set CATALINA_HOME=.\apache-tomcat-9.0.76
    Code Block
    titleNew code
    set CATALINA_HOME=.\apache-tomcat-9.0.80
  3. Open up \apache-tomcat-9.0.80\bin in your command prompt.

    Thai

    เปิด \apache-tomcat-9.0.80\ bin ในพรอมต์คำสั่งของคุณ

  4. Run "service.bat install service_name Tomcat9JogetDX"

    Thai

    เรียกใช้ service.bat service_name Tomcat9JogetDXการติดตั้ง

    Code Block
    titleCommand 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.

    Thai

    ในการตรวจสอบคุณสามารถเช็คอินการจัดการคอมพิวเตอร์ -> บริการ

    Image Removed

...



  1. Image Added


  1. Get back to the \apache-tomcat-89.50.8280\bin folder. From the command prompt, runs run the command tomcat8wcommand tomcat9w.exe exe //ES/Tomcat8JogetDXTomcat9JogetDX

    Thai

    กลับไปที่โฟลเดอร์ \ apache-tomcat-89.50.54 80 \ bin เปิดขึ้น tomcat8w.exe //ES/Tomcat8JogetDX


     Image RemovedImage Added

  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.

    Thai

    ไปที่แท็บการบันทึก ตรวจสอบว่าเส้นทาง Log ชี้ไปยังตำแหน่งที่ถูกต้องโดยค่าเริ่มต้นมันควรชี้ไปที่โฟลเดอร์บันทึกของ Tomcat ปัจจุบันแล้ว
    เลือกระดับการบันทึกที่คุณต้องการในรายการแบบเลื่อนลงระดับ


     Image RemovedImage Added

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

    Thai

    จากนั้นไปที่แท็บ Java ต่อท้ายบรรทัดต่อไปนี้ในฟิลด์ Java Options นี่คือการกำหนดโฮมโฟลเดอร์ wflow จากตำแหน่งที่ Joget จะทำงาน

    Code Block
    titleAppend these lines
    -Dwflow.home=C:\Joget-dx8-EnterpriseDX8\Joget 8.0.5 ENT\wflow
    -javaagent:C:\Joget-dx8-EnterpriseDX8\Joget 8.0.5 ENT\wflow\aspectjweaver-1.89.57.jar
    -javaagent:C:\Joget-dx8-EnterpriseDX8\Joget 8.0.5 ENT\wflow\glowroot\glowroot.jar

    Image AddedImage Removed

  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 for the shutdown tab too. 

    Thai

    จากนั้นไปที่แท็บ Java ต่อท้ายบรรทัดต่อไปนี้ในฟิลด์ Java Options นี่คือการกำหนดโฮมโฟลเดอร์ wflow จากตำแหน่งที่ Joget จะทำงานตั้งค่าโหมดเป็น Java


     Image RemovedImage Added

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

    Thai

    ตอนนี้คุณสามารถเริ่มใช้ Joget เป็นบริการได้แล้ว

...

Reference: Apache Tomcat 9 - Windows service HOW-TO

 

Thai

การอ้างอิง: Apache Tomcat 8 9 - Windows service HOW-TO