Thingworx war 8.1 未在 tomcat 上设置

Thingworx war 8.1 not setting up on tomcat

我正在尝试在 tomcat 服务器上设置 thingworx 8.1 war。我已将 catalina 文件中的 JAVA_OPTS 配置为:

set "JAVA_OPTS= %JAVA_OPTS% -Djava.library.path=path-to-tomcat-webapp\Thingworx\WEB-INF\extensions"

我还尝试了 setenv 批处理文件方法,方法如下:

set LD_LIBRARY_PATH=path-to-tomcat/webapps/Thingworx/WEB-INF/extensions/

但是我在 thingworx 的应用程序日志中仍然收到如下错误:

Failed to load FlxCore library. Ensure it's in PATH (Windows) or LD_LIBRARY_PATH(other platforms) or set with the VM arg, -Djava.library.path. Error message : com.flexnet.licensing.DllEntryPoint.entry([B)I

我真的卡住了。请帮帮我!!!

请验证您在 ThingworxPlatform 中是否有相关的 license.bin

请确保在 Tomcat Java 选项字段中,选项字段末尾有以下内容:

-Dserver -Dd64
-XX:+UseG1GC
-Dfile.encoding=UTF-8
-Djava.library.path=<path to Tomcat>\webapps\Thingworx\WEB-INF\extensions