cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Thwx 8.5.3: Failed to load FlxCore library

GFX
3-Newcomer
3-Newcomer

Thwx 8.5.3: Failed to load FlxCore library

Hi all,

 

after our license expired we keep having issues in starting up Thingworx Foundation, after adding a new license. On every start attempt, we keep on getting the following error messages:

 

Application Log

2020-06-05 09:10:08.388+0200 [L: WARN] [O: c.t.c.u.ConfigurationTableUtilities] [I: ] [U: SuperUser] [S: ] [P: ] [T: ForkJoinPool-1-worker-3] ConfigurationTableDefinition not found for table ReportingConfiguration in ThingTemplate AnalyticsGateway so removing the configuration Table!
2020-06-05 09:10:08.404+0200 [L: WARN] [O: c.t.c.u.ConfigurationTableUtilities] [I: ] [U: SuperUser] [S: ] [P: ] [T: ForkJoinPool-1-worker-8] ConfigurationTableDefinition not found for table ReportingConfiguration in ThingTemplate IntegrationRuntime so removing the configuration Table!
2020-06-05 09:10:08.404+0200 [L: WARN] [O: c.t.c.u.ConfigurationTableUtilities] [I: ] [U: SuperUser] [S: ] [P: ] [T: ForkJoinPool-1-worker-2] ConfigurationTableDefinition not found for table ReportingConfiguration in ThingTemplate ExtensionGateway so removing the configuration Table!
2020-06-05 09:10:08.404+0200 [L: WARN] [O: c.t.c.u.ConfigurationTableUtilities] [I: ] [U: SuperUser] [S: ] [P: ] [T: ForkJoinPool-1-worker-1] ConfigurationTableDefinition not found for table ReportingConfiguration in ThingTemplate BrowserGateway so removing the configuration Table!
2020-06-05 09:10:08.467+0200 [L: WARN] [O: c.t.e.RootEntity] [I: ] [U: SuperUser] [S: ] [P: ] [T: ForkJoinPool-1-worker-9] Entity [TurnkeyIoT] changed its project name from [TurnkeyIoT] to [TurnkeyIoT]
2020-06-05 09:10:08.748+0200 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Cleaning up legacy entities...
2020-06-05 09:10:08.748+0200 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Checking default permissions...
2020-06-05 09:10:08.748+0200 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Initializing Thing Shapes...
2020-06-05 09:10:09.013+0200 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Initializing Thing Packages...
2020-06-05 09:10:09.279+0200 [L: ERROR] [O: c.t.t.ThingShapeInstance] [I: ] [U: ] [S: ] [P: ] [T: ForkJoinPool.commonPool-worker-1] Unable to create handler in thing shape: TW.AnalysisServices.RepoBasedArchiveServicePackage:ThingPackage for event Event.ArchiveCompleted - No event definition found
2020-06-05 09:10:09.279+0200 [L: ERROR] [O: c.t.t.ThingShapeInstance] [I: ] [U: ] [S: ] [P: ] [T: ForkJoinPool.commonPool-worker-1] Unable to create handler in thing shape: TW.AnalysisServices.RepoBasedArchiveServicePackage:ThingPackage for event Event.ArchiveFailed - No event definition found
2020-06-05 09:10:09.310+0200 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Initializing Thing Templates...
2020-06-05 09:10:09.310+0200 [L: WARN] [O: c.t.t.ThingTemplate] [I: ] [U: ] [S: ] [P: ] [T: ForkJoinPool.commonPool-worker-8] Subscription was defined, but no Event Handler was found on TW.AnalysisServices.RepoBasedArchiveServicePackage on Thing TW.AnalysisService.RepoBasedArchiveServiceTemplate for RepoBasedArchivalServicesArchiveCompleted
2020-06-05 09:10:09.310+0200 [L: WARN] [O: c.t.t.ThingTemplate] [I: ] [U: ] [S: ] [P: ] [T: ForkJoinPool.commonPool-worker-8] Subscription was defined, but no Event Handler was found on TW.AnalysisServices.RepoBasedArchiveServicePackage on Thing TW.AnalysisService.RepoBasedArchiveServiceTemplate for RepoBasedArchivalServicesArchiveFailed
2020-06-05 09:10:10.138+0200 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Initializing Things...
2020-06-05 09:10:10.170+0200 [L: ERROR] [O: c.t.t.c.r.Reportable] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-1] Caught InvalidRequestException while evaluating reporting. Message: Thing [AlwaysOnReporting] is not running
2020-06-05 09:10:10.170+0200 [L: ERROR] [O: c.t.t.c.r.Reportable] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-4] Caught InvalidRequestException while evaluating reporting. Message: Thing [AlwaysOnReporting] is not running
2020-06-05 09:10:10.170+0200 [L: ERROR] [O: c.t.t.c.r.Reportable] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-3] Caught InvalidRequestException while evaluating reporting. Message: Thing [AlwaysOnReporting] is not running
2020-06-05 09:10:10.170+0200 [L: ERROR] [O: c.t.t.c.r.Reportable] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-2] Caught InvalidRequestException while evaluating reporting. Message: Thing [AlwaysOnReporting] is not running
2020-06-05 09:10:10.185+0200 [L: ERROR] [O: c.t.t.c.r.Reportable] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-5] Caught InvalidRequestException while evaluating reporting. Message: Thing [AlwaysOnReporting] is not running
2020-06-05 09:10:10.185+0200 [L: ERROR] [O: c.t.t.c.r.Reportable] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-7] Caught InvalidRequestException while evaluating reporting. Message: Thing [AlwaysOnReporting] is not running
2020-06-05 09:10:10.201+0200 [L: ERROR] [O: c.t.t.c.r.Reportable] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-6] Caught InvalidRequestException while evaluating reporting. Message: Thing [AlwaysOnReporting] is not running
2020-06-05 09:10:10.248+0200 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-5] WARNING: StreamProcessing Subsystem is Not Running - cannot process stream entries
2020-06-05 09:10:10.248+0200 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-3] WARNING: StreamProcessing Subsystem is Not Running - cannot process stream entries
2020-06-05 09:10:10.248+0200 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-6] WARNING: StreamProcessing Subsystem is Not Running - cannot process stream entries
2020-06-05 09:10:10.248+0200 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-1] WARNING: StreamProcessing Subsystem is Not Running - cannot process stream entries
2020-06-05 09:10:10.248+0200 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-2] WARNING: StreamProcessing Subsystem is Not Running - cannot process stream entries
2020-06-05 09:10:10.248+0200 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-7] WARNING: StreamProcessing Subsystem is Not Running - cannot process stream entries
2020-06-05 09:10:10.248+0200 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-4] WARNING: StreamProcessing Subsystem is Not Running - cannot process stream entries
2020-06-05 09:10:10.248+0200 [L: ERROR] [O: c.t.t.c.r.Reportable] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-8] Caught InvalidRequestException while evaluating reporting. Message: Thing [AlwaysOnReporting] is not running
2020-06-05 09:10:10.263+0200 [L: ERROR] [O: c.t.t.c.r.Reportable] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-10] Caught InvalidRequestException while evaluating reporting. Message: Thing [AlwaysOnReporting] is not running
2020-06-05 09:10:10.263+0200 [L: ERROR] [O: c.t.t.c.r.Reportable] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-12] Caught InvalidRequestException while evaluating reporting. Message: Thing [AlwaysOnReporting] is not running
2020-06-05 09:10:10.263+0200 [L: ERROR] [O: c.t.t.c.r.Reportable] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-13] Caught InvalidRequestException while evaluating reporting. Message: Thing [AlwaysOnReporting] is not running
2020-06-05 09:10:10.263+0200 [L: ERROR] [O: c.t.t.c.r.Reportable] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-9] Caught InvalidRequestException while evaluating reporting. Message: Thing [AlwaysOnReporting] is not running
2020-06-05 09:10:10.263+0200 [L: ERROR] [O: c.t.t.c.r.Reportable] [I: ] [U: SuperUser] [S: ] [P: ] [T: ReportingEventProcessor-11] Caught InvalidRequestException while evaluating reporting. Message: Thing [AlwaysOnReporting] is not running
2020-06-05 09:10:10.310+0200 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Initializing Reference Caches...
2020-06-05 09:10:10.357+0200 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Start...
2020-06-05 09:10:10.357+0200 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Starting Scheduler Engine...
2020-06-05 09:10:10.498+0200 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Starting Platform Subsystems
2020-06-05 09:10:10.498+0200 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Subsystem LicensingSubsystem is starting
2020-06-05 09:10:10.560+0200 [L: WARN] [O: c.t.s.s.l.LicensingStateMachine] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Server device/instance ID is xxx.
2020-06-05 09:10:10.654+0200 [L: ERROR] [O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] ====================================================================
2020-06-05 09:10:10.654+0200 [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 : com.flexnet.licensing.DllEntryPoint.entry([B)I
2020-06-05 09:10:10.654+0200 [L: ERROR] [O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] ====================================================================
2020-06-05 09:10:10.654+0200 [L: WARN] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] Shutting down the Platform.

 

Error Log

2020-06-05 09:10:10.654+0200 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] **********LICENSING ERROR ANALYSIS
2020-06-05 09:10:10.654+0200 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] \webapps\Thingworx\WEB-INF\extensions is listed as a java.library.path but it does not exist. No flx dll files found. Is the java.library.path set?
2020-06-05 09:10:10.654+0200 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] **********END LICENSING ERROR ANALYIS
2020-06-05 09:10:10.654+0200 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] ====================================================================
2020-06-05 09:10:10.654+0200 [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 : com.flexnet.licensing.DllEntryPoint.entry([B)I
2020-06-05 09:10:10.654+0200 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: main] ========

 

A new license was placed in the respective folder, and named "license_capability_response.bin". C:\Program Files (x86)\ThingWorxFoundation-8.5.3\ThingworxPlatform

 

System is running Tomcat 9.0.29. Path Variable to the Tomcat extensions folder has been set. C:\Program Files (x86)\ThingWorxFoundation-8.5.3\tomcat\apache-tomcat-9.0.29\webapps\Thingworx\WEB-INF\extensions\

 

We tried restarting Foundation via Task Manager, it runs for about 15 seconds and goes back to Stopped. It has been tried to shutdown and startup tomcat manually via the respective .bat files.

We are Running Windows Server 2012 R2.

 

Thanks for your help or any ideas.

ACCEPTED SOLUTION

Accepted Solutions
slangley
23-Emerald II
(To:GFX)

Hi @GFX.

 

It looks like the java settings for Tomcat changed.  Navigate to the <tomcat_home>\bin folder in a command prompt, then run this command:

 

tomcat9w //ES//<ThingWorx Foundation Service Name>

              e.g. tomcat9w //ES//ThingWorx-Foundation

 

Select the java tab, click in the Java Options field then press {ctrl-A} followed by {ctrl-C} which will select then copy the contents of that field.  Please paste it in a reply to this post so we can review your settings.

 

Regards.

 

--Sharon

 

View solution in original post

3 REPLIES 3
slangley
23-Emerald II
(To:GFX)

Hi @GFX.

 

It looks like the java settings for Tomcat changed.  Navigate to the <tomcat_home>\bin folder in a command prompt, then run this command:

 

tomcat9w //ES//<ThingWorx Foundation Service Name>

              e.g. tomcat9w //ES//ThingWorx-Foundation

 

Select the java tab, click in the Java Options field then press {ctrl-A} followed by {ctrl-C} which will select then copy the contents of that field.  Please paste it in a reply to this post so we can review your settings.

 

Regards.

 

--Sharon

 

GFX
3-Newcomer
3-Newcomer
(To:slangley)

Hi Sharon,

 

this was the nudge in the right direction I needed. What solved it: 

In the Java Options, the path 

-Djava.library.path=\webapps\Thingworx\WEB-INF\extensions
Was the mischief, changed it to:
-Djava.library.path=C:\Program Files (x86)\ThingWorxFoundation-8.5.3\tomcat\apache-tomcat-9.0.29\webapps\Thingworx\WEB-INF\extensions
 
Which is working perfectly. Thanks a lot 
slangley
23-Emerald II
(To:slangley)

Hi @GFX.

 

My pleasure!

 

Thank you for participating in our community.

 

Regards.

 

--Sharon

Announcements


Top Tags