| Info | |||
|---|---|---|---|
|
Installation on Weblogic 12c (12.1.3.0.0)
- Deploy the jw.war and jwdesigner.war files, they should work as normal.
Installation on Websphere 8.5 Liberty Profile (8.5.5.7)
- Deploy the jw.war and jwdesigner.war files, they should work as normal.
Installation on JBoss EAP 6.4 (6.4.0)
- Deploy the jw.war and jwdesigner.war files.
- Manually configure the datasource in "wflow" folder.
- Set "wflow" folder path correctly in JAVA_OPTS.
Installation on Glassfish 4.1
|
| Table of Contents |
|---|
| Note | ||
|---|---|---|
| ||
Log file path is specified in WEB-INF/classes/log4j.properties . Specifically, these 2 tags:
In other app server types other than tomcat, the value for ${catalina.home} is empty, so the path becomes /logs/email.log . |
Installation on Weblogic 12c (12.2.1.4)
| Thai |
|---|
การติดตั้งบน Weblogic 12c (12.2.1.4) |
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.9.22.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
Installation on WebSphere Liberty V20.0.0.1 with Java EE 8 Web Profile:
| Thai |
|---|
การติดตั้งบน WebSphere Liberty V20.0.0.1 พร้อมกับ Java EE 8 Web Profile: |
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.9.22.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
Installation on WebSphere Liberty V19.0.0.8
| Thai |
|---|
การติดตั้งบน WebSphere Liberty V19.0.0.8 |
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.9.22.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
Installation on JBoss EAP 7 (7.2.0)
| Thai |
|---|
การติดตั้งบน JBoss EAP 7 (7.2.0) |
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.9.22.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 ในไดเร็กทอรีสแตนด์อะโลน / การปรับใช้
GlassFish runs an older version of the Apache Felix OSGI container, so there is a class loader conflict.
Code Block java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.felix.framework.wiring.BundleCapabilityImpl.getResource()Lorg/osgi/resource/Resource;" the class loader (instance of org/glassfish/web/loader/WebappClassLoader) of the current class, org/apache/felix/framework/wiring/BundleCapabilityImpl, and the class loader (instance of java/net/URLClassLoader) for interface org/osgi/resource/Capability have different Class objects for the type tyImpl.getResource()Lorg/osgi/resource/Resource; used in the signatureTo mitigate this, we will need to downgrade the Apache Felix libraries before deploying to GlassFish.
- Expand (unzip) jw.war
- Delete the newer Apache Felix jar files from WEB-INF/lib:
- org.apache.felix.framework-4.6.1.jar
- org.apache.felix.main-4.6.1.jar
- Add the older Apache Felix jar files below into WEB-INF/lib:
- Add a modified Apache Felix config.properties file below (which contains a new property felix.service.urlhandlers=false) into WEB-INF/classes
- Repackage into an updated jw.war
- Deploy the updated jw.war and jwdesigner.war