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" เป็นรุ่นที่ดาวน์โหลดมา


...

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

    Thai

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


     

  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 ปัจจุบันแล้ว
    เลือกระดับการบันทึกที่คุณต้องการในรายการแบบเลื่อนลงระดับ


     

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

    Thai

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


     

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

    Thai

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

...

Reference: Apache Tomcat 9 - Windows service HOW-TO

 

Thai

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