Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi all
I got the following error while installing thingworx on ubuntu-linux-20-04-desktop aarch64.
Can I install Thingwork on the arch64 CPU?
TomcatLog
13:41:40,036 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[AUTH] - File property is set to [/ext001/data001/ThingworxStorage/logs/AuthLog.log]
/ext001/engn001/tomcat9.0/9.0.52/webapps/Thingworx/WEB-INF/extensions/libFlxCore64.so.2016.08: /ext001/engn001/tomcat9.0/9.0.52/webapps/Thingworx/WEB-INF/extensions/libFlxCore64.so.2016.08: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64-bit .so on a AARCH64-bit platform)
ErrorLog
2022-03-09 13:02:52.497+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] **********LICENSING ERROR ANALYSIS
2022-03-09 13:02:52.497+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Flex licensing file found: /ext001/engn001/tomcat9.0/9.0.52/webapps/Thingworx/WEB-INF/extensions/libFlxCore.so.2016.08. Flex licensing file found: /ext001/engn001/tomcat9.0/9.0.52/webapps/Thingworx/WEB-INF/extensions/libFlxCore.2016.08.dylib. Flex licensing file found: /ext001/engn001/tomcat9.0/9.0.52/webapps/Thingworx/WEB-INF/extensions/FlxCore64.dll. Flex licensing file found: /ext001/engn001/tomcat9.0/9.0.52/webapps/Thingworx/WEB-INF/extensions/libFlxCore64.so.2016.08.
2022-03-09 13:02:52.497+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] **********END LICENSING ERROR ANALYIS
2022-03-09 13:02:52.497+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] 'int com.flexnet.licensing.DllEntryPoint.entry(byte[])'
2022-03-09 13:02:52.498+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] ====================================================================
2022-03-09 13:02:52.498+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [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[])'
2022-03-09 13:02:52.498+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] ====================================================================
2022-03-09 13:02:52.498+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Shutting down server..
Sometimes this happens because the Java Home reference is incorrect.
I think they want you to point to the JDK vs. the JRE although I don't really do much with Linux so I am not sure if that is the same or different.
Also make sure the java options are correctly set for tomcat
Hi @realndh.
Did you find a solution to your problem? Please let me know so I can follow up with our R&D team on the possibility that the issue is related to the processor.
Regards.
--Sharon
I'm running into the same issue and in my case I am trying to build a docker container to run on macOS with the Apple M1 architecture (aarch64). I can build the containers (including Postgres, Postgres-init, and security) but when running the platform container it will fail trying to load the file listed in the OP. Usually the docker containers are amd64 and the linker will use that file just fine which is appropriate for that architecture but since this is aarch64 it fails to load. I'm guessing a special build of the flex library using that architecture will be required to solve this.
Hi @rattmice.
We are pursuing this with R&D. Once we have more information, I will post it here.
Regards.
--Sharon
Bumping this post to see if any updates have been made in the last year.
Hi @rattmice.
Unfortunately, this is not a supported configuration and there are no plans to add it.
Regards.
--Sharon
Thank you, Sharon. After some hacking I was able to generate docker images for ThingWorx 9.4.2 on Mac Silicon that work around the architecture issue.