Skip to main content
March 24, 2017
Solved

Thwx 7.4: Failed to load FlxCore library

  • March 24, 2017
  • 3 replies
  • 17535 views

I wanted to give v7.4 a spin this afternoon, so I grabbed the Neo version and spun it up, with the new license file in the ThingworxPlatform folder.

Tomcat starts and then stops. Application log at shutdown:

2017-03-24 14:00:16.908-0600 [L: INFO] [O: c.t.s.s.Subsystem] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Starting Subsystem [LicensingSubsystem]

2017-03-24 14:00:16.987-0600 [L: ERROR] [O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ====================================================================

2017-03-24 14:00:16.987-0600 [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

2017-03-24 14:00:16.987-0600 [L: ERROR] [O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ====================================================================

2017-03-24 14:00:16.987-0600 [L: WARN] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Shutting down the Platform.

Looking around, I did spot, 'webapps\Thingworx\WEB-INF\extensions\FlxCore64.dll'

Anyone have any ideas?

Best answer by cmorfin

Hi Jason

For the error message, have you tried what is indicated in the error message:

"Ensure it's in PATH (Windows) or LD_LIBRARY_PATH(other platforms) or set with the VM arg, -Djava.library.path."

it works for me after adding <Tomcat>\webapps\Thingworx\WEB-INF\extensions in PATH variable (I am on Windows)

Also how do you start Tomcat ? I seem to recall the startup.bat did have the path as a java argument. Maybe you are using a different way that do not load this file, but adding the environment variable should help.

Regarding the license file, as this stage, the license file is only linked to the software version and not a specific environment, so there is no customer specific license file.

Hope this help

Kind regards

Christophe

3 replies

March 24, 2017

Also a question on the license file. How do we get our company's license file created?

What is the license file that comes with the installer?

cmorfin19-TanzaniteAnswer
19-Tanzanite
March 27, 2017

Hi Jason

For the error message, have you tried what is indicated in the error message:

"Ensure it's in PATH (Windows) or LD_LIBRARY_PATH(other platforms) or set with the VM arg, -Djava.library.path."

it works for me after adding <Tomcat>\webapps\Thingworx\WEB-INF\extensions in PATH variable (I am on Windows)

Also how do you start Tomcat ? I seem to recall the startup.bat did have the path as a java argument. Maybe you are using a different way that do not load this file, but adding the environment variable should help.

Regarding the license file, as this stage, the license file is only linked to the software version and not a specific environment, so there is no customer specific license file.

Hope this help

Kind regards

Christophe

March 27, 2017

Yes, thanks. I added it to the path after reading the error but, uh, spelled Tomcat as "Tomcart" and big surprise, it didn't work.

It worked fine once I learned to copy and paste.

I don't believe this is in the new Install or upgrade document.

1-Visitor
April 24, 2017

I am getting the same issue. I tried this solution but it did now work. My ThingWorx platform folder is in the OS(C:) directory and also contains the license file. Cannot figure out what the issue is. Any suggestions?

5-Regular Member
April 24, 2017

Rishit Shah​,

Try adding <Tomcat>\webapps\Thingworx\WEB-INF\extensions in PATH variable in the System environment variables.

1-Visitor
April 24, 2017

Thank you for the response Ankit. I added it and I am still having the same issue.

17-Peridot
April 27, 2017

Hi,

I have a 32-bit processor machine and I am able to run 7.2 version of thingworx but whenever I am trying to deploy 7.4 version, getting below error

"Expecting Absolute path of Library Flxcore64.dll"

Note: I am simply copying thingworx.war in the web-apps folder of tomcat and already configured all the java related parameters in the tomcat.

5-Regular Member
April 27, 2017

32-bit processor is not supported. But you can try following:

Path of FlxCore64.dll is <Tomcat>\webapps\Thingworx\WEB-INF\extensions.

You can try to add the <Tomcat>\webapps\Thingworx\WEB-INF\extensions in PATH variable in the System environment variables.