技术文章 - CS259533
尝试启动 ThingWorx 平台时,应用程序日志中出现“加载 FlxCore 库失败”错误。
已修改: 13-Mar-2026
适用于
- ThingWorx Platform 8.5 to 10.0
- Apache Tomcat
- Microsoft Windows Server
- Red Hat Enterprise Linux
说明
- ThingWorx 启动失败,错误信息位于\ThingworxStorage\logs\ApplicationLog.log 文件中(取决于 ThingWorx 版本)。
[L: ERROR] [O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] 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 [L: ERROR] [O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ==================================================================== [L: WARN] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Shutting down the Platform.
[L: ERROR] [O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] 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 : 'int com.flexnet.licensing.DllEntryPoint.entry(byte[])'
[L: ERROR] [O: ] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] C:\WINDOWS\Sun\Java\bin is listed as a java.library.path but it does not exist. Flex licensing file found: C:\ptc\Thingworx\webapps\Thingworx\WEB-INF\extensions\FlxCore64.dll. Flex licensing file found: C:\ptc\Thingworx\webapps\Thingworx\WEB-INF\extensions\libFlxCore.2016.08.dylib. Flex licensing file found: C:\ptc\Thingworx\webapps\Thingworx\WEB-INF\extensions\libFlxCore.so.2016.08. Flex licensing file found: C:\ptc\Thingworx\webapps\Thingworx\WEB-INF\extensions\libFlxCore64.so.2016.08
- 许可问题导致无法登录 ThingWorx
- 将.war文件移动到<tomcat_home>\webapps文件夹时,Tomcat 崩溃,并且\ThingworxStorage\logs\ApplicationLog.log文件输出错误信息。
- 升级到新版本后,ThingWorx 无法启动
- 将 Windchill(在同一服务器上)升级到新版本后,ThingWorx 无法启动。
- 检查 Tomcat 状态时,ThingWorx 启动失败,并出现以下输出:
tomcat.service - SYSV: Tomcat Start Stop Restart
Loaded: loaded (/etc/rc.d/init.d/tomcat; generated)
Active: failed (Result: exit-code) since <Day> YYYY-MM-DD hh:mm:ss CST; 40min ago
Docs: man:systemd-sysv-generator(8)
Process: 17988 ExecStart=/etc/rc.d/init.d/tomcat start (code=exited, status=1/FAILURE)
MMM DD hh:mm:ss ####.####.com systemd[1]: Starting SYSV: Tomcat Start Stop Restart...
MMM DD hh:mm:ss ####.####.com su[17995]: pam_sss(su-l:auth): authentication failure; logname= uid=0 euid=0 tty= ruser=root rhost= user=####
MMM DD hh:mm:ss ####.####.com su[17995]: pam_sss(su-l:auth): received for user ####: 7 (Authentication failure)
MMM DD hh:mm:ss ####.####.com su[17995]: FAILED SU (to ####) root on none
MMM DD hh:mm:ss ####.####.com tomcat[17995]: Password: su: Authentication failure
MMM DD hh:mm:ss ####.####.com systemd[1]: tomcat.service: Control process exited, code=exited status=1
MMM DD hh:mm:ss ####.####.com systemd[1]: tomcat.service: Failed with result 'exit-code'.
MMM DD hh:mm:ss ####.####.com systemd[1]: Failed to start SYSV: Tomcat Start Stop Restart.- Tomcat 无法启动(崩溃/终止),错误信息位于<tomcat_home>\logs\catalina.out中:
WebApp stopping: Thingworx Server Application...OFF Thingworx Server Application...Cleaned up WebApp OFF [server = Apache Tomcat/8.0.44] Driver org.postgresql.Driver@45f5f6db deregistered
这是文章 259533 的 PDF 版本,可能已过期。最新版本 CS259533