...
Set the JAVA_OPTIONS environment variable:
Thai ตั้งค่าตัวแปรสภาพแวดล้อม JAVA_OPTIONS:
Code Block export JAVA_OPTIONS="-javaagent:path_to/wflow/wflow-cluster.jar -javaagent:path_to/aspectjweaver-1.89.522.jar -javaagent:path_to/wflow/glowroot/glowroot.jar"
Deploy the jw.war file in the domains/base_domain/deploy/autodeploy directory
Thai ปรับใช้ไฟล์ jw.war ในไดเร็กทอรี domains / base_domain / deploy / autodeploy
...
Set the JVM_ARGS environment variable:
Thai ตั้งค่าตัวแปรสภาพแวดล้อม JVM_ARGS:
Code Block export JVM_ARGS="-javaagent:path_to/wflow/wflow-cluster.jar -javaagent:path_to/aspectjweaver-1.89.522.jar -javaagent:path_to/wflow/glowroot/glowroot.jar"
Deploy the jw.war file in the usr/servers/defaultServer/dropins directory
Thai ปรับใช้ไฟล์ jw.war ในไดเร็กทอรี usr / servers / defaultServer / dropins
...
Set the JVM_ARGS environment variable:
Thai ตั้งค่าตัวแปรสภาพแวดล้อม JVM_ARGS:
Code Block export JVM_ARGS="-javaagent:path_to/wflow/wflow-cluster.jar -javaagent:path_to/aspectjweaver-1.89.522.jar -javaagent:path_to/wflow/glowroot/glowroot.jar"
Enable websocket features (disabled by default) by adding <feature>websocket-1.1</feature> in usr/servers/defaultServer/server.xml e.g.
Thai เปิดใช้งานคุณสมบัติ websocket (ปิดใช้งานโดยค่าเริ่มต้น) โดยเพิ่ม <feature> websocket-1.1 </feature> ใน usr / เซิร์ฟเวอร์ / defaultServer / server.xml เช่น
Code Block language xml <!-- Enable features --> <featureManager> <feature>jsp-2.3</feature> <feature>websocket-1.1</feature> </featureManager>
Deploy the jw.war file in the usr/servers/defaultServer/dropins directory
Thai ปรับใช้ไฟล์ jw.war ในไดเร็กทอรี usr / servers / defaultServer / dropins
...
Set the JAVA_OPTS environment variable:
Thai ตั้งค่าตัวแปรสภาพแวดล้อม JAVA_OPTS:
Code Block export JAVA_OPTS="$JAVA_OPTS -javaagent:path_to/wflow/wflow-cluster.jar -javaagent:path_to/aspectjweaver-1.89.522.jar -javaagent:path_to/wflow/glowroot/glowroot.jar -Dorg.aspectj.tracing.enabled=false -Dorg.aspectj.tracing.factory=default"
Configure standalone/configuration/standalone.xml to prevent session locking (https://access.redhat.com/solutions/2776221) by removing the locking and transaction tags:
Thai กำหนดค่า standalone / configuration / standalone.xml เพื่อป้องกันการล็อคเซสชัน (https://access.redhat.com/solutions/2776221) โดยการลบแท็กล็อคและธุรกรรม:
Code Block language xml <cache-container name="web" default-cache="passivation" module="org.wildfly.clustering.web.infinispan"> <local-cache name="passivation"> <!-- DELETE OR COMMENT THESE 2 LINES <locking isolation="REPEATABLE_READ"/> <transaction mode="BATCH"/> --> <file-store passivation="true" purge="false"/> </local-cache> </cache-container>
Deploy the jw.war file in the standalone/deployments directory
Thai ปรับใช้ไฟล์ jw.war ในไดเร็กทอรีสแตนด์อะโลน / การปรับใช้
...