Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

The following are the steps and issues when installing Joget Workflow Enterprise Edition v5 on other Java EE application servers. Please do contribute to this article with your experiences.

...

安装在 Weblogic 12c (12.1.3.0.0)

  1. Deploy the 按通用方法,部署 jw.war and jwdesigner.war files, they should work as normal文件.

...

安装在 Websphere 8.5 Liberty Profile (8.5.5.7)

  1. Deploy the 按通用方法,部署 jw.war and jwdesigner.war files, they should work as normal文件.

...

安装在 JBoss EAP 6.4 (6.4.0)

  1. Deploy the 按通用方法,部署 jw.war and jwdesigner.war files, they should work as normal文件.

...

安装在 Glassfish 4.1

  1. GlassFish runs an older version of the 运行了一个老版本的 Apache Felix OSGI container, so there is a class loader conflict容器, 所以有一个 class 加载冲突.

    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 signature
    

     To mitigate this, we will need to downgrade the Apache Felix libraries before deploying to GlassFish.

     要解决这个问题,我们需要将 Apache Felix 类库降级.

  2. 加压 Expand (unzip) jw.war
  3. Delete the newer Apache Felix jar files from WEB从WEB-INF/lib 删除 Apache Felix jar包文件:
    1. org.apache.felix.framework-4.6.1.jar
    2. org.apache.felix.main-4.6.1.jar
  4. Add the older 添加以下老版本 Apache Felix jar files below into 包文件到 WEB-INF/lib:
    1. org.apache.felix.framework-4.0.3.jar
    2. org.apache.felix.main-4.0.3.jar
  5. Add a modified 添加以下一个修改后的 Apache Felix config.properties file below (which contains a new property 文件 (包含了一个新的配置项 felix.service.urlhandlers=false) into  在 WEB-INF/classes classes 中
    1. config.properties
  6. Repackage into an updated 重新打包 jw.war 文件
  7. Deploy the updated 部署更新后的 jw.war and jwdesigner.war